#41617 [Asn->Csd]: Installer adds extra extension lines in php.ini
| From: | jmertic@php.net | Date: | Mon, 11 Jun 2007 15:56:14 +0000 |
| Subject: | #41617 [Asn->Csd]: Installer adds extra extension lines in php.ini | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-113649@lists.php.net to get a copy of this message | ||
ID: 41617
Updated by: jmertic@php.net
Reported By: grant at cnwtech dot ca
-Status: Assigned
+Status: Closed
Bug Type: *General Issues
Operating System: Win XP SP2 latest 20070606
PHP Version: 5.2.3
Assigned To: jmertic
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2007-06-11 15:14:11] jmertic@php.net
I'll remove the top section of extensions to avoid confusion.
------------------------------------------------------------------------
[2007-06-11 14:56:33] sniper@php.net
John, considering the last comment above, this is for you.. :)
------------------------------------------------------------------------
[2007-06-08 03:14:47] grant at cnwtech dot ca
Tony... thanks for your response.
Well... I solved the problem.
Apparently, when you install PHP v5.2.1 or v5.2.3 and select to install
the EXTENSIONS, it not only copies the files onto your computer, but it
also adds statements at the end of the PHP.INI file to LOAD them. I
was not aware of this... and thought that the earlier commented
extensions listed in the PHP.INI file had to be MANUALLY controlled and
set by the user. So when I uncommented the extension php_mysql.dll
line... I thought I was enabling it... but in fact it was already
enabled. How did I find this out?
I went to COMMAND PROMPT and typed php.exe command... ERROR MESSAGES
stating that the extensions had already been loaded... FINALLY! I still
don't know why the log file and Windows SYSTEM LOG event log did not
show details... perhaps a coding oversight?
I am not sure how this should be fixed with PHP... information in GUI
installation stating selected extensions will be installed and LOADED
(at end of PHP.INI file, not the earlier commented lines)? Or perhaps
end user education and understanding?
For me... my opinion is...
Why would you have TWO places within the same PHP.INI file to control
loading EXTENSIONS... seems redundant and confusing to me...
installation should just UNCOMMENT the specific extensions code in the
middle of the PHP.INI file.
Thoughts?
------------------------------------------------------------------------
[2007-06-07 07:47:09] tony2001@php.net
Please remove everything and try installing PHP from zip package.
The fact that 5.2.1 did work before and it doesn't work anymore most
likely means you did something terribly wrong, probably some mess with
the libs.
>Win32 backtrace required?
Sure, if you have any.
------------------------------------------------------------------------
[2007-06-07 03:04:34] grant at cnwtech dot ca
Forgot to mention... IE7 reports IIS 500 error when script fails.
I also see recent post where user hadsame problem and resolved by
installing PHP, enabling php_mysql.dll and php_mysqli.dlls, and then
installing MySQL. I will try this and see if it resolves the problem.
...Grant
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/41617
--
Edit this bug report at http://bugs.php.net/?id=41617&edit=1