Symfony is an open source PHP web development framework. Use this tag for questions about installing and or using the Symfony framework in Unix & Linux.
Questions tagged [symfony]
9 questions
5
votes
2 answers
apache and php Segmentation fault
I have recently migrated to Archlinux. I installed Apache, php and mysql according to the Arch Linux LAMP wiki page.
Now I have setup a virtual host for my new Symfony project.
For every request I make, I get this error:
[notice] child pid 10859…
Omid Kamangar
- 233
- 1
- 7
1
vote
1 answer
An exception occurred in the driver: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution
The following command results in the above error;
symfony console doctrine:migrations:execute --up 'DoctrineMigrations\Version20220513151605'
Lot's of questions on it but I cant find any that match my scenario (localhost apache vhost, mysql,…
cookie
- 222
- 3
- 8
- 18
1
vote
1 answer
Apache virtualhost configuration issue
I'm developing a symfony application and in trying to remove index.php from the url, I used the following virtualhost configuration:
ServerAdmin webmaster@localhost
DocumentRoot…
sisko
- 341
- 2
- 4
- 12
1
vote
2 answers
Dotdeb says PHP 5.3.18 is the latest
I'm using Debian 6 . Now I don't understand why it says PHP 5.3.18 is the latest when 5.3.2 has been around for 2 years? I need at least PHP 5.3.2 for my symfony project. Thanks.
Marin
- 135
- 1
- 5
0
votes
2 answers
An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused - docker - symfony
My code (symfony 5.4) fails to persist data to the database. Here's my setup:-
docker-compose.yaml
...
#MySQL Service
db:
image: mysql:5.7.22
container_name: db
restart: unless-stopped
tty: true
ports:
- "3316:3306"
…
cookie
- 222
- 3
- 8
- 18
0
votes
1 answer
Trying to get a Symfony version number in my Bash script using a regular expression
When I call bin/console --version in a Symfony project from my terminal, I get Symfony 4.4.3 (env: dev, debug: true)
I like to do a match to see that verifies that the result of the command does in fact match the expected pattern.
I've got this…
0
votes
1 answer
Host symfony app on plesk obsidian
Anyone was able to successfully run symfony application on the plesk environment already?
I'm new to management of plesk, until now i was configuring vhosts by my self, with use Apache / Nginx. I just moved most of my Wordpress Websites to the plesk…
Sharminte
- 1
- 3
0
votes
2 answers
Linux Debian Jessie sudo command keeps asking for password
I have recently configured a Symfony 3 site which involved me to set up some permissions on the /var folder. I had to do the following:
$ HTTPDUSER=`ps axo user,comm | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 |…
Dblock247
- 101
- 2
0
votes
0 answers
Doctrine OCI8 charset behavior between php-cli and php-fpm
My Oracle database is in ISO8859-1 (not by choice).
I'm struggling with segfault from php-fpm for a couple of days now. To dig out the source of it I've set two parallel environnements with the following ENV…
soyuka
- 237
- 2
- 13