Jump to content

Recommended Posts

I am having trouble configuring PHP on my Windows 2003 32-bit Server box. I'm using Apache 2.2.9 and PHP 5.2.6 and their Win32 installers. I've uninstalled and re-installed PHP and Apache several times in addition to restarting the box and Apache. I managed to get PHP running once, but it wouldn't load any extensions (and I need mysql).

 

Here are the config files:

httpd.conf

pnp.ini

 

Any advice will be appreciated.

Yes, I realize it is misspelled, but I do not see an edit link.

 

I got it working now, but phpinfo(); is saying that my extension_dir is C:\php5 when it is supposed to be C:\php. Typing "extension_dir "C:\php\ext"" into httpd.conf and saving has no effect.

The php .msi installer is bad news. Every person who uses it does not get the expected results. I don't think there is any specific documentation, but I believe I saw that it expects you to use the Windows control panel add/remove to enable extensions.

 

As a general rule, you should not be putting php settings into the httpd.conf file. I believe your current problem is that the php.ini that you are changing is not the one that php is using.

 

To get to the point where you have a working system and the php.ini you are changing is getting used, I recommend using the full php .zip package and install this yourself. The following thread contains a concise list of instructions on installing apache/php - http://www.phpfreaks.com/forums/index.php/topic,189883.0.html

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.