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
exec /usr/local/cpanel/cgi-sys/php5.bin

the code was created for  FreeBSD, that's why it will be requiered to
correct this code in for $HOME varible processing for Linux, for instance in
such a way:

HOME=`/bin/cat /etc/passwd | grep $USER: | awk -F ":" '{print $6}'`

--
Regards,
Igor R.
Technical Support Teamleader
WebHostingBuzz.com
 



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users

Reply via email to