Apache Virtualhosts + PHP error
Hey guys :D
I'm getting a weird error message in PHP Warning: Failed opening '/home/pakage/public_html/index.php' for inclusion (include_path='.:/usr/share/pear') in Unknown on line 0 I have a virtual host pointing to /home/pakage/public_html I can access index.html but I get that error when running index.php any ideas? thanks guys and girls =) |
Re: Apache Virtualhosts + PHP error
Quote:
Maybe you have set 'auto_prepend_file' or 'auto_append_file' in your php.ini ? If you do make sure file is readable. Quote:
DirectoryIndex index.php index.html (and the other index file you want to load) Quote:
|
Thanks for replying guideweb :D
I checked those 2 settings, they were uncommented but no set, I commented them out and it still doesn't work I also checked and the file is readable and executable by all users Thanks for the tip about the DefaultDocument, I had that set... the only reason I have 2 index's is for testing php... Any more ideas? :confused: |
oooh! found the problem
I doubled checked the permissions and I had set the directory right but it didn't pass the settings down :rolleyes: Anyways it's working find now! Thanks for your help! :D |
All times are GMT -5. The time now is 01:05 AM. |