[TYPO3-install] SAFE MODE -- which php.ini?

Mark Grieveson dg135 at torfree.net
Sun May 27 17:02:52 CEST 2007


On Sun, 27 May 2007 12:15:21 +0200
Axel Hinz <news at apfelix.net> wrote:

> hi mark,
> 
> typo3-install-request at lists.netfielders.de schrieb:
>  > It also frequently tells me that "No values were changed, so
>  > nothing is updated!"  php.ini file indicates that safe mode is
>  > off.  So, I find this confusing.
> 
> are you sure the desired php.ini is the config file for apache? using
> debian etch as well, i'd rather expect
> 
> /etc/php5/apache2/php.ini or
> /etc/php4/apache2/php.ini
> 
> to be the one in question. you can check it with the phpinfo() of the
> install tool.
> 
> cu
> axl
> 

Here is some more detail:

From phpinfo():
OTHER: PHP_VERSION  : 4.4.4-8+etch3

Configuration File (php.ini) Path /etc/php4/apache2/php.ini

From /etc/php4/apache2/php.ini:
safe_mode = Off

Also, from /etc/php5/apache2/php.ini:
safe_mode = Off

The error from the install tool reads:
Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The
script whose uid is 0 is not allowed to
access /var/lib/typo3-dummy/typo3temp owned by uid 33
in /usr/share/typo3/typo3_src-4.0/t3lib/class.t3lib_div.php on line 2496

Line 2496 of class.t3lib_div.php reads:
if (mkdir($theNewFolder,
octdec($GLOBALS['TYPO3_CONF_VARS']['BE']['folderCreateMask']))){

Thanks for your feedback.  All ideas appreciated.

Mark


More information about the TYPO3-install mailing list