8.4.4 installation issue: Internal server error and SoftException
Permalink
While trying to install 8.4.4, I got "Internal server error" and going through the server logs, I found this entry:
SoftException in Application.cpp:267: File "/home/dev/public_html/concrete5-8.4.4/index.php" is writeable by group
Not sure what "SoftException" error means.
Using Apache server, PHP7.0.
SoftException in Application.cpp:267: File "/home/dev/public_html/concrete5-8.4.4/index.php" is writeable by group
Not sure what "SoftException" error means.
Using Apache server, PHP7.0.
Change the file permissions to '0644'
I already did that. It didn't work.
When I changed the permissions, I got the same error but with a different line number "Application.cpp:657":
SoftException in Application.cpp:657: Directory "/home/dev/public_html/concrete5-8.4.4" is writeable by group
When I changed the permissions, I got the same error but with a different line number "Application.cpp:657":
SoftException in Application.cpp:657: Directory "/home/dev/public_html/concrete5-8.4.4" is writeable by group
have you tried 0755 ?
you need to change permission for files only, not full project dir.
you need to change permission for files only, not full project dir.
'0644' for all PHP based files and '0755' for directories
may this will helps :
sudo find . -name ‘*.php’ | xargs chmod 644
sudo find . -type d | xargs chmod 755
may this will helps :
sudo find . -name ‘*.php’ | xargs chmod 644
sudo find . -type d | xargs chmod 755
Yes you are correct. I didn't realise that before. I also changed all files other than php to 644. I think that's how they are meant to be. Thanks.
I just ran into this issue on Bluehost - I unzipped a fresh install onto the server and got a 500 error. Turns out composer.lock, composer.json, and index.php were "0664" permission and not "0644" like they should have been. have no idea why that happened but switching them to "0644" solved the problem.
Just a follow-up to this - it seems that when you extract a zipped folder through Bluehost's file manager, it chooses 0664 permissions for files (seems like this is a wordpress thing) - but when you manually upload the extracted files through an ftp client they come in as 0644.