Answer the question
In order to leave comments, you need to log in
How to make apache execute php files?
Centos 7,
php 7.2.23
changed default apache directory from var/www/ to home/sybase/vipoc
ServerRoot "/etc/httpd"
Listen 80
Include conf.modules.d/*.conf
User apache
Group apache
ServerAdmin [email protected]
ServerName www.домен:80
<Directory />
AllowOverride none
Require all denied
</Directory>
DocumentRoot "/home/sybase/vipoc"
<Directory "/home/sybase/vipoc">
Options FollowSymLinks
AllowOverride None
Require all granted
</Directory>
<IfModule dir_module>
DirectoryIndex index.php
</IfModule>
<Files ".ht*">
Require all denied
</Files>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question