Symfony is a PHP framework

learn more… | top users | synonyms

0
votes
2answers
1k views

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

I'm getting 'PDO Connection Error: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' error when I'm trying to make too much update and ...
0
votes
0answers
26 views

Optimized setup to run AngularJS + Symfony

What are the best practices to run an AngularJS + Symfony application? I have experience working with nginx + Google PageSpeed on WordPress sites. It can optimize static files, do cache-control and ...
6
votes
1answer
1k views

Nginx + PHP-FPM produce 502 bad gateway instead of fatal error?

I'm currently testing Symfony2 with Nginx and PHP-FPM. I also use Xdebug. Symfony2 comes with a Demo bundle, I wanted to test the new handling of fatal errors which comes with Symfony 2.2.0 by ...
2
votes
0answers
85 views

google load balancer + nginx + symfony2

i'm trying to configure a scalable symfony2 app, so i read this page https://cloud.google.com/compute/docs/load-balancing/http/cross-region-example i did every thing like they said, is working with a ...
10
votes
2answers
3k views

running setfacl on a vagrant shared directory

Trying to get a Symfony2 project up and running with a vagrant VM. I've seen a zillion articles on this, but getting the cache directory permissioned correctly is proving to be excruciatingly painful. ...
2
votes
3answers
612 views

PHP FPM state Finishing but never completes

We are running a Symfony application on Ubuntu 14.04 with Nginx and PHP-FPM The problem is that individual PHP FPM will occasionally hang on our production servers. I have the output from the status ...
0
votes
2answers
68 views

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/...
1
vote
3answers
3k views

Symfony2 Vhost Configuration

I'm new to Symfony2 and following the EnsJobeet tutorial. My VirtualHost config is as follows: <VirtualHost *:80> ServerName jobeet.local DocumentRoot /var/www/ensjobeet/web/ ...
0
votes
0answers
52 views

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 ...
0
votes
0answers
52 views

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 / { #...
0
votes
0answers
290 views

Nginx Symfony as API and Angular for front on the same server

I would like to run on the same server using Nginx : - A front that would be run while calling myDomainName - and expose an API by using Symfony 2 that would be run by calling myDomainName/api/ ... ...
0
votes
0answers
84 views

Varnish CSRF protection token doesn't work

I have a symfony2 based site with a form and captcha in it. When I access the site directly the contact token remains the same. When I access it through varnish it gets updated every time I hit F5. ...
0
votes
1answer
61 views

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....
1
vote
1answer
100 views

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 ...
0
votes
0answers
104 views

Apache 2.4 mod_rewrite on vhost_alias

i have configured apache as dynamic mass virtual hosts. I have serval applications writen in symfony2 with .htaccess Vhost looks like this: <VirtualHost _default_:80> ServerAdmin d.jamka@the....
0
votes
0answers
278 views

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 ...
0
votes
0answers
556 views

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

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

Nginx + php5-fpm + Symfony2 = “File not found.”

This is the site config based on official Symfony2 doc server { listen 80; server_name project.local; root /media/Storage/project/web; location / { # try to ...
0
votes
1answer
71 views

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/...
0
votes
1answer
318 views

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

Continuously deploying a Symfony app on Cloudformation

My current plan is to begin hosting my team's Symfony-based app on a load-balanced, autoscaling group generated via Cloudformation. When someone on my team pushes to our Github repo, I would like ...
0
votes
2answers
801 views

Diabling Symfony2 sessions files

I'm looking for a way to disable the file saving of PHP sessions. (I do not need sessions in my application) I tried to set save_path = NULL, but it only set it to the default path (/tmp). Is there ...
-1
votes
1answer
431 views

Web server configuration for symfony 1.4

i followed the guide given at the jobeet project documentations and searched a lot but still get HTTP 403 Forbidden error. I do exatly the same as the docs say and followed a few other theads here ...
1
vote
0answers
880 views

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 ...
1
vote
1answer
157 views

Securely configuring nginx for php

I want to use nginx for both Symfony2 sites and other software like phpMyAdmin. I've read the nginx docs on setting up Symfony2 and came across this issue: http://www.webhostingtalk.com/showthread....
0
votes
3answers
97 views

/tmp flooded with “.myapp” files

On my new server (dedicated, CentOs5), 2 or 3 .myapp files (like "51b9dc4cc246f.myapp", ~500 Mo) is created every minute under /tmp, fulling my harddisk at an alarming speed. There is nothing in ...
1
vote
0answers
315 views

Problems with MySQL/Apache-based symfony website

in the company where I started working on 1. July, I inherited, among others, a webserver that runs a MySQL/Apache stack on which a Website built in Symfony is running. The server runs openSuSE 12.1, ...
0
votes
1answer
2k views

Symfony2 app in subdirectory of nginx configuration

I'm trying to set up my environment such that surveyadmin.local points at one directory and surveyadmin.local/api points at another. However, no matter what I change, the /api URL always results in a ...
2
votes
1answer
614 views

open_basedir problems with APC and Symfony2

I'm currently setting up a shared staging environment for one of our applications, written in PHP5.3 and using the Symfony2 framework. If I only host a single instance of the application per server, ...
1
vote
1answer
267 views

Moving an Application to Amazon EC2 with S3

Recently I have created a web application. The application has some static parts (libraries, classes etc) and dynamic parts (images, cache, log etc) as well. However, some static parts of the app ...
-1
votes
1answer
1k views

Symfony2 on Windows with Apache, PHP and MySQL - app_dev.php will not load

I am trying to get a Symfony2 standard distribution to work on my Windows 7 laptop. I have installed Apache2 (version 2.2.22), PHP 5.3.10 and MySQL 5.5.22. I have a demo PHP script (php_info() and a ...
2
votes
1answer
2k views

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 ...