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
0
votes
1 answer

Symfony's PHP files doesn't work on prod server

I just try to deploy to production a Symfony (3.3.5) project for the first time and I am in a little trouble. MySQL is installed and running on the server, Symfony can connect to it. Apache2 and PHP are running too. (And simple PHP files like a echo…
Victor Castro
  • 101
  • 1
  • 5
0
votes
1 answer

Web interface to manage users created with FOSUserBundle

Is there an existing web interface, which could ease the management of users created with FOSUserBundle in a Symfony (2 or 3) project? Typically it would be presented as a bundle extension of FOSUserBundle. To justify my question, here is a dead…
yolenoyer
  • 133
  • 6
0
votes
2 answers

The behavior of SetEnvIf on PHP routes

We are using the mod_auth_openid plugin to provide OpenID support for part of our site. It works pretty well, but we're running into one of those "Do this, except when" conditions, and I'm not sure where I'm missing. There are a few URIs that we…
sysadmin1138
  • 133,124
  • 18
  • 176
  • 300
0
votes
0 answers

debian nginx 1.10.3 prevent headers injection

I have a debian 8 VPS running with nginx 1.10.3. I host several Symfony 3.2 websites (using php7-fpm), and I face headers injection problems. I can't figure out if the problem is more from nginx or from the symfony project configuration. I am not…
Flo Schild
  • 101
  • 4
0
votes
1 answer

“Failed to start the session: already started by PHP” error using a CMS

I installed a CMS, named Prestashop: it runs under a specific domain, and with a specific VirtualHost configuration on Apache, on a server with other PHP applications (Wordpress). When I try to login in, as administrator user, I receive the…
0
votes
1 answer

Symfony, CentOS, NGINX, php-fpm cache error

I have been searching for two days on google and here and i tried every single solution out there to fix this issue but it seems to be that i am always missing something. I have CentOS 7 installed and running on AWS Server along with NGINX php-fpm…
Yamen Nassif
  • 119
  • 6
0
votes
2 answers

Symfony Project Nginx

Heey all, I'm trying to host my symfony project but i'm getting a 500 error back from nginx. The error log doesn't show anything. Yet the access log does show something: 46.243.152.13 - - [17/Mar/2016:14:05:45 +0100] "GET / HTTP/1.1" 500 507 "-"…
Baklap4
  • 127
  • 2
  • 13
0
votes
0 answers

Rhel 7 directory write permissions for both CLI and Apache user

I have been setting up a production environment for Symfony framework application on Red Hat Enterprise 7 Linux. I have an issue with enabling writing permissions to certain directories. In order to enable write access to some directories, I have…
0
votes
0 answers

Nginx configuration file with sf2, php-fpm and fastCGI

This is my config file, it's taken from the official symfony 2 website so it should work: server { server_name domain.tld www.domain.tld; root /var/www/project/web; location / { # try to serve file directly, fallback to app.php …
user99999
  • 101
0
votes
1 answer

DirectoryIndex in Subfolder/New project with virtualhosts and SSL, same domain

I have som problems with setting up a new project in apache. I have an old project in sub.domain.com/api/something.php, but am trying to add a new project (symfony) that requires a DirectoryIndex, sub.domain.com/api-v2/something/something My old…
Richard87
  • 240
  • 1
  • 2
  • 6
0
votes
0 answers

PDO Connection Error: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (13)

Currently I am setting up a server to run a web site built on Symfony framework (1.4 version). After tuning Apache2 to work with needed folders, and setting proper permissions on every chunk of path required (755 for folders, 644 for files), PHP is…
Jared Rox
  • 101
  • 6
0
votes
0 answers

HTTPS Config for symfony2

I have followed this tutorial for setting up https on an ubuntu server: https://www.digitalocean.com/community/tutorials/how-to-create-a-ssl-certificate-on-apache-for-ubuntu-14-04 I have ended up merging that configuration with the current usual…
timhc22
  • 113
  • 6
0
votes
1 answer

Configuration of Symfony2 + Nginx on CentOS6 not working

im stucked here about 2 days traying to figure out how to make this run, hope somebody could point what I'm doing wrong. Trying to run Symfony2 over Nginx-CentOS 6 with this configuration file. upstream phpfcgi { server 127.0.0.1:9000; #…
darofar
  • 1
  • 4
0
votes
1 answer

Nginx server default does not apply

I installed nginx on a debian server. I have three servers (virtual hosts): default (/etc/nginx/sites-enabled/0-default) mydomain.com (/etc/nginx/sites-enabled/1-mydomain) booking.mydomain.com (/etc/nginx/sites-enabled/2-booking) When I access to…
maxime
  • 140
  • 2
  • 6
0
votes
1 answer

Apache web server, virtual hosts, sub domains and multiple web frameworks

I have a website www.mysite.com This is the main site and I will be using the Django web framework for the site I also want to have other subdomains such as: https://mail.mysite.com (handled by Zimbra) http://admin.mysite.com (an…