Search
 
SCRIPT & CODE EXAMPLE
 

PHP

nginx php-fpm log

cat /var/log/php7.4-fpm.log
#change php version
Comment

nginx php-fpm

#add in one or more server {} locations 

location ~ .php$ {
  try_files $uri =404;
  fastcgi_split_path_info ^(.+.php)(/.+)$;
  fastcgi_pass 127.0.0.1:9000;
  fastcgi_index index.php;
  fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_sc$
    fastcgi_buffers 256 128k;
  fastcgi_connect_timeout 300s;
  fastcgi_send_timeout 300s;
  fastcgi_read_timeout 300s;
  include fastcgi_params;
  fastcgi_param PHP_VALUE "upload_max_filesize = 256M 
 post_max_size=256M 
 max_input_vars=1000000";
}
Comment

php-fpm user nginx

/etc/php/8.1/fpm/pool.d/www.conf
Comment

PREVIOUS NEXT
Code Example
Php :: laravel update only changed fields 
Php :: app url laravel 
Php :: cut pice of text in laravel 
Php :: How do I display logged-in username IF logged-in? site:wordpress.stackexchange.com 
Php :: adjacent post sort order by post title 
Php :: You are *required* to use the date.timezone setting or t 
Php :: php foreach multidimensional array recursive 
Php :: sort relation model count yii2 
Php :: limit wordpress search to title 
Php :: laravel self 
Php :: echo placeholder image if post thumbnail not found 
Php :: exit and echo php 
Php :: log php 
Php :: Get the current script file name 
Php :: php serve a video (THE ONLY WORKING CODE) 
Php :: php check if type is mysqli_result 
Php :: require_once different on server 
Php :: latavel attach method 
Php :: php mail() 
Php :: numberformater php format to k and m 
Php :: How to get a list of registered route paths in Laravel? 
Php :: laravel how to check app env 
Php :: php catch fatal error 
Php :: How to go back to the main page in php 
Php :: month php written out 
Php :: remove field from object php 
Php :: Using $this when not in object context 
Php :: dependency injection php 
Php :: Undefined property: IlluminateDatabaseQueryBuilder::$name 
Php :: laravel relationship retrieve data 
ADD CONTENT
Topic
Content
Source link
Name
1+6 =