Help install symfony

Good morning,
I come to the community, because I would like to install symfony on virtualmin.
I have all the prerequisites through symfony,
I run the installation command, I redirect my public_html/symfony/public folder,
but I come across a 500 error page,
I searched the logs and the internet without any results.

Thank you in advance for your help.

What if developers could add the ability to install laravel or symfony to the scripts :wink:

The browser error is generally useless for troubleshooting. We need to see the actual PHP errors.

Search again. That’s where the answers are. If you’re using php-fpm, the log you need is likely in /home/<domainname>/logs

@Joe thanks,
I know where the php-fpm-8.1 logs are
the lines are recurring.
Iplan is my ip

For acces_log:
IPlan - - [24/Nov/2023:20:48:44 +0100] “GET /symfony/ HTTP/1.1” 500 707 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0”
iplan - - [24/Nov/2023:20:55:36 +0100] “GET / HTTP/1.1” 500 707 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0”

for error_log:
[Fri Nov 24 20:48:12.606313 2023] [autoindex:error] [pid 79423:tid 139763481585216] [client IPlan:63816] AH01276: Cannot serve directory /home/administation/public_html/symfony/: No matching DirectoryIndex (index.php,index.php4,index.php5,index.htm,index.html) found, and server-generated directory index forbidden by Options directive
[Fri Nov 24 20:48:40.410117 2023] [ssl:warn] [pid 1983:tid 139763719673728] AH01906: administration.projet-radius.ddns.net:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Nov 24 20:48:43.443825 2023] [core:alert] [pid 93606:tid 139763489977920] [client iplan:63865] /home/administation/public_html/symfony/public/.htaccess: Option FollowSymlinks not allowed here

It’s a local server ubuntu 22.04lts, no hosting in order to develop locally directly before launching production

Thank you in advance for your help.

There it is. You have no legal index file in that directory.

I can’t do a redirect directly via website Redirects

It tells me that the directories do not exist for public_html/symfony/public

In addition, symfony needs the usr memory directory

This log is after changing the directory in Website Option → Site Documents subdirectory

[Sat Nov 25 00:00:34.085976 2023] [ssl:warn] [pid 1983:tid 139763719673728] AH01906: administration.projet-radius.ddns.net:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE!?)
[Sat Nov 25 01:19:42.344453 2023] [ssl:warn] [pid 1983:tid 139763719673728] AH01906: administration.projet-radius.ddns.net:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE!?)
[Sat Nov 25 01:19:58.754721 2023] [core:alert] [pid 149113:tid 139763489961536] [client 10.89.89.11:61386] /home/administration/public_html/symfony/public/.htaccess: Option FollowSymlinks not allowed here
[Sat Nov 25 01:19:59.752144 2023] [core:alert] [pid 149113:tid 139763386406464] [client 10.89.89.11:61388] /home/administration/public_html/symfony/public/.htaccess: Option FollowSymlinks not allowed here

When I create a laravel project everything works fine /laravel/public.

Maybe the package is missing on symfony.

If you had the possibility to make a short guide for the installation of symfony or to add it in the installation of scripts

Good news, it works.
After many installation, symfony works.

Sorry for wasting your time!

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.