PHP: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 18: | Line 18: | ||
== Version == | == Version == | ||
See: [[Software Versions]] to check the installed version. | See: [[Software Versions]] to check the installed version. | ||
You can also run the below at the command line to check the php version: | |||
<code>php -v</code> | |||
Revision as of 18:21, 20 January 2017
PHP.ini
php.ini is the configuration file for PHP.
Q: Where is php.ini?
A: Beats me, the @#%&*$ thing could be anywhere. On top of that, each site/folder can have a php.ini that overrides the global settings for that site/folder.
Easy Apache 3 PHP.ini location:
/usr/local/lib/php.ini
Easy Apache 4 php.ini location:
¯\_(ツ)_/¯
In WHM:
Home >> Software >> MultiPHP INI Editor
Version
See: Software Versions to check the installed version.
You can also run the below at the command line to check the php version:
php -v