Yesterday I tried to install PHP 8.2 but it failed as there was no space.
After deleting some backup files and run again php build and suddenly all websites with php-fpm become down and displayed an error:
After I have to rebuild to mod_php and it worked for most of the sites but some of them doesn't work. Mostly doesn't work for websites written in Laravel using a custom path and both of them have the same error:
mostly caused by writing data to files with "file_put_contents". Folders have permission 775 but still unless it's 777 which is really not good!
Any ideas on how to make php-fpm work? any solution?
Update: BTW, with FastCGI build Laravel related websites work fine.
After deleting some backup files and run again php build and suddenly all websites with php-fpm become down and displayed an error:
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
After I have to rebuild to mod_php and it worked for most of the sites but some of them doesn't work. Mostly doesn't work for websites written in Laravel using a custom path and both of them have the same error:
failed to open stream: Permission denied
mostly caused by writing data to files with "file_put_contents". Folders have permission 775 but still unless it's 777 which is really not good!
Any ideas on how to make php-fpm work? any solution?
System: CentOS Linux release 7.9.2009 (Core)
Update: BTW, with FastCGI build Laravel related websites work fine.
Last edited: