Re: [Mod-fcgid-users] mod_fcgid, php-fcgi and PHPRC

2008-06-13 Thread Igor R.
Hi All, Thanks to all who responded regarding my issue. I solved it with the help of writting the wrapper with the following content: #!/bin/bash USER=`id -un` export HOME=`/usr/sbin/pw user show $USER | awk -F ":" '{print $9}'` export PHPRC=$HOME/public_html/php.ini export PHP_FCGI_CHILDREN=0 e

Re: [Mod-fcgid-users] mod_fcgid, php-fcgi and PHPRC

2008-06-13 Thread Tobias Wiersch
Hi Igor, Igor R. schrieb: > But I don't want to make a new wrapper and change PHPRC variable after each > new user creation. > I patched suexec to do this (to get rid of the wrapper-script). My suexec is allowed to only call the php-exe and nothing else. In addition, I put in PHPRC and PHP_FC

Re: [Mod-fcgid-users] mod_fcgid, php-fcgi and PHPRC

2008-06-12 Thread [EMAIL PROTECTED]
On Wed, 11 Jun 2008 18:44:15 +0300 "Igor R." <[EMAIL PROTECTED]> wrote: > Hello All, > > Havng read a lot of articles about FastCGI, I decided to use this > module to speed up processing of php and RoR applications. > I use CPanel as a hosting panel. And I use Apache with suexec > support as a w

Re: [Mod-fcgid-users] mod_fcgid, php-fcgi and PHPRC

2008-06-11 Thread Weedy
You can't last I looked, you could hack cpanel to make the script for you. Paths need to be absolute. On Wed, Jun 11, 2008 at 11:44 AM, Igor R. <[EMAIL PROTECTED]> wrote: > Hello All, > > Havng read a lot of articles about FastCGI, I decided to use this module to > speed up processing of php and