Symfony is a PHP framework

learn more… | top users | synonyms

7
votes
2answers
2k 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 ...
2
votes
1answer
306 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
1k 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 ...
1
vote
1answer
206 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
vote
0answers
328 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
78 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: ...
1
vote
0answers
148 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, ...
1
vote
1answer
528 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 ...
0
votes
3answers
93 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 ...
0
votes
1answer
29 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
2answers
96 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 ...
0
votes
0answers
40 views

Apache Alias on multiple vhosts + redirect rules

I'm facing a tricky problem and I have problems to solve it through Apache config. I have two vHosts on my machine: A) /var/www/front/web app.domain.ext B) /var/www/api/web api.domain.ext This ...
0
votes
0answers
16 views

logstash output to a webservice from Symfony

Good Morning, I would like to send logstash output to a web service I created with Symfony. So far my web service work, I used php to try to send a log. Quick example in PHP $client = new ...
0
votes
1answer
231 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
47 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
0answers
96 views

Apache segmentation fault when running PHP script

I have Apache 2.4.6 on CentOs with mod_php (PHP 5.4.23) Symfony 2.3.4 is used with APC for caching the code. The PHP code also uses Postgre and Couchbase modules. There is a web request that I run ...
0
votes
0answers
35 views

coresphere console bundle - deployment sf2 - error

I am trying to deploy an application symfony2 online (at OVH). Situation I installed my bundles. I set rights to 777 on cache and logs. I used umask (001) in app.php, app_dev.php and console. I ...
0
votes
0answers
309 views

Apache2 ErrorDocuments does not work

I have my Apache configured like this: <VirtualHost *:443> ServerAdmin webmaster@server.com ServerName www.server.com:443 DocumentRoot /var/www/server/web SSLEngine on ...
0
votes
0answers
38 views

Easiest way to set a persistent document root in apache / Symfony

I have a website running on symfony. I'd like to create a mobile version of this site by forking the existing code into a new directory, which would then be accessed by going to somesite.com/mobile. ...
0
votes
1answer
430 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 ...
0
votes
0answers
207 views

Security issues with using Yii Framework

Basically, I want to ask if anyone had security issues with Yii Framework when creating large-scale e-commerce projects. My clients want this framework to be used in these projects and with my ...
0
votes
0answers
394 views

nginx symfony 1.4 tutrial day 3 not loading png and css

tried to follow the steps of symfony-project tutorial with Propel: http://www.symfony-project.org/jobeet/1_4/Propel/en/03 I am running Lubuntu with nginx. The project jobeet is running on chrome, ...
0
votes
1answer
548 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
1answer
597 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
438 views

Ubuntu 11.10 php 5.4 symfony2 nginx error

I have updated to php 5.4 on my local ubuntu 11.10 this morning. My symfony application which was working before update is now giving me 500 internal server error. Another symfony2 application on same ...
-1
votes
1answer
115 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
votes
1answer
709 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 ...