Current time: 11-25-2024, 08:50 AM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] PHP.ini changes do not stick
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #18
RE: PHP.ini changes do not stick
Ok, Seem the php5-starter script was not complete (since some days... update?)

Before it was:
Code:
#!/bin/sh

umask 022

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

TMPDIR="{WWW_DIR}/{DMN_NAME}/phptmp"
export TMPDIR

#PHP_FCGI_CHILDREN=2
export PHP_FCGI_CHILDREN

exec {PHP5_FASTCGI_BIN}

and afterwards:
Code:
#!/bin/sh

umask 022

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

TMPDIR="{WWW_DIR}/{DMN_NAME}/phptmp"
export TMPDIR

PHP_FCGI_CHILDREN=0

First: we see that in all old domains the PHPRC was commented out -> this means that the domain has no own php.ini - the general is taken.

Second is the other problem - the new domain did not execute the php binary at all - the starter script was cut...

So - I corrected...
Have a look at /etc/ispcp/fcgi/parts/php5-fcgi-starter.tpl

/Joxi
Addon:
you may now correct all the php5-starter-scripts in /var/www/fcgi/domsin/... so they make use of their own php.ini.
Just remove the comment signs before the PHPRC line.... I'd also remove the # before the children line... maybe put a higher number there...

/J
(This post was last modified: 02-29-2012 12:55 PM by joximu.)
02-29-2012 12:46 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: PHP.ini changes do not stick - ShinZan - 02-09-2012, 06:52 AM
RE: PHP.ini changes do not stick - joximu - 02-10-2012, 09:11 AM
RE: PHP.ini changes do not stick - ShinZan - 02-14-2012, 01:25 AM
RE: PHP.ini changes do not stick - joximu - 02-14-2012, 03:13 AM
RE: PHP.ini changes do not stick - ShinZan - 02-14-2012, 03:31 AM
RE: PHP.ini changes do not stick - joximu - 02-14-2012, 03:36 AM
RE: PHP.ini changes do not stick - rethus - 02-14-2012, 08:33 PM
RE: PHP.ini changes do not stick - ShinZan - 02-26-2012, 04:47 PM
RE: PHP.ini changes do not stick - joximu - 02-15-2012, 12:45 AM
RE: PHP.ini changes do not stick - ShinZan - 02-16-2012, 12:37 AM
RE: PHP.ini changes do not stick - joximu - 02-16-2012, 09:33 AM
RE: PHP.ini changes do not stick - platix - 02-26-2012, 08:21 AM
RE: PHP.ini changes do not stick - ShinZan - 02-26-2012, 03:24 PM
RE: PHP.ini changes do not stick - joximu - 02-28-2012, 12:21 PM
RE: PHP.ini changes do not stick - ShinZan - 02-28-2012, 02:05 PM
RE: PHP.ini changes do not stick - joximu - 02-28-2012, 08:57 PM
RE: PHP.ini changes do not stick - joximu - 02-29-2012 12:46 PM
RE: PHP.ini changes do not stick - ShinZan - 02-29-2012, 02:29 PM

Forum Jump:


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