Posted by allan on 03/15/07 13:22
I have installed apache 2.2, PHP 5.21 and I get blank pages back when I
go to run a test script. I do not see any PHP code in the resulting
source code.
Any thought son where I whent wrong.
Apache installed in c:/apache2
PHP installed via msi in c:/php
Changes I made to httpd.conf
PHPIniDir "c:\\PHP\\"
LoadModule php5_module "C:\\PHP\\php5apache2_2.dll"
AddType application/c-httpd-php .php
AddType application/c-httpd-php-source .phps
ServerRoot "C:/apache2"
DocumentRoot "C:/apache2/htdocs"
Changes in PHP.ini
doc_root ="C:\apache2\htdocs"
extentions_dir ="C:\PHP\ext"
test script is
<html>
<head></head>
<body>
hello
<?php phpinfo();?>
</body>
</html>
Result source code returned
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html;
charset=windows-1252"></HEAD>
<BODY></BODY></HTML>
Any help would be most appreciated.
Cheers
Allan
[Back to original message]
|