jsox79

Member
Jan 1, 2011
10
1
53
i recently upgraded apache to 2.4.4 and php to 5.4, i didnt like the fact that 5.4 didnt have support for suphp ironed completely out, so i reverted back to 5.3. all of my sites work fine. but any new sites i create dont seem to recognize that php is installed, it blatantly disregards index.php unless i type it in on the address bar mysite.com/index.php

any ideas as to what might be causing this?
 

quietFinn

Well-Known Member
Feb 4, 2006
2,030
542
493
Finland
cPanel Access Level
Root Administrator
... but any new sites i create dont seem to recognize that php is installed, it blatantly disregards index.php unless i type it in on the address bar mysite.com/index.php
That means that index.php is not included in Apache's DirectoryIndex directive.

1st check in WHM-> Service Configuration -> Apache Configuration -> DirectoryIndex Priority

That is probably ok if all the old sites work.

Then check .htaccess in those new sites where index.php is not recognized as an index file, if there are DirectoryIndex directives without index.php
 

jsox79

Member
Jan 1, 2011
10
1
53
problem solved,
cleared cache everywhere, i checked in internet explorer and it worked as expected so i knew it had to be some weird cache issue
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
problem solved,
cleared cache everywhere, i checked in internet explorer and it worked as expected so i knew it had to be some weird cache issue
Thank you for updating this thread with the outcome. I am happy to hear the issue is now resolved.