Questions tagged [php-fastcgi]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

Pagespeed caching logged pages

Currently I am using the following combination: Nginx with the Pagespeed module for static pages and the fastcgi_cache for dynamic page caching ... But I get the feeling that pagespeed is generating ...
1
vote
0answers
74 views

PHP FastCGI reading php flags from .htaccess? How?

I'm doing some changes on a website hosted on a managed dedicated server from Hetzner and I found that somehow some php flags set in .htaccess are passed to PHP running as fastCGI. As far as I was ...
0
votes
1answer
169 views

Multiple Projects under single Domain Nginx

I have two projects with the different path locations that need to be configured under a single domain with separate upstream PHP 7.1 and HHVM. I am trying to achieve the goal with nginx alias ...
0
votes
1answer
3k views

Setting up php7.0-fpm + Apache and multi-user pools: Only 1 site works

I am using Ubuntu 16.04, Apache 2.4.29 and php7.0-fpm. I am trying to create separate pools for multiple users and websites, so that they run under a separate user and each site is protected in case ...
1
vote
1answer
582 views

Routing to subdirectory as new route with nGinx

Here is my current server block (below). I have a separate wordpress blog installed on /blog and need to route /blog to the directory "/home/forge/example.com/public/blog". I've tried a few options ...
2
votes
1answer
817 views

nginx logs php-fpm's stderr output cut off at seemingly random positions

Ever since I started using a PHP library that produces a long call chain it's been increasingly difficult to debug issues caused by it because my error logs end up containing output like this: (some ...
0
votes
1answer
243 views

How compile PHP modules/extensions from source

I have set-up multiple PHP versions on single apache ubuntu instance using below tutorial. https://gist.github.com/jbinfo/d297fcfdb151e25a299c Both PHP versions working fine but php-geoip and ...
0
votes
0answers
604 views

Stylesheets not loading on Apache2.4 with PHP 5.6 on FastCGI

I have Googled my heart out looking for an answer to this but cannot find one! I know it seems like a Stack Overflow sort of question but I didn't have these problems before I ran it through fastCGI ...
4
votes
1answer
1k views

Nginx Downloads PHP instead of Rendering

I'm trying to move a Wordpress site to Nginx from Apache. When I go to the main site, it renders as expected. When I click on a post, it tries to download index.php instead of processing/rendering it. ...
4
votes
1answer
1k views

Nginx fastcgi_cache_valid vs fastcgi_cache_path's inactive

If I've config fastcgi_cache_path /opt/nginx levels=1:2 keys_zone=TEST:100m inactive=40m; .. fastcgi_ignore_headers Cache-Control Expires Set-Cookie; fastcgi_cache_valid 30m; How long will my cache ...
0
votes
2answers
1k views

php-fastcgi status: “No input file specified”

# grep pm.status_path /etc/php5/fpm/pool.d/www.conf pm.status_path = /fcgi-status nginx config: location ~ ^/(fcgi-status|ping)$ { access_log off; allow 127.0.0.1; deny all; ...