Hello,
I am currently working on a project to develop a web database application in PHP.
I have just installed Apache 2.2.4 and php_5.2.2 on my laptop that runs
Windows xp Home Edition. I used the msi installer for each and I edited
httpd.conf to use:
I tested php using a simple script, hello.php:
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php phpinfo(); ?>
</body>
</html>
I saved it in htdocs as DocumentRoot is set to "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
In the php.ini file the short_open_tag = On
I run Apache tomcat and the browser address I use to run hello.php http://localhost:8080/hello.php
I also added the following lines to the Apache httpd.conf file
PHPIniDir "C:/Program Files/PHP"
LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
The problem is the php page is blank so the configuration must be wrong but I don't know what
is wrong. Please help me.
S