Questions tagged [symfony]

Symfony is a PHP framework

Symfony is a PHP Web Development framework edited by Sensiolabs. Symfony is an internationally recognized, stable development environment. It is written in PHP.

76 questions
2
votes
1 answer

Symfony2 app in subdirectory nginx

I'm trying to setup a symfony2 app in a subdirectory of our Server Webserver: nginx 1.1.6 + php fpm OS: gentoo my target is to get the app working from a subdirectory subdomain.xy.domain.tld/tool my nginx config looks like that server { listen…
Frido
  • 73
  • 1
  • 7
1
vote
0 answers

Nginx behind proxy and symfony 4 application

I'm deploying Symfony 4 application which will be available through proxy: https://proxydomain.com/application The application works when it's accessed with the URL without trailing slash: https://proxydomain.com/application but when I add the…
1
vote
0 answers

Apache? ERR_INCOMPLETE_CHUNKED_ENCODING 200

I've been trying for several days to find out why the following error is happening to me: GET https://www.******.com/ net::ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK) I have also looked at some similar questions but nothing has helped me. This error…
jcarlosweb
  • 111
  • 1
  • 4
1
vote
1 answer

AppEngine - Client closed keepalive connection

I have deployed my Symfony 4 app to Google App Engine (Flexible environment). The build seems to have worked, but loading the app on in Chrome results in error: Oops! An Error Occurred The server returned a "500 Internal Server Error". Something is…
1
vote
0 answers

MBString Segfault with apache2 ubuntu 18.04 Laravel 5.7

I am working on a script API with Laravel 5.7. When I try and run a command on the API, I get the following segfault segfault at 7ffc466e9ee8 ip 00007f2adb4144ed sp 00007ffc466e9ef0 error 6 in mbstring.so[7f2adb3a7000+176000] The error I am…
1
vote
2 answers

Unable to write in the cache directory Symfony 3.1

/var/log/nginx/app.local_error.log: 2018/09/13 11:25:20 [error] 20627#0: *18 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught RuntimeException: Unable to write in the cache directory (/var/www/app.local/var/cache/prod) in …
Viking777
  • 21
  • 1
  • 4
1
vote
1 answer

nginx + php5-fpm: Resource temporarily unavailable

I have an nginx (in a Debian docker container) with this config for a Symfony app: location ~ ^/api/(app|app_dev|config)\.php(/|$) { root /var/www/backend/web/; fastcgi_split_path_info ^/api/(.+\.php)(/.+)$; fastcgi_pass…
Tim-Erwin
  • 115
  • 1
  • 5
1
vote
0 answers

504 Gateway Time-out Nginx -> PHP-FPM kubernetes

I've been trying to get my nginx connection to work with php-fpm for several days now. The problem is, he always gives me a 504 and gives me the next error log: 2018/07/09 10:57:25 [error] 5#5: *10 upstream timed out (110: Operation timed out)…
Sermanes
  • 113
  • 1
  • 5
1
vote
1 answer

Why is my Docker Symfony project with Composer consuming so much memory?

Description I'm deploying my symfony project in prod. It works fine when I simply run docker-compose up. However I'm getting an issue with my deploy script and try accessing the web page in my navigator. Fatal error: Allowed memory size of…
1
vote
1 answer

.htaccess mod_deflate not working for dynamic URL

I have a URL as follows www.example.com/fr_FR the curl return type is as follows: HTTP/1.1 200 OK Date: Mon, 16 Oct 2017 10:35:19 GMT Server: Apache Set-Cookie: PHPSESSID=img4385scm6ldm6vngtntsrou1; path=/; HttpOnly Cache-Control:…
1
vote
2 answers

A lot more write then read IO

As shown in the picture above we are having a lot more writes then reads on our appserver. Cache is enabled and the Framework is running with PHP/Symofony and using HTTP Cache. Is this I/O behavior normal? I doubt it, since with the cache the…
Isengo
  • 133
  • 7
1
vote
1 answer

Handling multiple Symfony sites depending on the URL path

I have multiple Symfony projects, each of them are stored in custom subdirs inside /srv/http; these subdirs are not intended to be public URLs. For example: /srv/http/some/dir/sfprojA /srv/http/some/other/dir/sfprojB ... Note: I only have a…
yolenoyer
  • 123
  • 6
1
vote
1 answer

502 Bad Gateway when trying to write session with PHP and nginx on a debian vagrant box

I'm using a Vagrant box with Debian 8.5 with the following stuff packages. tmux curl wget nginx php7.0-fpm php7.0-cli php7.0-curl php7.0-gd php7.0-intl php7.0-mysql php7.0-memcached memcached php-mbstring php-xml mariadb-server nodejs git unzip…
Musterknabe
  • 71
  • 1
  • 7
1
vote
1 answer

Conditionally serving files from a directory outside of the document root with Apache2

I have inherited a web application written in PHP. The code is not the best and I want to start using the Symfony framework. It will be a gradual migration through several releases so I need the legacy pages, web scripts, css files and images to…
emurano
  • 111
  • 3
1
vote
0 answers

Nginx rewrite directory to Symfony App but remove host directory

I have a VM with several development apps living on it. The basic web directory looks like: /var/web/subdoms/: index.php MyApp/ SomeOtherApp/ I have my Nginx config file specifying the root as /var/web/subdoms, such…
Fodagus
  • 111
  • 4