blank PHP Page

Computer builds, hardware and software discussion or troubleshooting, including peripherals. Essentially a general place to talk about desktop computers.
Locked
jellyfish
Posts: 129
Joined: Sat Jan 22, 2005 9:40 pm

blank PHP Page

Post 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]
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

blank PHP Page

Post 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
Honk if you love Jesus, text if you want to meet Him!
jellyfish
Posts: 129
Joined: Sat Jan 22, 2005 9:40 pm

blank PHP Page

Post 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
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

blank PHP Page

Post 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
Honk if you love Jesus, text if you want to meet Him!
jellyfish
Posts: 129
Joined: Sat Jan 22, 2005 9:40 pm

blank PHP Page

Post 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
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

blank PHP Page

Post by Red Squirrel »

True :lol:

Archived topic from Iceteks, old topic ID:3605, old post ID:29381
Honk if you love Jesus, text if you want to meet Him!
Locked