Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Installation Error Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
wmprofan
Newbie
Newbie


Joined: 24 August 2010
Online Status: Offline
Posts: 20
Posted: 25 November 2013 at 8:48pm | IP Logged Quote wmprofan

Getting this error during installation on a Cpanel server.

Extracting package webmail-lite-php.zip
Setup permissions

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /usr/local/cpanel/base/3rdparty/afterlogic/libraries/afterlogic/api.php on line 177

Parse error: syntax error, unexpected T_STRING in /usr/local/cpanel/base/3rdparty/afterlogic/libraries/afterlogic/api.php on line 177
FAILED!


Line 177 in api.php shows:
$oCacher = \MailSo\Cache\CacheClient::NewInstance();

I have php 5.2 server-wide and php 5.3 can be activated in .htaccess. As I am trying to install Webmail Lite server-wide, how do I tell the installer to use php 5.3 and not 5.2? I am assuming this is what's causing the error?

Regards.

Norman
Back to Top View wmprofan's Profile Search for other posts by wmprofan
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 25 November 2013 at 11:38pm | IP Logged Quote Igor

Server-wide PHP needs to be 5.3, as well as PHP instance used for embedded apps, otherwise the system doesn't meet minimal requirements.

However, you can try tweaking check_php_version function found in functions file, and configure_package in cPanel/lite/functions file, both of them contain PHP interpreter call. If you have a way to call specifically PHP 5.3 interpreter there, that would help.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide