Apache - PHP installation problem

[email protected] (Naftali Ben-Ami)
Newsgroups php.install
Message-ID <[email protected]>
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"

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.