Skip to content

Tag: nginx

Laravel and Nginx static files

So I am having a problem with getting Nginx to serve static files for my Laravel app. I can see in chrome’s dev tools that the requests are being made to the path, where those files should be (http://…

heroku local does not find pdo_postgres driver

I am trying to use heroku local on mac to run a Symfony project. But unfortunately it does not find the postgresql driver… which is found when I run php app/console server:run Here is the resulting output. How can I solve this? Answer Did you see these ? http://www.somacon.com/p520.php http://www.unixme…

How to properly configure alias directive in nginx?

I have been trying to configure multiple webapp on my nginx webserver but I can’t get working one Laravel app that requires $document_root set to laravel public folder. I am currently trying to configure it using alias directive but for an obscure reason this doesn’t work. Here is what I am trying…

Magento separate PHP-FPM group for admin

I run a Magento webstore with middling traffic levels, running on NGINX with PHP-FPM. The server environment is very powerful with plenty of overhead, so hardware is not a factor. We are getting timeouts and errors when running memory intensive operations in the backend, such as exports and some custom indexe…

File Not Found when running PHP with Nginx

Recently I installed the latest version of Nginx and looks like I’m having hard time running PHP with it. Here is the configuration file I’m using for the domain: } Here is the error I’m getting on the error log file: Answer Try another *fastcgi_param* something like

php-fpm and nginx session problems

I’ve been having this problem for the past week or so. I’ve been working on a PHP project that relies HEAVILY on Sessions. For some reason we’ve been having troubles with the sessions saving the past few days. Any idea why? Here’s the error: nginx version: PHP-FPM config: nginx.conf: A…