, Guest!
Already a Member? Login or Register.

Menu



Showcase


Due to the volume of spam happening on our forums, posting is now restricted to verified members only.  If you're not verified, drop us a note with your username.

Home > FlexCMS Support Forum > User Help > FAQ's: General > FlexCMS with PHP SuExec

FlexCMS Support Forum


FlexCMS with PHP SuExec
Started August 14, 2007 @ 6:18pm by DCSun
(This thread is currently Locked) 
DCSun
Administrator



Posts: 625
 
FlexCMS with PHP SuExecAugust 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:
Code

<Files yournewname>
SetHandler application/x-httpd-php
</Files>



FlexCMS v3.2 Has Been Released!
 

(This thread is currently Locked) 




Try & Buy FeedForAll - Easy to use RSS Feed Creator - great for iTunes users!

MEMBERS




All Contents, Code, Scripts and Technologies Copyright 2003-2009 FlexCMS.
All Rights Reserved. Software License Agreement

Processing Time: 0.11241 seconds.
 
Management Login

Powered By FlexCMS
Powered By FlexCMS