Answer the question
In order to leave comments, you need to log in
Is it possible to move the PHP settings for the Apache virtual host to a separate file?
Hello! Tell me, is it possible to put the PHP settings for the Apache virtual host in a separate file? Those. I have a main configuration file for the site, I use Include to include a file with PHP settings into it.
<VirtualHost 127.0.0.1:80>
ServerName google.com www.google.com
ServerAlias mail.ru www.mail.ru lenta.ru www.lenta.ru
DocumentRoot /home/admin/www/google/
DirectoryIndex index.php
ServerAdmin [email protected]
AddDefaultCharset UTF-8
AssignUserID admin admin
CustomLog /home/admin/www/google.access.log combined
ErrorLog /home/admin/www/google.error.log
Include google-php.conf
</VirtualHost>
php_value mbstring.internal_encoding = UTF-8
php_value mbstring.func_overload = 2
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