Roundcube Community Forum

 

Requirements.

Started by IPAddress, April 06, 2009, 09:51:35 AM

Previous topic - Next topic

IPAddress

Hi!
Im running DirectAdmin 1.33.2 on a CentOS 5 Final.
Upgrading DirectAdmin, it gave me this:
------------------------------------------
Roundcube version 0.1 has been found your system.
The locations on disk are within /var/www/html in the folder(s):
/var/www/html/roundcubemail-0.1-rc1
These locations have been disabled by means of chmod to 0 for security reasons.
Please update roundcube to 0.2 or higher and remove any old versions.
Roundcube Update: 0.2 - DirectAdmin Forums
-------------------------------------------

So i download the Roundcube 0.2 version, and when i try to open roundcube i get this:
-------------------------------------------
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /var/www/html/roundcubemail-0.2.1/program/include/main.inc on line 74
-------------------------------------------

Searching on internet i've found out that the problem was that i was using PHP4 as the default PHP for Roundcub, so i've edited the .htacccess on the DirectAdmin to use PHP5, editing the file "/var/www/html/roundcube/.htaccess", now it look like this:
-------------------------------------------
# AddDefaultCharset     UTF-8
AddType text/x-component .htc


php_flag        display_errors  Off
php_flag        log_errors      On
php_value       error_log       logs/errors

php_value       upload_max_filesize     5M
php_value       post_max_size   6M
php_value       memory_limit    64M

php_value       zlib.output_compression 0
php_value       magic_quotes_gpc        0
php_value       zend.ze1_compatibility_mode     0

php_value       session.auto_start      0
php_value       session.gc_maxlifetime  21600
php_value       session.gc_divisor      500
php_value       session.gc_probability  1

# PHP Bugs: #30766: mail() adds headers and encodes the body
php_value       mbstring.func_overload  0



RewriteEngine On
RewriteRule ^favicon.ico$ skins/default/images/favicon.ico


Order deny,allow
Allow from all
-------------------------------------------



However it still gives me the same error, so looking at the requeriments (http://trac.roundcube.net/wiki/Howto_Requirements):

* Apache or Lighttpd (>=1.4.13 for ssl) Webserver (OK, i have apache 1.3.37)
* .htaccess support allowing overrides for DirectoryIndex if using Apache (Ho can i check this?)
* PHP Version 5.2.1 or greater with (OK)
  o PCRE (Perl compatible Regular Expression) (OK)
  o Session support (OK)
  o Sockets enabled (OK)
  o Libiconv (recommended) (OK)
  o OpenSSL (recommended) (OK)
  o Mbstring (optional) (OK)
  o FileInfo (optional) (OK)
  o Mcrypt (optional) (OK)
* php.ini options:
   o error_reporting E_ALL & ~E_NOTICE (or lower) (OK)
   o file_uploads on (for attachment upload features) (OK)
   o memory_limit (increase as suitable to support large attachments) (OK)
   o session.auto_start needs to be off (OK)
   o magic_quotes_gpc off (I HAVE IT ON, IS THAT A PROBLEM?)
* MySQL or PostgreSQL database engine or the SQLite Extension for PHP
   o If using MySQL 5.0.2 or later, disable STRICT_TRANS_TABLES and STRICT_ALL_TABLES (HOW CAN I CHECK THIS?)
* One of the above databases with permission to create tables (OK)
* OpenSSL and Socket modules for PHP required to connect to IMAPS, for secure SMTP and to use the spell checker (OK)
   o Additionally, the CURL module for PHP is required for spell checking with TinyMCE (HTML WYSIWYG Editor). (OK)
    * An IMAP server which supports IMAP 4 rev 1 (OK)
    * An SMTP server (recommended) or PHP configured for mail delivery (OK)

Please i need help to get all requeriments (OK).
Thanks in advance!


Bye!

PD: Sorry for my poor English, im from Argentina.

IPAddress

Hi!
Sorry to post again, but im needing some help with this!

Bye!