[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] How to tell version of PHP on RAQ4R?



Hi Todd,

> Subject says it all :)

Create a file with the name test.php (the name is irrelevant, but must have 
the extension .php) and upload it to a PHP enabled website on your server.

The file should have the following line in it:

<? phpinfo(); ?>

Then load the page in your browser and it'll show you all you need to know 
about PHP. Version, compile options, runtime options and so on.

If you know that nobody manually compiled PHP on your server and that 
everything PHP related was always installed as PKG or RPM, then you can find 
out this way from the within telnet or SSH:

rpm -qa|grep php

That will return the name and version of the installed PHP RPM file.

-- 

With best regards,

Michael Stauber
mstauber@xxxxxxxxxxxxxx
Unix/Linux Support Engineer