Hi everyone, I failed to find my answer by searching on this forum. Please help out.
First, my configuration:
- CentOS 5.4, default installation + AMP related packages
- Virtualmin GPL
- suEXEC is disabled
- root path of my Virtual host: /home/< Virtual host >/public_html/
My issue is PHP related:
1)
I tried to confirm that PHP is working, with:
<?
phpinfo();
?>
My server only outputs a blank page with no error (I already have “display_errors” on). I checked my httpd logs, didn’t see anything relevant to my issue.
If I changed the root path to “/var/www/html/” then my server would output the above script correctly.
What should I do in order to get PHP works with my custom root path?
Thanks for the help.