Roundcube Community Forum

 

Install error - PHP version

Started by juliaG, March 26, 2008, 10:51:19 AM

Previous topic - Next topic

juliaG

On the first page of the installation wizard I'm getting:

Checking PHP version
Version: NOT OK(PHP Version 4.3.1 or greater is required)

However, when I check info.php - I'm getting: PHP Version 4.3.9

I'm on a linux box with Redhat

any ideas?

quizz

same here on 0.1-stable, any solutions?

blackace

#2
I had the same problem and found out you need PHP 5.2 or higher. You need to upgrade to a newer version of PHP.

________________

Moved from another thread by rosali:

I installed it and now I am getting an error:


QuoteFatal error: Undefined class name 'rcube_install' in /home/XXXXXX/public_html/XXXXXXX/release/installer/index.php on line 31


I checked the error log and this is what it says.

QuotePHP Parse error:  syntax error, unexpected T_OBJECT_OPERATOR in /home/XXXXXX/public_html/XXXXXX/release/program/include/main.inc on line 74


Now I did a search here and came up with a possible version error and add

AddType x-mapp-php5 .php

to .htaccess

I tried this and have no luck?

Now I am no master of PHP or SQL or a great webmaster but I have questions in regards the the DB and the sql file. I am using MySql version 5 on my site. Every PHP app that requires a database that I have ever installed required a username, password and DB name in the sql file to associate the slq file to the db. I didn't see that anywhere in the installation files of roundcubemail maybe I am missing something or maybe that is why I am getting an error?

I contacted my webhost and this is what they said. I can create custom php.ini files. How do I create one and where do I put it?

rosali replied:
Error in main.inc tells me that you don´t have PHP 5.2 or higher.

MyRoundcube expects a working default Rouncube v2.0 beta installation. Rouncube installer will create database.

I just checked. I have version PHP version 4.4.9.

blackace replied:

Now what? Can I install it?

rosali replied:

No, you can´t. Neither default Roundcube nor my customized branch. Both require PHP 5.2 or higher.

blackace replied:

I was able to upgrade my account to PHP version 5.2.6. But now I am getting an error

QuoteChecking php.ini/.htaccess settings
file_uploads:  OK
session.auto_start:  OK
magic_quotes_gpc:  NOT OK(is '1', should be '0')
magic_quotes_sybase:  OK
zend.ze1_compatibility_mode:  OK

Sorry but your webserver does not meet the requirements for RoundCube!
Please install the missing modules or fix the php.ini settings according to the above check results.
Hint: only checks showing NOT OK need to be fixed.

I finally got it to work!!! HORRRRAAAAYYYYYY!!!!!!!!:D:)