I am developing an application in the FatFree framework, and now I am trying to deploy it to a server. Everything seems to be fine when I run it on the local host.
However, when I deployed it to the server and tried 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 gave 777 permissions to the webapp folder, so chmod() should be allowed. The above indicates an error front_page.php while servicing the template file front_page.php .
How can i fix this?
source share