php - FollowSymLinks not working with laravel 8

Hello, I am quite new to Linux (ElementaryOS), and in short I am working on Laravel(8) and I have a problem with my routes, while I never had this problem on Windows. I think it's a problem of configuration of Laravel or of my Apache but no way to understand clearly. I reassure you, I ask after having searched well but I find the answers very abstract and none of them help me.
If I understand correctly it could be that my apache server does not have symlinks enabled, but I do not see how to enable them in the configuration file: "apache2.conf" I have a mention of "FollowSymLinks" but despite my research nothing works.
Here is the passage in question:
# Sets the default security model of the Apache2 HTTPD server. It does
# not allow access to the root filesystem outside of /usr/share and /var/www.
# The former is used by web applications packaged in Debian,
# the latter may be used for local directories served by the web server. If
# your system is serving content from a sub-directory in /srv you must allow
# access here, or in any related virtual host.
<Directory />
Options FollowSymLinks
AllowOverride None
Require all denied
</Directory>
<Directory /usr/share>
AllowOverride None
Require all granted
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
#<Directory /srv/>
# Options Indexes FollowSymLinks
# AllowOverride None
# Require all granted
#</Directory>
# AccessFileName: The name of the file to look for in each directory
# for additional configuration directives. See also the AllowOverride
# directive.
#
AccessFileName .htaccess
#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<FilesMatch "^\.ht">
Require all denied
</FilesMatch>
So I modified a few parts but nothing helped.
Do you have any answers? Thank you.
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: gd library extension not available with this php installation.
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.