ISPConfig 3 with Debian Upgrade from 8 to 9

Discussion in 'General' started by iceget, Jun 7, 2018.

  1. iceget

    iceget Member

    dear team,
    i want update my ispconfig 3 from debian 8 to 9.
    all has worked fine, but i have one problem (on php fpm):
    for this both command on how to install php 7.1, 7.2, php 5.6
    ln -s /usr/lib/libc-client.a /usr/lib/x86_64-linux-gnu/libc-client.a
    cd /usr/include
    ln -s x86_64-linux-gnu/curl

    i get this error message:
    ln: the symbolic link '/usr/lib/x86_64-linux-gnu/libc-client.a' could not be created: file or directory not found

    i dont have a /usr/lib/x86_64-linux-gnu path, so i cant build php 7.2 with imap support.
    but i have a /usr/lib/i386-linux-gnu folder.

    the same problem i hade on the installation openssl-1.0.1t.tar.gz for php 5:
    ...
    ln -s /opt/openssl/lib /opt/openssl/lib/x86_64-linux-gnu
    ...

    how i can upgrade to debian 9 with PHP71,72,56 FPM Support without any errors?

    can anybody help me?

    thank you!
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Are you running a 32-bit installation? Check with
    Code:
    dpkg --print-architecture
    It answers amd64 if it is 64-bit installation.
     
  3. iceget

    iceget Member

    Dear,

    here is the output:
    root@web01:/usr/lib# dpkg --print-architecture
    i386

    and what can i now do? can i do the update in any case? or not possible?

    thank you!
     
  4. Stephan Ververda

    Stephan Ververda Member HowtoForge Supporter

    have you tried installing the php versions with debian packages from sury.org?
    look at https://www.howtoforge.com/tutorial...and-9/#-add-the-repository-at-packagessuryorg for how-to.
    I'm not sure if it will work but it's worth a try, plus it will keep being update with latest security patches and so on.

    It looks like you are looking at some instructions to compile the sources yourself, if so you have to make manual adjustments for those instructions to compile things for 32-bit architecture instead of 64-bit.
     
  5. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    You can update as usual, but read the i386 upgrade manual. https://www.debian.org/releases/stable/i386/release-notes/index
    And like @Stephan Ververda already wrote, keep in mind which architecture you have when reading instructions.
    The sury repository looks like it has i368 architecture also. I would use those, I trust Ondrej Sury more than my own skills in creating PHP packages or compiling PHP.
    If, on the other hand you want to move to 64-bit architecture, that is not possible with upgrade. You have to install a new host with 64-bit Debian 9 and move the data from old host to new. There are howtos for this and ISPConfig Migration toolkit.
     
  6. iceget

    iceget Member

    okay thank you!
    i would prefer the way for fresh install on x64 and Migration, can you tell me the exact steps what i must do?
    thank you very much, many greets
     

Share This Page