For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > August 2004 > PHP5 - Apache - WinXP









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 PHP5 - Apache - WinXP
Bilal Shahid

2004-08-21, 8:58 am

I am trying to run PHP5 with apache Web Server 1.3 om WinXP. This is my
first experience with these kinds of products as this is not my domain.

I have installed both of the products on my machine and modified the
configuration files of both as following:

Apache - httpd.conf:

AddType application\x-httpd-php .php
LoadModule php5_module "C:\php\php5apache.dll"
SetEnv PHPRC C:\windows
AddModule mod_php5.c

PHP - php.ini:

For this I followed all steps in the Installation guide like moving php.ini
to C:\windows etc. Also the following:

doc_root = C:\apche\htdocs

Now when I give this URL in my Web Browser: http://localhost/test.php (or
http://127.0.0.1/test.php) nothing shows up; just a plain white page with
nothing on it (not even an error message). test.php is just a simple php
file.

Please let me know if I am doing anything wrong or missing a step in the
installation of either PHP or Apache. Its kinda urgent.

Thanks.
Sponsored Links







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

Copyright 2008 codecomments.com