Snippets tagged “php-ini”
9 snippets use this tag.
- How to check where Apache is looking for a php.ini file?PHP
You can check where Apache is looking for the php.ini file by running the command php --ini in the command line.
- How to Display PHP ErrorsPHP
Often errors occur while executing a PHP application. Read this snippet to learn how to overcome difficulties and display such errors with the help of PHP.
- How to Log Errors and Warnings in a File with PHPPHP
With the help of this snippet, you can learn how to log errors and warnings in a file in PHP. Go ahead and check out the examples.
- How to Resolve the Fatal error: Maximum Execution time of 30 seconds exceeded in PHPPHP
In this tutorial, we will show you handy solutions to implement once you encounter the fatal error: maximum execution time of 30 seconds exceeded in PHP.
- PHP CLI won't log errorsPHP
There are a few things that can cause errors to not be logged when running PHP from the command line interface (CLI).
- PHP ini file_get_contents external urlPHP
To use the file_get_contents function to retrieve the contents of an external URL in PHP, you will first need to ensure that the allow_url_fopen directive is enabled in your php.ini file.
- PHP-FPM doesn't write to error logPHP
There are a few things you can try to troubleshoot this issue:
- The openssl extension is required for SSL/TLS protectionPHP
The openssl extension in PHP is required to provide SSL/TLS support.
- Where Does PHP Store Error LogPHP
In this short tutorial, we are going to represent to you how to find where the PHP error log is located.