You are here: PHP5.2.1, Apache, Windows 2k install problem « All PHP « IT news, forums, messages
PHP5.2.1, Apache, Windows 2k install problem

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация