hi.
i have a vps, so can run PHP however.
Can somebody expound on the pro’s vs cons of suPHP vs running as Apache user?
I am referencing post here:
http://modxcms.com/forums/index.php/topic,37177.msg224770.html#msg224770
I am running as Apache user.
What do you recommend?
Thanks.
Radified,
VPS guide, Revo 206 Traditional, PHP 534, suPHP, MySQL 5151, Apache 2217, CentOS 5.5 on Virtuozzo VPS.
-
☆ A M B ☆
- 24,524 Posts
I always prefer using suPHP or some form of suexec. When you do, you don’t have to have any files or directories world-writable, and anything uploaded by you ssh or ftp user can be manipulated by the php scripts you’ve previously uploaded.
-
☆ A M B ☆
- 427 Posts
suPHP takes it further than per user. You can also select options such as read only.
We use both PHPsuExec and suPHP to wrap our sites in.
changed to suPHP.
No longer having permission/user/chmod problems.
I like it much better this way.
Radified,
VPS guide, Revo 206 Traditional, PHP 534, suPHP, MySQL 5151, Apache 2217, CentOS 5.5 on Virtuozzo VPS.
-
☆ A M B ☆
- 427 Posts
much simpler that way