cancel
Showing results for 
Search instead for 
Did you mean: 

cgi php version

xon
Grafter
Posts: 45
Registered: ‎31-07-2007

cgi php version

Hi,
How can I find out the php version in use? I know it is 4.? but I've spent what seems like ages this morning barking up several wrong trees and am now tired of trying to find out something so simple.
Thanks for your help.
2 REPLIES 2
zubel
Community Veteran
Posts: 3,789
Thanks: 1
Registered: ‎08-06-2007

Re: cgi php version

xxxxx@cshell02:~$ php -v
PHP 4.3.10 (cgi) (built: May  6 2005 14:05:38)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
xxxxx@cshell02:~$
B.
Chris
Legend
Posts: 17,724
Thanks: 598
Fixes: 168
Registered: ‎05-04-2007

Re: cgi php version

You could also create a phpinfo file and upload it to your webspace.

To do this create a file called phpinfo.php and put this code in there
<?php
phpinfo();
?>

Save the file and upload it to your cgi space, when you browse to it you should get all the information on the platform you need.
Former Plusnet Staff member. Posts after 31st Jan 2020 are not on behalf of Plusnet.