Jump to content

[SOLVED] Weird Error Messages...


amonk

Recommended Posts

Hi,

I've just set up a CentOS partition on my disk (was just XP), as a development machine.

I have run all the updates, installs I need, MySQL is working, same for Apache and its mod_userdir, phpMyAdmin.

Here's my problem -

I just rebooted my system and browsed to a page that gives 4 warnings:

Warning: include(includes/header.html) [function.include.html]: failed to open stream: Permission denied in /var/www/html/learn_php/index.php on line 7

 

Warning: include() [function.include.html]: Failed opening 'includes/header.html' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/learn_php/index.php on line 7

 

Warning: include(includes/footer.html) [function.include.html]: failed to open stream: Permission denied in /var/www/html/learn_php/index.php on line 11

 

Warning: include() [function.include.html]: Failed opening 'includes/footer.html' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/learn_php/index.php on line 11

 

Anyone got any ideas about why this is happening? I've already got quite a bit of experience with PHP, but I have never had this problem before... - Even when I installed this same version of PHP on IIS 5.1 running on my XP partition!

Link to comment
https://forums.phpfreaks.com/topic/152556-solved-weird-error-messages/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.