For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > July 2006 > HELP: installing PHP 5.1.4 on Windows XP Pro with Apache 2.2









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author HELP: installing PHP 5.1.4 on Windows XP Pro with Apache 2.2
Joaquim Amado Lopes

2006-07-05, 3:56 am

Greetings.

It's been a while since I installed a new server and the documentation
doesn't seem to help.

I have a Windows XP Pro system.

Already installed the apache server and it is working.

To install PHP 5.1.4 I already:
- extracted the PHP files to a folder
- copied the file "php5ts.dll" to the "bin" folder under Apache
- copied the file "php.ini-recommended" to "php.ini" and edited the
line "include_path" to point to the PHP folder
- add the following lines to the apache "httpd.conf" file:
LoadModule php5_module "C:/Program
Files/PHP-5.1.4/php5apache.dll"
AddModule mod_php5.c
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

Now, everytime I try to start the apache server, it replies:
"Error: The requested operation has failed"

If I remove the "PHP" lines" from the httpd.conf" file, the server
starts.
Can anyone help me, please?

Thank you,
Joaquim Amado Lopes

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com