php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43393 MySQL Extensions selected during install aren't properly referenced in php.ini
Submitted: 2007-11-23 19:43 UTC Modified: 2008-08-22 18:19 UTC
Votes:5
Avg. Score:4.6 ± 0.8
Reproduced:3 of 3 (100.0%)
Same Version:3 (100.0%)
Same OS:3 (100.0%)
From: kleinjames at yahoo dot com Assigned: jmertic (profile)
Status: No Feedback Package: Windows Installer
PHP Version: 5.2.5 OS: Windows 2003
Private report: No CVE-ID: None
 [2007-11-23 19:43 UTC] kleinjames at yahoo dot com
Description:
------------
Install php 5.2.5 on windows 2003 with iis.  Under custom installation, select "mysql" and "mysqli" extensions.  Let IIS finish.  Fix the previous bug I just reported so IIS will display php pages.  Run phpinfo().  NO mysql extensions are listed.  PHP ini shows them, but no mysql extensions are listed in the phpinfo() output.  Tried other extensions during install, they're all doing the same thing.

If someone selects an extension to add during installation, don't you think the installation should properly add the extension?


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-11-24 12:02 UTC] jani@php.net
Another installer issue..
 [2007-11-25 06:22 UTC] jmertic@php.net
Could you run it in verbose logging mode and e-mail the log file to jmertic@php.net? To run
in verbose logging mode issue the below command from the command prompt
( from the same directory where the install exists ):

msiexec /i php-5.2.0-win32-installer.msi /l*v error.log

Also, please send me the output of running php.exe -m from the command line.
 [2007-11-27 19:49 UTC] kleinjames at yahoo dot com
run both later tonight and let you know what happens.  Keep in mind, this issue has been tested only on Windows 2003.
 [2007-11-27 20:32 UTC] kleinjames at yahoo dot com
In the mean time, I have a piece of advise for you:

Relook at bug # 43394.  Before calling the bug bogus and making yourself look bad by saying "I've tested this personally on WinXP", try reproducing the problem on windows 2003.  I ran 5.2.5 on a dozen windows 2003 servers with different hardware, different configurations.  ALL suffer the same problem described in that bug.  If you read the full bug form, Windows 2003 is listed as the OS, not windows xp.  If something works in windows xp, doesn't mean that same program works in windows 2003.  You are right though, the problem doesn't occur in windows xp, but I never did report the bug as a windows xp bug.
 [2007-11-28 15:35 UTC] jmertic@php.net
In fixing the other bug you mention, I did an install on WinXP and Win 2003 with mysql and mysqli and both showed up in phpinfo(). Can you verify them being listed in the php.ini file and in the ext directory in the installation directory?
 [2007-11-29 06:11 UTC] kleinjames at yahoo dot com
I used the following msi file downloaded from the location mentioned above:
php5.2-win32-installer-200711272130.msi

Still has the bad dll reference.  In theory, the short notation should work, but for some reason doesn't.
 [2007-12-03 12:42 UTC] jmertic@php.net
Try a newer installer snapshot; that one would have predated the fix I put in.
 [2007-12-04 03:36 UTC] kleinjames at yahoo dot com
Sent a video showing installing php, running phpinfo() and showing the outcome of php.exe -m.

Should help show what either I am doing wrong or the installer is doing wrong.
 [2007-12-10 16:15 UTC] rt at interlogic dot com dot ua
I had the same problem when install php_5.2.5 from zip package on WinXP with apache2. I have to say, that I have installed php with apache and MySQL a couple of times before and it wasn't new for me, but... This time php doesn't work with any extention.

Only one thing let my installation to work. I have added path to my php installation folder to system variable 'Path'. This process is covered in manual http://www.php.net/manual/en/faq.installation.php#faq.installation.addtopath
 [2007-12-17 16:38 UTC] jmertic@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 22:01:27 2024 UTC