Jump to content

New Installation of Apache and php5


Recommended Posts

Got a new pc running windows7,  Installed Apache 2.2.18 and PHP 5.2.17

 

Apache starts

 

When modifying httpd.conf to add this line..

 

LoadModule php5_module c:/php5/php5apache2_2.dll

 

and then reboot, apache won't start.

 

Any idea what I'm doing wrong?  Any help will be greatly appreciated

Link to comment
Share on other sites

I'm a novice at this so be patient please.

 

Here the name of zip file I used

 

php-5.2.17-nts-Win32-VC6-x86

 

I thought about getting 5.3 but worried about some hosting servers not being up to date with latest version.  Would that be an issue?  If not, I'll try 5.3

Link to comment
Share on other sites

php-5.2.17-nts-Win32-VC6-x86

 

If you get the Apache binaries from apache.org, they are compiled with the VC6 compiler and the correct php binary would be the VC6 flavors. However, you are attempting to use php as an apache module and you would need to use the thread-safe php binary (nts = not thread safe.)

 

The latest php5.3 binaries only come complied with the VC9 compiler and are not compatible with the apache binary from apache.org. However, you can get apache compiled with the VC9 compiler from this link - http://www.apachelounge.com/

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.