Elxis CMS Forum

Support => Installation => Topic started by: rentasite on August 24, 2007, 11:51:15

Title: Enable phpSuExec or not?
Post by: rentasite on August 24, 2007, 11:51:15

Hi, a few days ago I had an issue on one of my VPS. I can determine what caused the problem by enabling phpSuExec.

Should i or should i not enable it??? Will i have problems with Elxis installations? Because...

As we know phpSuExec makes all PHP scripts execute as the actual user account, not as the 'nobody' user. The negative side to phpSuExec is that it requires all files to be set as 755 (permissions) or lower - 777 will not work anymore. Also, .htaccess files cannot contain php_value, php_flag, or AddType directives.



Title: Re: Enable phpSuExec or not?
Post by: rentasite on August 25, 2007, 17:37:34

No one?  :(
Title: Re: Enable phpSuExec or not?
Post by: datahell on August 25, 2007, 19:27:04
Most probably you will have write problems to some files but this depends from how you have set up your site. No file should have permissions more than 666! The most secure option is to have files owned by local user and chmod to 644. We do not give guidelines for setting up your servers. We are supporting only Elxis CMS from here.
Title: Re: Enable phpSuExec or not?
Post by: rentasite on August 25, 2007, 23:29:08

Yes i know John. The question was related with the file permissions, only.
Title: Re: Enable phpSuExec or not?
Post by: rentasite on August 26, 2007, 14:04:07
No file should have permissions more than 666! The most secure option is to have files owned by local user and chmod to 644.

Finally i enabled phpSuExec. But i get this message: "Error creating feed file, please check write permissions".

Any idea what permission i should set to which file/folder?
Title: Re: Enable phpSuExec or not?
Post by: datahell on August 26, 2007, 14:12:56
Feed files are RSS/XML files located inside the cache directory. Cache and tmpr folders must be definately writable! Some other files/folders must also be writable (for example flood blocker, defender log files). I suggest you to not enable phpsuexec.
Title: Re: Enable phpSuExec or not?
Post by: rentasite on September 15, 2007, 11:09:35
I suggest you to not enable phpsuexec.

I think keeping PHPSuexec enabled, is better due to security reasons. Even if we may face problems, with ELXIS file's and folder's  permissions. 

I would like to hear any other opinions. Especially if any one else has enabled PHPSuexec.

Title: Re: Enable phpSuExec or not?
Post by: Farhad Sakhaei on September 20, 2007, 16:48:05
use ftp and set it in global configuration ... may be your problem solve
Title: Re: Enable phpSuExec or not?
Post by: rentasite on September 20, 2007, 17:06:01

set what........ in global configuration  ???
Title: Re: Enable phpSuExec or not?
Post by: Farhad Sakhaei on September 20, 2007, 17:36:02
so all files will writable through enabled ftp ... and you don't need to change any file permission