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
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.
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.
Comments