Author |
|
wmprofan Newbie
Joined: 24 August 2010
Online Status: Offline Posts: 20
|
Posted: 25 November 2013 at 8:48pm | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 25 November 2013 at 11:38pm | IP Logged
|
|
|
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 |
|
|