Help needed configuring PHP 5 with Apache

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
kb101
Forum Newbie
Posts: 7
Joined: Thu Jul 30, 2009 12:29 am

Help needed configuring PHP 5 with Apache

Post by kb101 »

Hello
I installed Apache server ver 2.2 and it installed sucessfully on the windows Xp system.I downloaded PHP and installed it.I was following the resource at

http://www.thesitewizard.com/php/instal ... dows.shtml

to configure PHP with Apache.

The URL i mentioned above says to add the following line in httpd file of Apache.

If you are using Apache 2.2.x, add the following line instead:
LoadModule php5_module "c:/php/php5apache2_2.dll"



I get the following error if i restart the server after adding the above line

cant locate api module structure 'php_module' in file 'c:/program file/php/php5.dll'

Now my php is installed at C:\Program Files\PHP and also i dont have any file named
php5apache2_2.dll,which is mentioned in italic in above and the file i have is "php5.dll"

and i m stuck in configuring PHP with Apache.Any help in this matter is really appreciated.Thanks
marty pain
Forum Contributor
Posts: 105
Joined: Thu Jun 11, 2009 5:32 am
Location: Essex

Re: Help needed configuring PHP 5 with Apache

Post by marty pain »

I take it you installed PHP manually. To be honest, as you are installing it on windows I would just download and use the PHP installer from PHP.net. That will ask you what web server you are using and just sort it out for you.

If you want it keep going manually, search your PC for the php5apache2_2.dll to see if it is present. Check the original zip file you downloaded too. If you don't have it, go to php.net and either download the manual set-up file as it should be in there, then you can copy and paste it in to the location where Apache is looking.

Try out one of these and let us know what happens.
kb101
Forum Newbie
Posts: 7
Joined: Thu Jul 30, 2009 12:29 am

Re: Help needed configuring PHP 5 with Apache

Post by kb101 »

When i go to apache website i get 404 error file not found when i try to download the latest version of Apache.

Currently i have apache version 2.0.63 and and i have downloaded the following PHP

VC6 x86 Non Thread Safe (PHP 5.3 (5.3.0))
from the website http://windows.php.net/download/

I started following this tutorial

http://www.arterground.com/

and after following the steps when i restart the Apache server it gives and error and remain stopped.

Can you tell me which version of PHP can be configured with what version of Apache and how.Thanks
kb101
Forum Newbie
Posts: 7
Joined: Thu Jul 30, 2009 12:29 am

Re: Help needed configuring PHP 5 with Apache

Post by kb101 »

Who to report to this website is not having any available download for Apache.

http://httpd.apache.org/

Whats going on.Did no body need apache no more.
kb101
Forum Newbie
Posts: 7
Joined: Thu Jul 30, 2009 12:29 am

Re: Help needed configuring PHP 5 with Apache

Post by kb101 »

Any body tell me any other resource to download apache 2.2.x.Thanks
kb101
Forum Newbie
Posts: 7
Joined: Thu Jul 30, 2009 12:29 am

Re: Help needed configuring PHP 5 with Apache

Post by kb101 »

Download Apache2.2
: http://apache.mirror.rbftpnetworks.com/ ... ies/win32/
Download the package titled apache_2.2.11-win32-x86-no_ssl.msi
marty pain
Forum Contributor
Posts: 105
Joined: Thu Jun 11, 2009 5:32 am
Location: Essex

Re: Help needed configuring PHP 5 with Apache

Post by marty pain »

Are you using windows Vista?
kb101
Forum Newbie
Posts: 7
Joined: Thu Jul 30, 2009 12:29 am

Re: Help needed configuring PHP 5 with Apache

Post by kb101 »

I am using Windows Xp Sp2
kb101
Forum Newbie
Posts: 7
Joined: Thu Jul 30, 2009 12:29 am

Re: Help needed configuring PHP 5 with Apache

Post by kb101 »

I have figured out and PHP test page working on my system

Here are my current software configurations

Windows Xp Sp2
PHP 5.3.0
Apache 2.2.x



Please follow this tutorial

http://www.arterground.com/

:arrow: :bow:
Post Reply