Page 1 of 1

really dumb question i know

Posted: Tue Mar 23, 2004 2:11 pm
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

Posted: Tue Mar 23, 2004 3:13 pm
by phice

Code: Select all

<?php php_self(); ?>
...should give you the information.

Posted: Tue Mar 23, 2004 4:53 pm
by reverend_ink
I have always used

Code: Select all

<?php phpinfo(); ?>

Posted: Tue Mar 23, 2004 6:48 pm
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

Posted: Tue Mar 23, 2004 11:47 pm
by phice
It's been a little while since I've needed to use it ;)

Posted: Wed Mar 24, 2004 5:33 pm
by qads
:lol: