Forums

Joop
Joop
Offline
Resolved
0 votes
Hi,

Just installed ClearOS 6.5 again after messing up my first install. In that first install I upgraded PHP to 5.4.19, because of Joomla 3 websites. But as mentioned above, my server ended in a mess. I don't know if PHP was the reason, so I want to be sure if it's OK..
Is it save to upgrade PHP to 5.4, or will I end again in problems? BTW, I need at least PHP version 3.3.10.
I only installed Flexshares and Windows Networking till now. In the future I will also start using the mail server.

Thanx for any advice!

Joop
Wednesday, January 28 2015, 03:05 PM
Share this post:
Responses (11)
  • Accepted Answer

    Monday, February 16 2015, 09:12 PM - #Permalink
    Resolved
    0 votes
    Tim Burgess wrote:
    Hi Drew, thanks for trying out the PHP build, I've since moved across to the REMI rpms which include the required library updates. You can still install this version by installing the t1lib rpm (clearos-core repo), and also grabbing a copy of php-pecl-zip from the REMI repo first ;)


    Thanks for that information, i was wondering about that as i didnt run into that problem with the other box i was running however i did upgrade REMI first (at the time i didnt realize this was actually a required step). Thank you for clearing that up for me Tim.
    Drew
    The reply is currently minimized Show
  • Accepted Answer

    Croga
    Croga
    Offline
    Friday, February 13 2015, 08:12 AM - #Permalink
    Resolved
    0 votes
    @digital.empire;
    The Zarafa forums state that the problem exists because the Zarafa packages have a hard reference to the PHP version that's default on your distro and that if you want to upgrade, you have to compile php-mapi yourself. That's all the info I've been able to find.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, February 12 2015, 11:55 PM - #Permalink
    Resolved
    0 votes
    I am facing the same issue with Owncloud 8. This required a newer version of minimal PHP 5.4.

    I'm also using ClearOS for my main (cloud (owncloud 7.0.4) /mail (SMTP, Zarafa) /web (Apache, Drupal 7)) server and losing Zarafa would be also not acceptable for me and my collegues. Nearly every current CRM needs a more recent version PHP now.

    Is there a save way on how I can get a php 5.3 upgrade to at least minimal PHP 5.4.
    I´ve heard of some way of parrallel install of PHP versions which would not effect the Clearos "system" php but can used by apache webserver. Perhaps this was only suitable at COS 5.2?
    Am I right on this?

    @Tim: Your advice as always will be highly appreciated!

    @Croga: Where do you have got the instructions to get PHP-MAPI running on a more modern PHP version. Perhaps I can have look on it and make them a bit more user friendly ;-) ?

    Thanx
    Harald
    The reply is currently minimized Show
  • Accepted Answer

    Croga
    Croga
    Offline
    Thursday, February 12 2015, 06:44 PM - #Permalink
    Resolved
    0 votes
    Tim;

    Does this mean there is a solution for all the stuff breaking when you install PHP 5.4 (or higher)?

    I'm using ClearOS for my main (file/cloud/mail/web) server and losing Zarafa would be Bad(tm) for me. But on the other hand I need to move to Drupal 8, Joomla 3, Moodle and all those require a more recent PHP version than the one available.
    I've read that it is definitely possible to get PHP-MAPI running on a more modern PHP version but the instructions for that are way beyond my abilities :D
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 11 2015, 12:07 AM - #Permalink
    Resolved
    0 votes
    Hi Drew, thanks for trying out the PHP build, I've since moved across to the REMI rpms which include the required library updates. You can still install this version by installing the t1lib rpm (clearos-core repo), and also grabbing a copy of php-pecl-zip from the REMI repo first ;)
    The reply is currently minimized Show
  • Accepted Answer

    Monday, February 09 2015, 06:40 PM - #Permalink
    Resolved
    0 votes
    Tim,
    i installed your repository trying to upgrade php in order to use my website (cms made simple) i added your repository.
    Adding Tim's Repo and then proceeded to follow this guide every thing seemed to go fairly smooth untill i issued the upgrade /install command
    yum --enablerepo=timb-testing upgrade php
    at which point i hit this error below for resolving dependencies:

    --> Finished Dependency Resolution
    Error: Package: php-gd-5.5.11-1.clearos.x86_64 (timb-testing)
    Requires: libt1.so.5()(64bit)
    Error: Package: php-common-5.5.11-1.clearos.x86_64 (timb-testing)
    Requires: php-pecl-zip(x86-64)
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest


    Did i miss something here im not sure why these didnt resolve ive upgraded php on my other server box (identical twin server with the exception of the email applications) and im running a farily new version of PHP (although i dont remeber installing it from your repo i think it was remi or something like that)
    thanks again
    Drew Malone
    The reply is currently minimized Show
  • Accepted Answer

    Joop
    Joop
    Offline
    Thursday, January 29 2015, 03:21 PM - #Permalink
    Resolved
    0 votes
    Also Flexshares and Windows Networking seems to be destroyed after the PHP upgrade :-(
    Error starting LDap afterwards
    Someone knows how to re-install original PHP ?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 28 2015, 10:20 PM - #Permalink
    Resolved
    0 votes
    Zarafa webaccess and Z-push requires the php-mapi extension to work properly, this only works with the default PHP 5.3.3 build
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 28 2015, 07:33 PM - #Permalink
    Resolved
    0 votes
    It is all I have read of. I believe it does not affect the webconfig as I understand that runs in a sandboxed version of php. This is why I am concerned at your webmin installation. Others have upgraded to PHP5.4.+ and I think the only problem is with php-mapi.
    The reply is currently minimized Show
  • Accepted Answer

    Joop
    Joop
    Offline
    Wednesday, January 28 2015, 06:40 PM - #Permalink
    Resolved
    0 votes
    Yes, I have read that, but is that all?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 28 2015, 04:43 PM - #Permalink
    Resolved
    0 votes
    If you upgrade to 5.4 there is something that will break in Zarafa, but I can't remember what.
    The reply is currently minimized Show
Your Reply