[solved] How to i enable php in centos7 right with virutalmin

2 posts / 0 new
Last post
#1 Sun, 03/12/2017 - 13:20
mizi214
mizi214's picture

[solved] How to i enable php in centos7 right with virutalmin

I've installed fresh centos7. Disable firewall and selinux. Installed virtualmin everything works fine. But php does not work correctly. I've put this littel test in the default host:

<?php
phpinfo();
?>

But only an blank screen is displayed. On an vhost i geht this error:

Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log.

In the (for dokuwiki) is only this:

[Sun Mar 12 19:05:55.290102 2017] [fcgid:warn] [pid 15808] (104)Connection reset by peer: [client XXX:48598] mod_fcgid: error reading data from FastCGI server
[Sun Mar 12 19:05:55.290138 2017] [core:error] [pid 15808] [client XXX:48598] End of script output before headers: test.php

Thanks for helping :) Best Regards

Tue, 03/28/2017 - 12:59
mizi214
mizi214's picture

Changed to Ubuntu and it works.

Topic locked