FlexCMS with PHP SuExec Started August 14, 2007 @ 6:18pm by DCSun
(This thread is currently Locked)
FlexCMS with PHP SuExec
August 14, 2007 @ 6:18pm
Many hosting companies and server administrators are switching their servers over to a PHP SuExec type setup for better security. This information will help you use FlexCMS on those servers.
If you're installing a new site using FlexCMS v2.5, it contains chmod options to allow you to specify the permissions for the files and folders it creates.
For existing installations being moved to a server with PHP SuExec installed, you'll most likely need to lower the permissions on your folders to 755 and your files to 644. You can either do this manually, or download this script to do it for you. To use the script, just unzip and upload the chmod.php file to your site's main directory, then run it from a browser. Note that it will chmod all files and folders in and below the folder it's run from to 755 for folders and 644 for files.
If you're using the .htaccess file provided with FlexCMS to convert index.php to something else without the .php, you'll also need to make a minor change to it to resolve the "500 Error" you're most likely now getting. Instead of "ForceType" you can use "SetHandler" for the same effect. So your .htaccess might look like this: