[BlueOnyx:05802] New install, but PHP is not working.

Willie Yeo willie at singapore.com
Fri Nov 12 17:16:04 -05 2010


I recently had to migrate servers, so I installed a completely new server at the new hosting provider, and then did a CMUexport / CUMimport between two BlueOnyx boxes.

The new box I installed, it updated all the patches, and then I imported (fine, no errors seen) all the sites in.

Someone just pointed to me that PHP doesn't work. It's not just site based, but server-wide (coz I tried to go into the server's webmail). The results shows:

Nothing is changed .. it's a standard BO install.
<?php
/**
* index.php
*
* Redirects to the login page.
*
* @copyright © 1999-2006 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id: index.php,v 1.14.2.7 2006/02/03 22:27:46 jervfors Exp $
* @package squirrelmail
*/
// Are we configured yet?
f( ! file_exists ( 'config/config.php' ) ) {
   echo '<html><body><p><strong>ERROR:</strong> Config file ' .
       '"<tt>config/config.php</tt>" not found. You need to ' .
       'configure SquirrelMail before you can use it.</p></body></html>';
   exit;

// If we are, go ahead to the login page.
eader('Location: src/login.php');
?>

Error log:
[Fri Nov 12 23:54:47 2010] [error] [client x.x.x.x] PHP Warning:  Unknown: open_basedir restriction in effect. File(/home/.sites/33/site
5/web/fence.php) is not within the allowed path(s): (/tmp/:/var/lib/php/session/) in Unknown on line 0
[Fri Nov 12 23:54:47 2010] [error] [client x.x.x.x] PHP Warning:  Unknown: failed to open stream: Operation not permitted in Unknown on
line 0
[Fri Nov 12 23:54:47 2010] [error] [client x.x.x.x] PHP Warning:  Unknown: Failed opening '/home/.sites/33/site5/web/fence.php' for in
clusion (include_path='.:/usr/share/pear:/usr/share/php') in Unknown on line 0

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


More information about the Blueonyx mailing list