[TYPO3-debian] SAFE MODE
Steffen Müller
typo3 at t3node.com
Mon May 28 15:29:44 CEST 2007
Hi.
If you're not interested in safemode at all, simply turn it off and your
problem should be solved. Try safe_mode = Off also in etc/php4/cgi/php.ini
If you are sure that you need the safemode features, learn about php
safemode restrictions and read:
http://www.php.net/manual/en/features.safe-mode.php
Then keep on reading this mail.
On 28.05.2007 05:26 Mark Grieveson wrote:
>
> 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
>
So what does this warning wants to tell us here? A permission problem,
caused by a difference in file owner and apache user.
Check the user which runs Apache2 (and tell us the output):
user at host:~$ grep -E "^(User|Group)" /etc/apache2/apache2.conf
it should be www-data
check the owner of the files the typo3_src and site directory.
user at host:~$ ls -l /usr/share/typo3/typo3_src-4.0
user at host:~$ ls -l /var/lib/typo3-dummy/typo3conf
Maybe it simply helps to turn on safe_mode_gid in php.ini and
user at host:~$ chgrp -R www-data /var/lib/typo3-dummy/
If not, change the owner of your TYPO3 files to the Apache User.
--
cheers,
Steffen
More information about the TYPO3-debian
mailing list