Page 1 of 1

blank PHP Page

Posted: Mon Aug 29, 2005 8:58 pm
by jellyfish
I installed PHP on my test server at home and I can't seem to get PHP to work.

I'm trying:

Code: Select all

<?php phpinfo() ?>[code]

It gives a blank page.

I used: php-4.4.0-installer.exe to install it.

It's running on Windows 2003 enterprise edition (& SP1) with IIS 6.0.

I did most of the stuff in the installation instructions.

should I post up my PHP.ini file?

[EDIT]

OK now it's all pages (including .htm) that are displaying this way! 

[color=#888888][size=85]Archived topic from Iceteks,  old topic ID:3605, old post ID:29367[/size][/color]

blank PHP Page

Posted: Mon Aug 29, 2005 11:17 pm
by Red Squirrel
Hmm never bothered with php and windows. Never got it working. Especially not with IIS. (I hope this is not a public server :o )

But try <?php phpinfo(); ?>

Also look for a line in php.ini about "report errors" since by default it's off which is a pain since you can't see errors, but it's a security feature so people can't see server paths and stuff, which is lethal on a windows based server running IIS (though most exploits won't NEED the paths, it's just easier)

Archived topic from Iceteks, old topic ID:3605, old post ID:29372

blank PHP Page

Posted: Mon Aug 29, 2005 11:29 pm
by jellyfish
still not working, infact now I can't view anything on my server even .htm pages.

the server isn't public, it's just for testing things out before I upload them to another server on the net.

in my defence: I need IIS running for my University work (nearly all of my computing modules are Windows based!).

I can get php working easily on IIS 5 but not IIS 6. (it's not a major deal if I can't get php working as I have external webspace).

Archived topic from Iceteks, old topic ID:3605, old post ID:29375

blank PHP Page

Posted: Mon Aug 29, 2005 11:42 pm
by Red Squirrel
Yeah for php I'd get apache / linux, or at least apache for windows. I never even knew it was possible to get php for IIS.

Archived topic from Iceteks, old topic ID:3605, old post ID:29376

blank PHP Page

Posted: Tue Aug 30, 2005 12:07 am
by jellyfish
I just uninstalled PHP...IIS is flimsy, it uses any excuse it can to go down...

Archived topic from Iceteks, old topic ID:3605, old post ID:29378

blank PHP Page

Posted: Tue Aug 30, 2005 11:52 am
by Red Squirrel
True :lol:

Archived topic from Iceteks, old topic ID:3605, old post ID:29381