Ridemonkey
Well-known member
I just switched a server over to PHP5-FPM this morning. All seems well, except when I try to get into the admin control panel - I now receive a 404 not found error for admin.php.
I can't really find any other errors on the site, even other /*.php files are accessible (sitemap.php, etc).
(note, this is not on the site listed in my signature)
Can someone help explain why this is?
I can't really find any other errors on the site, even other /*.php files are accessible (sitemap.php, etc).
(note, this is not on the site listed in my signature)
Can someone help explain why this is?
Code:
<VirtualHost *:80>
ServerName mysite.com
DocumentRoot /var/www/mysite
<IfModule mod_fastcgi.c>
AddType application/x-httpd-fastphp5 .php
Action application/x-httpd-fastphp5 /php5-fcgi
Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi
FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -socket /var/run/php5-fpm.sock -pass-header Authorization
<Directory /usr/lib/cgi-bin>
Require all granted
</Directory>
</IfModule>
<Directory /var/www/mysite>
AllowOverride All
</Directory>
</VirtualHost>