PHPExcel Permission Denied

August 27, 2014 6.9k 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

1 Answer

chmod 755 /var/www/

Have another answer? Share your knowledge.