Problem with XP Apachi and PHP install
| From: | Alon Solell | Date: | Thu, 17 Apr 2003 10:50:26 +0000 |
| Subject: | Problem with XP Apachi and PHP install | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10654@lists.php.net to get a copy of this message | ||
Simple install is not working for me.
System credentials:
P4 1.5Ghz
RAM 256MB
30GB of Free HD Space
WinXP Professional
I just d/l Apachi, PHP and mySQL
I installed Apachi and tested it with the 'test configuration' utility and it is producing
'Syntax OK' msg.
PHP is set to c:\php
I copied:
php4apache.dll
php4isapi.dll
php4ts.dll
php.ini
to: C:\WINDOWS\system32
Here is a part of the httpd.conf of Apachi (I included few lines from above and below the code so
you can tell where it is located in the file). I made two separate entry locations:
HERE IS THE FIRST LOCATION:
AddModule mod_so.c
AddModule mod_setenvif.c
#ALON SOLELL
LoadModule php4_module C:\WINDOWS\system32\php4apache.dll
#
# ExtendedStatus controls whether Apache will generate "full" status
# information (ExtendedStatus On) or just basic information (ExtendedStatus
# Off) when the "server-status" handler is called. The default is Off.
#
#ExtendedStatus On
HERE IS THE SECOND LOCATION:
#
# To use server-parsed HTML files
#
#AddType text/html .shtml
#AddHandler server-parsed .shtml
# ALON SOLELL
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
#
# Uncomment the following line to enable Apache's send-asis HTTP file
# feature
#
#AddHandler send-as-is asis
The problem that I encounter is:
http://localhost/0info.php
is producing the acutal code:
<?php
phpinfo();
?>and does not show the PHP Credentials.
I have not made any changes to php.in as of yet.
I'm lost on anything beyond that. Please help me to get this thing going.
Thanks,
-Alon.