Pre-recorded question

Question #203
How to get my PHP version?
Answer

Command line : the command php -v displays the current PHP version.


PHP function : the PHP function phpversion() returns a string with the current PHP version.


PHP info : the PHP function phpinfo() outputs information about PHP's configuration and versions.

3 events in history
Answer by Alphonsio 09/23/2020 at 05:14:26 PM

Command line : the command php -v displays the current PHP version.


PHP function : the PHP function phpversion() returns a string with the current PHP version.


PHP info : the PHP function phpinfo() outputs information about PHP's configuration and versions.

Answer by Alphonsio 09/23/2020 at 05:10:41 PM

Command line : the following command displays the current PHP version :

$ php -v


PHP function : the PHP function phpversion() returns a string with the current version.


PHP info : the PHP function phpinfo() outputs information about PHP's configuration and versions.

Question by Alphonsio 09/23/2020 at 05:05:48 PM
How to get my PHP version?
# ID Query URL Count

Icons proudly provided by Friconix.