Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Centos6: 500 errors on index.php #579

Closed
nijk opened this issue Apr 28, 2016 · 3 comments
Closed

Centos6: 500 errors on index.php #579

nijk opened this issue Apr 28, 2016 · 3 comments
Labels

Comments

@nijk
Copy link

nijk commented Apr 28, 2016

The install seems to go fine and the dashboard displays as expected but when trying to visit drupalvm.dev or any of the development tools Apache throws a 500 error.

From Apache's error_log:

[warn] proxy: No protocol handler was valid for the URL /index.php. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.

As far as I can see httpd.conf is loading the modules correctly:

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
@oxyc
Copy link
Collaborator

oxyc commented Apr 29, 2016

Haven't really used CentOS 6 in a while but with the defaults it apparently doesn't work:

http://docs.drupalvm.com/en/latest/other/base-os/#redhat-enterprise-linux-centos-6
#346 (comment)

So your choices are either to switch to nginx or use apache with mod_php instead of the default PHP-FPM. The docs I linked to have more information.

@oxyc oxyc added the question label Apr 29, 2016
@nijk
Copy link
Author

nijk commented Apr 29, 2016

Thanks, I hadn't spotted that. Running with nginx now and all seems good.

@oxyc
Copy link
Collaborator

oxyc commented Apr 29, 2016

Great!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants