[BlueOnyx:04114] Re: Typo3 php problem
Ken Marcus - Precision Web Hosting, Inc
kenlists at precisionweb.net
Tue Mar 23 11:07:54 -05 2010
----- Original Message -----
From: "Chris Gebhardt - VIRTBIZ Internet" <cobaltfacts at virtbiz.com>
> Uwe Spreckelmeyer wrote:
>> Try this for TYPO:
>>
>> 1. Edit /etc/httpd/conf/vhosts/sitexxx.include
>>
>> <Directory "/home/.sites/xx/sitex/web/">
>> AllowOverride all
>> Options +FollowSymLinks +SymLinksIfOwnerMatch
>> Order allow,deny
>> Allow from all
>> </Directory>
>>
>> 2. Set Safe Mode Off
>>
>> 3. service httpd restart
>
> Thanks, Uwe. All done, but still no joy.
> I appreciate the suggestions, though. Here are the errors I'm getting:
>
>
> [Tue Mar 23 09:57:27 2010] [error] [client 208.77.151.18] PHP Warning:
> Unknown: open_basedir restriction in effect.
> File(/home/.sites/143/site2/web/index.php) is not within the allowed
> path(s): (/tmp/:/var/lib/php/session/:/usr/bin/php) in Unknown on line 0
> [Tue Mar 23 09:57:27 2010] [error] [client 208.77.151.18] PHP Warning:
> Unknown: failed to open stream: Operation not permitted in Unknown on line
> 0
> [Tue Mar 23 09:57:27 2010] [error] [client 208.77.151.18] PHP Warning:
> Unknown: Failed opening '/home/.sites/143/site2/web/index.php' for
> inclusion (include_path='.:/usr/share/pear:/usr/share/php') in Unknown
> on line 0
>
>
> --
Chris
If the error is
is not within the allowed path(s):
(/tmp/:/var/lib/php/session/:/usr/bin/php)
then I don't think you have the /home/.sites/143/site2 where it needs to be
in the conf file.
Possibly find the
/tmp/:/var/lib/php/session/:/usr/bin/php)
and change it to the line below
/tmp:/var/lib/php/session:/usr/bin/php:/home/.sites/143/site2
I think the directories work better without the trailing slashes.
If you have the :/home/.sites/143/site2 then it should show up in the
error message.
----
Ken Marcus
Ecommerce Web Hosting by
Precision Web Hosting, Inc.
http://www.precisionweb.net
More information about the Blueonyx
mailing list