Page 1 of 1

Help needed configuring PHP 5 with Apache

Posted: Thu Jul 30, 2009 12:48 am
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

Re: Help needed configuring PHP 5 with Apache

Posted: Thu Jul 30, 2009 6:11 am
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.

Re: Help needed configuring PHP 5 with Apache

Posted: Thu Jul 30, 2009 7:55 am
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

Re: Help needed configuring PHP 5 with Apache

Posted: Fri Jul 31, 2009 3:57 am
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.

Re: Help needed configuring PHP 5 with Apache

Posted: Sat Aug 01, 2009 3:49 pm
by kb101
Any body tell me any other resource to download apache 2.2.x.Thanks

Re: Help needed configuring PHP 5 with Apache

Posted: Mon Aug 03, 2009 2:06 am
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

Re: Help needed configuring PHP 5 with Apache

Posted: Mon Aug 03, 2009 3:37 am
by marty pain
Are you using windows Vista?

Re: Help needed configuring PHP 5 with Apache

Posted: Mon Aug 03, 2009 4:06 am
by kb101
I am using Windows Xp Sp2

Re: Help needed configuring PHP 5 with Apache

Posted: Mon Aug 03, 2009 4:46 am
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: