Try using phpinfo().
http://us2.php.net/manual/en/function.phpinfo.php
In particular you want to pay attention to the $_SERVER variables
(search for PHP Variables in the phpinfo() output).
Shaunak Kashyap
Senior Web Developer
WPT Enterprises, Inc.
5700 Wilshire Blvd., Suite 350
Los Angeles, CA 90036
Direct: 323.330.9870
Main: 323.330.9900
www.worldpokertour.com
Confidentiality Notice: This e-mail transmission (and/or the
attachments accompanying) it may contain confidential information
belonging to the sender which is protected. The information is intended
only for the use of the intended recipient. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or taking of any action in reliance on the contents of this
information is prohibited. If you have received this transmission in
error, please notify the sender by reply e-mail and destroy all copies
of this transmission.
-Original Message-
From: Bronislav Klucka [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 28, 2006 10:08 AM
To: php-general@lists.php.net
Subject: [PHP] PHP installation determination
Hi,
I'm using 2 copies of PHP
1/ on local computer for developing
2/ on web server regular running webs
Is there any way to determine what PHP i'm using? Where am I?. Can I
somehow define my own constant in php.ini?
Brona
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php