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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.