Hello, my php.ini file include paths for my centos system are:
include_path = ".:/usr/share/pear:/usr/lib/ZendLib:/usr/lib/ExcelWriter/Classes"
I have a file stored in my document root that uses the classes located in my include path, but the files in my document root can't be able to find the include paths.
Here is what the error log spat out:
[Wed Nov 05 09:45:21 2008] [error] [client 131.210.92.84] PHP Warning: include(PHPExcel.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /var/www/vhosts/andydaykin.com/httpdocs/excel/processExcel.php on line 9
[Wed Nov 05 09:45:21 2008] [error] [client 131.210.92.84] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening 'PHPExcel.php' for inclusion (include_path='.:/usr/share/pear:/usr/lib/ZendLib:/usr/lib/ExcelWriter/Classes') in /var/www/vhosts/andydaykin.com/httpdocs/excel/processExcel.php on line 9
[Wed Nov 05 09:45:21 2008] [error] [client 131.210.92.84] PHP Warning: include(PHPExcel/Writer/Excel2007.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /var/www/vhosts/andydaykin.com/httpdocs/excel/processExcel.php on line 10
[Wed Nov 05 09:45:21 2008] [error] [client 131.210.92.84] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening 'PHPExcel/Writer/Excel2007.php' for inclusion (include_path='.:/usr/share/pear:/usr/lib/ZendLib:/usr/lib/ExcelWriter/Classes') in /var/www/vhosts/andydaykin.com/httpdocs/excel/processExcel.php on line 10
[Wed Nov 05 09:45:21 2008] [error] [client 131.210.92.84] PHP Fatal error: Class 'PHPExcel' not found in /var/www/vhosts/andydaykin.com/httpdocs/excel/processExcel.php on line 13
I was able to get my include paths working on windows when I was doing testing, but I'm having problems on centos now 🙁