I am using LAMP server on my Ubuntu 12.04 system. Before this time I have installed prestashop without any issues. But after a long time when I tried to install prestashop today, it really showed me a strange error. The error is like this:
Warning: require(/var/www/Prestashop/config/config.inc.php): failed to open stream: Permission denied in /var/www/Prestashop/index.php on line 27 Fatal error: require(): Failed opening required '/var/www/Prestashop/config/config.inc.php' (include_path='.:/usr/share/php:/usr/share/pear/PEAR') in /var/www/Prestashop/index.php on line 27
For that I decided to debug the error so I went through many blogs and forums and I checked my php.ini file. The file is like this.
After going through many blogs someone had said that the error is for php pear package the link is here.
After that I just made edit my php.ini pear url like this:
;UNIX: "/path1:/path2" include_path = ".:/usr/share/php:/usr/share/php/PEAR"
After that I just restarted my apache server but it did not worked for me. The same error is coming. So here can someone kindly tell me what's the issue here? and how to solve this?