S
S
Shimpanze2019-10-27 06:59:13
PHP
Shimpanze, 2019-10-27 06:59:13

Is it necessary, when working with Apache, to set the value of the attribute "cgi.fix_pathinfo" to "0" in the "/etc/php/7.3/apache2/php.ini" file?

Hello!
I read an article about configuring LEMP and there it is recommended to /etc/php/7.2/fpm/php.iniset the attribute value cgi.fix_pathinfoin the file to 0.
In this regard, I had a question, if I use not LEMP but LAMP on my server, should I set the same value of this attribute, but already in the file /etc/php/7.3/apache2/php.ini?
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanes, 2019-10-27
@Shimpanze

No. But you've chosen the laziest way PHP works.
Apache works fine with php-fpm.
As a last resort, you can choose FastCGI, Apache mpm-itk, mod_ruid2.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question