View Single Post
  #2  
Old 9th April 2006, 04:07
awd.pt awd.pt is offline
Member
 
Join Date: Apr 2006
Location: Ericeira/Porugal
Posts: 57
Thanks: 9
Thanked 3 Times in 2 Posts
Send a message via MSN to awd.pt
Default

Quote:
Originally Posted by malikp
I just installed ISP config on Ubuntu Breezy 5.10
Web server, email and DNS works fine.
I try to install SquirrelMail and get is to this PHP problem
I configure the SquirrelMail
and try to access the log in page and get this error
http://mail.test.com
<?php

/**
* index.php
*
* Redirects to the login page.
*
* @copyright &copy; 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?
if( ! file_exists ( 'config/config.php' ) ) {
echo '<html><body><p><strong>ERROR:</strong> Config file ' .
'&quot;<tt>config/config.php</tt>&quot; 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.
header('Location: src/login.php');

?>
Then I try to create this a test page with following then I can see same thing in the web browser.
<?php
phpinfo();
php?>
But ISP config works fine. I have no idea what else to look.
This is nothing related with ISPConfig since ISPConfig runs a separated HTTP server.
I've recently a problem like yours and it was related with apache configuration and php module (I had a mess of php-4 and php-5 ). I solved by rpm -e php httpd and yum -y install httpd php. Not the right or best way to solve it, but it worked for me.

srosa
Reply With Quote