These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for [solved] How to i enable php in centos7 right with virutalmin on the new forum.
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
Changed to Ubuntu and it works.