ispCP - Board - Support
pear libs - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Suggestions (/forum-2.html)
+--- Thread: pear libs (/thread-5123.html)



pear libs - warrez - 12-13-2008 06:21 AM

Hi,

the sytem.php of the pear libs needs some $_env["vars"] for the tmpdir,
otherwise the users get's open_basedir errors.

I would propose to put them to the php5-fcgi-starter.tpl like:


PHPRC="{PHP_STARTER_DIR}/{DMN_NAME}/php5/"

export PHPRC
PHP_FCGI_CHILDREN=0
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=500
export PHP_FCGI_MAX_REQUESTS
TMPDIR="{WWW_DIR/DMN_NAME/phptmp"
export TMPDIR

exec {PHP5_FASTCGI_BIN}

Regards


RE: pear libs - sci2tech - 12-13-2008 06:24 AM

A proposal already exists. I prepare a patch for this but we need to establish if this suppose to be implemented in ISPCP or not. Take a look at http://www.isp-control.net/ispcp/ticket/1579 , where you will find the patch, and sustain your cause Wink.