Incorrect httpd-directories.conf cause webmail, phpmyadmin, etc can’t be accessed

Incorrect httpd-directories.conf cause webmail, phpmyadmin, etc can’t be accessed

In Custombuild 2.0, PHP-FPM. I already did

Quote:

./build rewrite_confs


but I couldn’t access /webmail, /phpmyadmin So, I checked the config file.

Quote:

/etc/httpd/conf/extra/httpd-directories.conf


there is the line

Code:

<IfModule mod_fastcgi.c>
        FastCgiExternalServer /var/www/html/index.php -socket /tmp/fpm53/webapps.sock -pass-header Authorization


which is incorrect. The correct one is

Code:

FastCgiExternalServer /var/www/html/index.php -socket /usr/local/php53/sockets/webapps.sock -pass-header Authorization


change it and restart Apache, then, it works.

Comments are closed.