CustomBuild PHP 5 + fastcgi, without suPHP?

lkbryant

Verified User
Joined
Aug 16, 2005
Messages
283
does custombuild have this feature?
to run php 5 + fastcgi, but without suPHP?

am i missing something here? is suPHP a mandatory thing when you want to use fastcgi?

currently, suPHP is breaking a lot of php scripts on the server and i have to keep going back to mod_php.

because most of the time, a client will not know how to chmod their files without group access since thats how they are used to doing, things like doing chmod 777 on some certain files. and suPHP will throw error when any file is over 755.

but id really like to use fastcgi over mod_php, main reason is the use of mpm-worker for multi-core

any suggestions or idea?

smtalk?
 
I need to do the same thing because of XCache.

Is there someone who patched custombuild to install the correct files (httpd.conf, httpd-php-handlers.conf and users virtualhosts)?

Or is there some option I don't know about?

I can modify them manually, but DirectAdmin or custombuild would eventually rewrite them.

Is there any other method to keep those files as they are?

Thank you,

Martino Dell'Ambrogio

EDIT: it seems that there is something about it...
Code:
./data/templates/virtual_host2.conf:31:|*if SUPHP="1"|
... but I can't find where this var is set.

I can of course create a couple custom/ files, but if there is something already written I'd prefer to use it... because I don't want to check for differences at any custombuild or DirectAdmin update.

EDIT2: here is my solution: http://www.directadmin.com/forum/showpost.php?p=124878&postcount=450
 
Last edited:
Back
Top