Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

index.php file is not loading #8

Open
ronakyadav opened this issue Apr 17, 2014 · 2 comments
Open

index.php file is not loading #8

ronakyadav opened this issue Apr 17, 2014 · 2 comments

Comments

@ronakyadav
Copy link

After sucessful installaion in the cpanel based server the index.php file is not loading

@ronakyadav
Copy link
Author

Below is the directory structure for reference regarding ownership ans permission of files.

root@vps [/home/demousr/public_html/testing]# ll
total 232
drwxr-xr-x 5 root root 4096 Apr 17 08:06 ./
drwxr-x--- 6 demousr nobody 4096 Apr 17 07:50 ../
-rw-r--r-- 1 root root 1400 Apr 14 2010 common.php
-rw-r--r-- 1 root root 382 Apr 17 07:57 config.php
-rw-r--r-- 1 root root 150 Apr 11 2010 cron.php
drwxr-xr-x 3 root root 4096 Apr 22 2010 docs/
drwxr-xr-x 5 root root 4096 Apr 17 08:27 frontend/
-rw-r--r-- 1 root root 216 Apr 16 2010 index.php
-rw-r--r-- 1 root root 188714 Apr 22 2010 phpWatch-204.zip
-rw-r--r-- 1 root root 2318 Apr 20 2010 README

drwxr-xr-x 5 root root 4096 Apr 22 2010 src/

@sideshowcoder
Copy link

I think the problem is that apache will not execute CGI (PHP) in the public_html by it's default installation (depending on the package for apache). You need to make sure that

  • mod_php is enabled
  • CGI exec is enabled (Options +ExecCGI)

Hope this helps

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

No branches or pull requests

2 participants