Hi,
I installed Apache 2.2.16 as web server on Windows XP SP3 and PHP/5.3.3
Apache server starts fine, and following PHP installation and update of httpd.conf with
<IfModule dir_module>
DirectoryIndex index.php index.html
</IfModule>
# configure the path to php.ini
PHPIniDir "C:\Program Files\php"
PHPIniDir "C:\Program Files\php"
LoadModule php5_module "C:\Program Files\PHP\php5apache2_2.dll"
AddType application/x-httpd-php .php
The server starts fine and the status line shows: Apache/2.2.16 (Win32) PHP/5.3.3.
I tested PHP from the command line it seems to be OK.
The problem is that I created index.php and placed it in the server root. When I go to the browser it will show:
<?php phpinfo(); ?>
So it seems that Apache does not send the scipt to PHP.
What could be the cuase for this?
Thanks,
Naftali
- Follow-Ups:
- RE: Apache - PHP installation problem
- From: sachin.gamre
- Re: Apache - PHP installation problem
- From: Lester Caine
- RE: Apache - PHP installation problem
- Prev by Date: Problems with php install and apache2 start
- Next by Date: Re: Apache - PHP installation problem
- Previous by thread: Problems with php install and apache2 start
- Next by thread: Re: Apache - PHP installation problem
- Index(es):