PHPExcel Permission Denied

Posted August 27, 2014 10.3k views

Can Someone Help me with this Error

Warning: fopen(Diagnosis.xls): failed to open stream: Permission denied in /var/www/ on line 90 Fatal error: Uncaught exception ‘Exception’ with message 'Can’t open Diagnosis.xls. It may be in use or protected.’ in /var/www/ Stack trace: #0 /var/www/ PHPExcelSharedOLEPPSRoot->save('Diagnosis.xls’) #1 /var/www/ PHPExcelWriterExcel5->save('Diagnosis.xls’) #2 {main} thrown in /var/www/ on line 93

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

chmod 755 /var/www/