How to figure which PHP version is actually used?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
zitrone
Forum Members
Forum Members
Posts: 15
Joined: Fri Jul 28, 2006 3:31 pm

How to figure which PHP version is actually used?

Post by zitrone »

Hi,

I use CMSMS 1.0.2 Maui, upgraded from 0.13. How can I figure, which php version is actually used?


Do I have to ask my ISP or can I run some simple php script?

In the requirements for installation of Maui 1.0.2 it says 4.3+ . So, does it maybe take automatically the highest possible? Or did it possibly stay with the old version used for 0.13?

Thanks!  :)
cyberman

Re: How to figure which PHP version is actually used?

Post by cyberman »

zitrone wrote: or can I run some simple php script?
Very simple - put phpinfo() inside this script  ;) ...
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: How to figure which PHP version is actually used?

Post by Dee »

You could even put it in a UDT as described here.
BTW: phpinfo outputs lots of PHP information. phpversion() will give you only the PHP version number.
zitrone
Forum Members
Forum Members
Posts: 15
Joined: Fri Jul 28, 2006 3:31 pm

Re: How to figure which PHP version is actually used?

Post by zitrone »

Hi dee and cyberman,

thank you very much! That was indeed very easy. :)
Post Reply

Return to “CMSMS Core”