New answers tagged

0

Yes, suPHP is a powerful PHP tool developed to execute PHP scripts, allowing to set up and correct permissions and ownership of your files and folders as a script owner with complete protection on web servers and building accessibility.


0

Original reply Use different caches fastcgi_cache_path /dev/shm/c1 levels=1:2 keys_zone=C1:50m inactive=1440m; fastcgi_cache_path /dev/shm/c2 levels=1:2 keys_zone=C2:50m inactive=500m; fastcgi_cache_path /dev/shm/c3 levels=1:2 keys_zone=C2:50m inactive=10m; # absolute path location = /path/to/resource { fastcgi_cache C1; # etc } # regular expression ...


0

try the short 8.3 filename. Using a command prompt, navigate to location where your executable is and use the following command: dir /x That will give you the long and short path name. The short path name should have no spaces. Check if that works out for you.


0

When using chroot for PHP-FPM, you have to define SCRIPT_FILENAME relative to the chroot environment. SCRIPT_FILENAME tells PHP-FPM where to find your script. For example, if your web site index page is in /var/www/index.php, and your chroot is set to /var/www, the SCRIPT_FILENAME has to be /index.php instead of /var/www/index.php, which is the default ...


1

The first block works for me (with or without trailing slash), so there may be another conflicting location in your configuration which prevents one variant from working. The second block is not capturing the leading '/' of the URI so the test if (!-f $document_root$fastcgi_script_name) always fails. I presume that your php-fpm configuration must already ...


0

I've managed to configure it in a PHP5-CGI & mod_fcgid setup and it kind of does what I need. It does not send everything to the client as it was generated by PHP automatically, but the flush() command started to work. The TTFB times dropped a bit. I'll keep working on that and update this answer if I find out anything useful. I've used the following ...



Top 50 recent answers are included