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

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 AWS to automatically pull the latest codebase and…
0
votes
2 answers

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 a way to do that ? Or maybe I shouldn't do it at…
Nicolas Reynolds
  • 177
  • 1
  • 1
  • 8
0
votes
1 answer

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 call to the directory that surveyadmin.local is…
Ben Overmyer
  • 23
  • 1
  • 5
0
votes
3 answers

/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 crontab -e. Any ideas from where this can come from…
Nicolas Reynolds
  • 177
  • 1
  • 1
  • 8
0
votes
0 answers

Error 500: Internal server error deploying Symfony 6 application on shared hosting (Apache)

I have successfully deployed my application to a remote host using Deployer. I'm on shared hosting and I don't have access to the Apache configuration. The application is deployed in a directory created for an Add-on domain, that is, it is not in…
A. Cedano
  • 101
  • 1
0
votes
0 answers

Deploying symfony 5 application to shared hosting with just FTP access

I'm trying to deploy a Symfony web application on a server that only gives ftp access, without ssh possibilities, and I could only put files on two root folders: /data and /html folder. I'm trying to put the Symfony files inside de html folder but…
0
votes
0 answers

Nginx configuration for matching wildcard server_name to specific Symfony route

i have a Symfony 5 application at domain.tld with this basic nginx configuration: map "$http_cloudfront_forwarded_proto:$http_x_forwarded_proto" $cloudfront_proto { default "http"; "~https" "https"; } server { server_name domain.tld; …
0
votes
0 answers

Sometimes POST request from client to backend does not contain body

We run 2 different apps on Heroku. Both have an API written with PHP and Symfony and run through an Apache. One of the frontend clients is written with Vue the other with Angular. In the API we serialize command and query objects from the POST body.…
0
votes
0 answers

NGINX liip_imagine unable to create path for ... "Get operation failed" webp - not creating .webp in media/cache/filter_name symfony

So in my liip_imagine i have something like: webp: generate: True quality: 70 and it works good locally, it serves .png.webp images, but when i put it on my NGINX server i have an issue called unable to create path for ... "Get operation…
0
votes
1 answer

Increased CPU interrupts, degraded performance on upgrade to Symfony flex

We're upgrading our Symfony 3.4 app (LAMP w/ opcache/php-fpm) to flex (as per https://symfony.com/doc/current/setup/flex.html). In load testing, we're seeing increased CPU usage, particularly system CPU. Changes we've noticed in…
Matt
  • 1
  • 2
0
votes
1 answer

Google redirect failing on symfony website

I am helping a friend with her website mainteinance and there is some strange behaviour that I do not fully understand. When you search for her site on google.com, and click on her main website, the website has a redirect to google.com. If I copy…
jmrueda
  • 101
  • 2
0
votes
2 answers

Nginx - Symfony 4 multi apps - same domain

I'm trying to setup 2 Symfony 4 apps in the same server block (same domain) but php don't render the php files. Here is my config : server { server_name mydomain.com; root /var/www/; location ~* \.(jpg|jpeg|gif|css|png|js|ico|html)$ { …
0
votes
1 answer

Not a file, not a folder, but a hard link(?) to /bin from another partition - scared to delete

I have a not-quite-folder not-quite-file on my file system. It is an AWS EC2 instance running Ubuntu 18.04.4 LTS. I have a script that runs nightly that picks up a file (/ebsvol/dead-drop/sync) and moves it to (/ebsvol/dead-drop/sync) using Robo,…
0
votes
0 answers

Syncing web servers over WAN without port forwarding

We have multiple locations (2 now, soon to be 3) with ProxMox servers that have containers (ubuntu server) on them set up as the following (but will have more web servers): Location…
MicWit
  • 111
  • 2
-1
votes
1 answer

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 and from stackoverflow, but still nothing changed.…
ilhnctn
  • 99
  • 4