Current time: 04-25-2024, 09:20 AM Hello There, Guest! (LoginRegister)


Post Reply 
pear libs
Author Message
warrez Offline


Posts: 1
Joined: Aug 2008
Reputation: 0
Post: #1
pear libs
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
12-13-2008 06:21 AM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #2
RE: pear libs
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.
12-13-2008 06:24 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)