I have been developing an app in FatFree framework and now I am trying to deploy it on a server. Everything seems to be fine when I am running it on localhost.
However, when I have deployed it on the server and trying to access it, it gives me a strange error which is -
Internal Server Error
chmod(): Operation not permitted
#0 /var/www/webapp/inc/main.php:62 Template::serve('front_page.php')
#1 /var/www/index.php:65 F3::run()
I have given 777 permissions to the webapp
folder so chmod()
should be allowed. The above suggests that there is an error while serving the template file front_page.php
.
How can I fix this?
For this you have to give the permissions recursively using -R for your "webapp" folder
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With