Upgrade issue 1.2.2 to 1.2.11

  • I got the following issue when upgrading from 1.2.2 to 1.2.11, I've followed the errata.


    Any ideas on solving this issue?

  • @scieri


    Fix you PHP installation and once done, rerun the installer...


    What is the output of the following command on your system?


    Code
    1. # php -v


    And please, when you post for a problem, provide us all info:


    distro, codename, httpd server implementation in use and so on !

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Hi Nuxwin,


    Debian Wheezy, using Apache 2.4.


    Somehow I've managed to pass over the Roundcube error(I've run the installer and removed it).
    But I also think that the php is the issue, now I have the following:

    Code
    1. root@server:~/imscp-1.2.11# php -v
    2. Failed loading opcache.so: opcache.so: cannot open shared object file: No such file or directory
    3. PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525+lfs/mysql.so' - /usr/lib/php5/20100525+lfs/mysql.so: undefined symbol: mysqlnd_connect in Unknown on line 0
    4. PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525+lfs/mysqli.so' - /usr/lib/php5/20100525+lfs/mysqli.so: undefined symbol: mysqlnd_connect in Unknown on line 0
    5. PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525+lfs/pdo_mysql.so' - /usr/lib/php5/20100525+lfs/pdo_mysql.so: undefined symbol: mysqlnd_allocator in Unknown on line 0
    6. PHP 5.4.45-0+deb7u2 (cli) (built: Oct 17 2015 09:01:48)
    7. Copyright (c) 1997-2014 The PHP Group
    8. Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
  • @scieri


    Of course, PHP is the problem here. I don't know how you managed but your PHP installation is totally broken. I would recommend to purge all php/php5 packages and rerun the i-MSCP installer. At some points, the i-MSCP installer check for PHP informations and if it get such output, it is not be happy and thus, an error is raised...


    Do you use any specific repository for PHP other than default?

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • I will give it a try with purging the php


    I only have the following sources set:


    Later edit:
    The php5 purge and setting the correct path to opcache.so did the trick.


    Thank you for the hints and support.

    Edited 2 times, last by scieri ().