Check php.ini file for syntax errors in Linux/Windows

No matter which platform you are using (Linux/Windows), to test php.ini, you simply use

php -v

and it will use current PHP config and see if it can show the version.  If your php.ini has error, it will also display.

Hope it helps someone.


Popular posts from this blog

TCPDF How to show/display Chinese Character?

Using wget bypass htaccess username password 401 authorization

Wordpress Load balancing: 2 web servers 1 MySQL without any Cloud services