I created a ubuntu web server with apache2 and php mysql, and every thing working. when i put all the files in code igniter zip folder to /etc/var/www folder the codeigniter welcome screen is displaying. but when i replace the default application folder with my application folder it gives an error.
Warning: require(../application/config/constants.php): failed to open stream: Permission denied in /opt/share/php/system/core/CodeIgniter.php on line 64
Fatal error: require(): Failed opening required '../application/config/constants.php' (include_path='.:/opt/share/php/system:/usr/share/php') in /opt/share/php/system/core/CodeIgniter.php on line 64and also i had given to all folders 777 permistions but still showing this error.
any ideas to correct this ?