Jump to content

php.ini won't update


Recommended Posts

I am utterly confused. I cannot get php.info to update. I am running php5.2, apache 2.2.3 and mysql 5.0 on Windows XP. My problem started out with me not getting mysql to load after changing my extensions folder and uncommenting mysql. I thought I was doing something wrong here, but then I noticed something fishy when I saw that the extension folder path didn't update:
I changed the path like this:

extension_dir = "C:\php\ext"

But when I run <?phpinfo()?> I get the same old thing: Under the extensions_dir Local and Master Values it says C:\php5, the original setting.

Then I tried changing other values within the php.ini file, but to no avail. I've been mucking about with different settings, restarting the server each time to see if they've worked, but I can't come up with anything and I can't find any documentation as to my problem. I'm tired.

The lines I've added to the httpd.conf file are as follows:
LoadModule php5_module "C:\php\php5apache2_2.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php .html
PHPIniDir "C:\php\"

I successfully installed all three of these on my laptop with php5.1.6 and apache 2.0.59 about a month ago. Now I could start over or drop back to these versions, but I haven't read about any such instabilities in 5.2. Moreover, I like to get things figured out. I'm sure I'm just make some silly mistake somewhere, but can't see it.

Any help would be appreciated. Need anymore info, let me know. Thanks a bunch.
Link to comment
https://forums.phpfreaks.com/topic/31183-phpini-wont-update/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.