วันพุธที่ 9 ธันวาคม พ.ศ. 2563

Enable PHP usage in user public_html in Ubuntu 20.04.1

  Add the following in /etc/apache2/apache2.conf post enable PHP script



#Add user directory for php usage

<IfModule mod_userdir.c>

        <Directory /home/*/public_html>

            php_admin_value engine On

        </Directory>

</IfModule>


ไม่มีความคิดเห็น:

แสดงความคิดเห็น