PHPExcel Permission Denied

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/ PHPExcel_Shared_OLE_PPS_Root->save(‘Diagnosis_.xls’) #1 /var/www/ PHPExcel_Writer_Excel5->save(‘Diagnosis_.xls’) #2 {main} thrown in /var/www/ on line 93

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

chmod 755 /var/www/