Snippets tagged “php-fpm”
12 snippets use this tag.
- Call to undefined function curl_init() even it is enabled in php7PHP
The error message "Call to undefined function curl_init()" typically indicates that the cURL extension for PHP is not installed or is not enabled.
- FastCGI process exceeded configured activity timeoutPHP
FastCGI is a protocol for interfacing interactive programs with a web server.
- How to find my php-fpm.sock?PHP
To find your PHP-FPM socket file, you will need to first determine the location of your PHP installation.
- 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.
- How to set for specific directory open_basedirPHP
You can set the open_basedir configuration option in the PHP configuration file (php.ini) to specify a specific directory for the open_basedir setting.
- How to set upload_max_filesize in .htaccess?PHP
To set the upload_max_filesize directive in an .htaccess file, you can use the following code:
- Nginx serves .php files as downloads, instead of executing themPHP
There are several reasons why Nginx may serve PHP files as downloads instead of executing them.
- PHP-FPM doesn't write to error logPHP
There are a few things you can try to troubleshoot this issue:
- phpMyAdmin Error: The mbstring extension is missing. Please check your PHP configurationPHP
It looks like you are trying to use phpMyAdmin, but it is giving you an error message saying that the mbstring extension is missing.
- Prevent nginx 504 Gateway timeout using PHP set_time_limit()PHP
You can use the set_time_limit() function in PHP to increase the maximum execution time of a PHP script.
- The openssl extension is required for SSL/TLS protectionPHP
The openssl extension in PHP is required to provide SSL/TLS support.
- Where can php.ini be FoundPHP
This tutorial is dedicated to an issue that any developer may come across. It’s where to find the php.ini file. Choose among the three methods provided.