[BlueOnyx:13171] Fwd: Spotweb Installation - PHP - Open_basedir errors

Simon Cummings simon at slproperty.co.uk
Tue Jun 4 09:18:19 -05 2013


Hi,

I'm installing SpotWeb on my 5108R installation and I'm getting an
'open_basedir' error.

When I attempt to login, run a PHP script from the CLI (php retrieve.php) I
get a Open_basedir error.

So I thought it was a permissions problem, but it nows look to be PHP
config related.

So some information first:
Path to SpotWeb files: /home/.sites/143/site2/web
open_basedir values from from info.php:
Local Value:
/var/lib/php/session/:/usr/sausalito/configs/php/:home/.sites/143/site2
Master Value: /tmp/:user/sausalito/configs/php/:/var/lib/php/session/

Permissions:

Owner: apache

Group:site2


Here's the error when attempting to run: php
/home/.sites/143/site2/web/upgrade-db.php

PHP Warning: chdir(): open_basedir restriction in effect.
File(/home/.sites/143/site2/web) is not within the allowed path(s):
(/tmp/:/usr/sausalito/configs/php/:/var/lib/php/session/) in
/home/.sites/143/site2/web/upgrade-db.php on line 10
PHP Warning: require_once(): open_basedir restriction in effect.
File(/home/.sites/143/site2/web/lib/SpotClassAutoload.php) is not within
the allowed path(s):
(/tmp/:/usr/sausalito/configs/php/:/var/lib/php/session/) in
/home/.sites/143/site2/web/upgrade-db.php on line 13
PHP Warning:
require_once(/home/.sites/143/site2/web/lib/SpotClassAutoload.php): failed
to open stream: Operation not permitted in
/home/.sites/143/site2/web/upgrade-db.php on line 13
PHP Fatal error: require_once(): Failed opening required
'lib/SpotClassAutoload.php'
(include_path='.:/usr/share/pear:/usr/share/php') in
/home/.sites/143/site2/web/upgrade-db.php on line 13

This would suggest an issue with the PHP config.... I think. Do anyone have
any ideas??

Many thanks,

Simon.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20130604/b8da63d6/attachment.html>


More information about the Blueonyx mailing list