S
S
sorry_i_noob2018-10-09 12:40:27
Apache HTTP Server
sorry_i_noob, 2018-10-09 12:40:27

What does this code mean on apache?

What does this code mean on apache?

<IfModule mod_php4.c>
  php_value engine off
</IfModule>
<IfModule mod_php5.c>
  php_value engine off
</IfModule>
AddHandler cgi-script .php .pl .py .jsp .asp .htm .shtml .sh .cgi
Options -ExecCGI

And in general, should an ordinary php programmer know Apache directives? Or is it all, as a rule, copied from somewhere for each project?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stalker_RED, 2018-10-09
@sorry_i_noob

And in general, should an ordinary php programmer know Apache directives?
A very strange question. He should not know everything by heart, but when necessary, he should be able to open the documentation and read a couple of lines there.
https://httpd.apache.org/docs/2.4/mod/core.html#if...
php.net/manual/en/apache.configuration.php#ini.engine

V
Vladislav Lyskov, 2018-10-09
@Vlatqa

for mod_php4.c and mod_php5.c disable interpreter

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question