really dumb question i know

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

really dumb question i know

Post by malcolmboston »

really dumb question i know but how the hell do i find out if my PHP is CGi or an apache module i cant find anything pointing me in the right direction

mal
User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

Post by phice »

Code: Select all

<?php php_self(); ?>
...should give you the information.
Image Image
reverend_ink
Forum Contributor
Posts: 151
Joined: Sun Apr 20, 2003 1:18 am
Location: Las Vegas | London

Post by reverend_ink »

I have always used

Code: Select all

<?php phpinfo(); ?>
d3ad1ysp0rk
Forum Donator
Posts: 1661
Joined: Mon Oct 20, 2003 8:31 pm
Location: Maine, USA

Post by d3ad1ysp0rk »

phice wrote:

Code: Select all

<?php php_self(); ?>
...should give you the information.
Fatal error: Call to undefined function: php_self() in C:\Documents and Settings\Administrator\Desktop\Server\selftest.php on line 1
;)

Must've meant phpinfo(); :D
User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

Post by phice »

It's been a little while since I've needed to use it ;)
Image Image
qads
DevNet Resident
Posts: 1199
Joined: Tue Apr 23, 2002 10:02 am
Location: Brisbane

Post by qads »

:lol:
Post Reply