Page 1 of 1

php5apache2_2.dll giving blank pages

Posted: Sat Apr 14, 2007 11:14 am
by benyboi
Ok, i have the window binary zip version of php5

i then add this into the apache 2.2.4 conf file:

Code: Select all

PHPIniDir "C:\\Program Files\\PHP\\" 
LoadModule php5_module "C:\\Program Files\\PHP\\php5apache2_2.dll" 
AddType application/x-httpd-php .php
Thats all i have done to set up php.

But when i goto a php page, it comes back empty.

Any ideas?

Thanks!

Posted: Sat Apr 14, 2007 12:00 pm
by volka
What does

Code: Select all

<html>
	<head>
		<title>php test</title>
	</head>
	<body>
		<p>time: <?php echo date('H:i:s'); ?></p>
	</body>
</html>
print? Again a blank page?

It's either \ or / but not \\ in the php.ini. I suggest using / regardless of the OS.

Posted: Sat Apr 14, 2007 12:22 pm
by guitarlvr
check out this article from Apache Lounge. I have installed PHP on numorous windows systems and this has seemed to work every time.

Wayne