Posts by root666

    Thanks for the info Nuxwin and flames, i have testet these old sites (some with old Versions of PHPKit) with php5.3 and seems they works fine with it. Im glad to see i have an option for the future to keep running these old sites on my archive-intranet-server. Thank you very much for your support and the infos.

    Thanks for the info, I know that you should not use older php versions as 5.6 already because of the security of the entire server. On my live system only 5.6 and higher is used for my customers.


    I am very sad to hear that 5.2 and older will soon be unsupported.


    In my case, I also use my intranet server as an archive server for old websites and projects. Many of them only run on older php versions (<=5.2) due to their scripts. That's why they were taken offline and reworked with newer scripts to continue to operate on live systems.


    Will there be a way for me to keep this archive in the future with i-MSCP and PhpSwitcher?

    A manual way for me to still compile and use these old versions?


    Otherwise, I'll probably have to archive the archive server and use a second test-intranet-server :D

    Good evening Nuxwin,


    thank you for your answer.


    It was the second stanza for me:


    after commenting out the following lines in /etc/apt/preferences.d/imscp:

    Code
    1. #Package: openssl libssl-dev
    2. #Pin: release o=Ubuntu,n=xenial
    3. #Pin-Priority: 1002

    it has updatet after apt update && apt dist-upgrade the following:

    Code
    1. Die folgenden Pakete werden aktualisiert (Upgrade):
    2. libssl-dev openssl


    and now it seems the compiler runs fine.



    Note that you should avoid PHP 4.4 and 5.2.

    What do you mean exactly with this? Do you mean avoid at live systems (this is my test-intranet-server without access from the Internet) or do you mean avoid compiling with the updated libssl-dev and openssl?


    Thank you for your help and greetings from Germany.

    Referring this Thread --> PhpSwitcher - Couldn't compille PHP 5.3 on Ubuntu 16.04 (Xenial) i have the same issue.


    Code
    1. /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/Makefile:368: die Regel für Ziel „configure-5.3-stamp“ scheiterte
    2. [ERROR] main: An unexpected error occurred: An error occurred while executing the install MAKE(1) target for php-5.3.29: aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
    3. ext/pdo_dblib/config.m4:56: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached



    4.4, 5.2 running fine, but i get this error at 5.3

    Code
    1. # perl php_compiler.pl --auto-setup 4.4 5.2 5.3 5.4 5.5 5.6 7.0 7.1


    i-MSCP 1.5.3

    Build: 20180516


    PhpSwitcher Version 4.0.3 (Build 2017111000)

    Installed PHP-Version 5.6


    It affects my intranet server for testing, so do not hurry for an answer ;)


    ok i have wasted to many time to fix this with 16.04 and mysql-server-5.7. So i have fresh reeinstalled my server with 14.04.05 (mysql-server-5.5), then installed i-mscp 1.3.7 and rsync my backup back. After a few hours to fix some things i have running all domains (except domains with database in the background, problem see below). After this i have updated i-mscp to version 1.4.3.
    One problem left. It seems a problem with the sql users for the customer domains. Before (vers. 1.3.7) i have a button "login with phpmyadmin", now there on the same position i have only the options "Passwort aktualisieren/change password" or "delete". Before (vers. 1.3.7 login over the button) and now vers. 1.4.3 the login directly in phpmyadmin with the sql- users failed. Cant login in phpmyadmin with the customer sql-users. I have changed /var/www/imscp/gui/public/tools/pma/config.inc.php and login with "root".


    mysql --> imscp --> sql_users (all users listed)


    mysql --> imcsp_pma --> pma_userconfig (all users listed)


    mysql --> home --> databases --> (select a user database) check rights --> (only debian-sys-maint, imscp_user and root listed)
    Is there a way to fix this without delete and add all sql users by hand?


    EDIT:
    ok i have fixed the sql users by hand. im done. :D so the problem seems to be solved. Thx Nuxwin for your support.


    Für alle anderen mit solchen Problemen anbei ein paar Links:
    Serverumzug i-mscp: https://blog-speedy.de/serverumzug-i-mscp/
    Reset MySQL-Password: https://itler.net/mysql-root-p…t-zuruecksetzen-resetten/ oder MySQL root funzt nach Update nicht mehr


    phpmyadmin als root user nutzen:
    change $cfg['Servers'][$i]['AllowRoot'] to "true" : /var/www/imscp/gui/public/tools/pma/config.inc.php
    dannach: service imscp_panel restart

    Thx Nuxwin,


    rm -r /usr/local/sbin/imscp-dpkg-post-invoke.pl has removed the Error.


    I have fully removed mysql, also /etc/mysql and /var/lib/mysql
    After reinstalling mysql works now fine.
    mysql>


    ok, now im doing "perl imscp-autoinstall -d" again, but how get i my mysql-data back?


    I have a backup from /var/lib/mysql, whats now to do? Only copy the backup files to /var/lib/mysql and restart the mysql server and do a "perl imscp-autoinstall -r" after this?


    EDIT: oh pls remind the backup data are from mysql-server-5.5, now its mysql-server-5.7 installed.



    Upgrade was successfull and i have done the following commands.


    but i get this error:


    Code
    1. [FATAL] iMSCP::Dialog::InputValidation::isAvailableSqlUser: Error while executing statement: Table 'imscp.sql_user' doesn't exist at /var/www/imscp/engine/setup/../PerlLib/iMSCP/Dialog/InputValidation.pm line 460.

    Hallo,


    eigentlich wollte ich meinem Home-Server nur mal eine neue Version von i-mscp gönnen. Leider kam es zu Fehlern.


    Beim Updateprozess konnte er nicht mit dem eingegeben Passwort zu MySQL connecten. Also habe ich es manuell über die Konsole mit "mysql -u root -p" versucht. Auch hier kein Erfolg. Vielleicht hatte ich ja mein Passwort falsch notiert. Also hab ich es neu gesetzt aber auch danach konnte ich nicht connecten. Also MySQL entfernt und neu installiert (BACKUP von /etc/mysql und /var/lib/mysql vorhanden).
    Leider auch damit kein Erfolg außer das sich der Dienst gar nicht mehr starten lässt. Dann wohl ein weiterer ungünstiger Fehler. Ich habe Ubuntu 14.04 auf 16.04 ein release upgrade gegönnt und dachte das behebt den Fehler. Aber auch hier immer noch gleiches Fehlerbild.


    Code
    1. mysql-server-core-5.7 (5.7.18-0ubuntu0.16.04.1) wird eingerichtet ...[ERROR] Package::FrontEnd::Installer::_copyPhpBinary: PHP `PHP_FPM_BIN_PATH' configuration parameter is not set.E: Problem executing scripts DPkg::Post-Invoke 'if [ -x /usr/local/sbin/imscp-dpkg-post-invoke.pl -a ${IMSCP_SETUP:=0} -eq 0 ]; then /usr/bin/perl /usr/local/sbin/imscp-dpkg-post-invoke.pl -d; fi'E: Sub-process returned an error code


    Irgendwie scheint da schon beim upgrade der i-mscp version etwas schief gelaufen zu sein.
    Hat noch jemand einen Rat? Für jeglichen Hinweis bin ich dankbar.


    Hello everyone,


    ich reihe mich hier mal ein da ich vor dem gleichen Problem stehe.
    Ich würde mir gerne 1-2 Addons zulegen (unter anderem auch den PHP-Switcher), doch leider besitze ich kein Paypal-Konto und werde mir diesen unsicheren Mist auch im Leben nicht mehr zulegen.
    Gibt es noch eine andere Möglichkeit der Bezahlung? Habe leider auch niemanden im Bekanntenkreis der mir da aushelfen könnte.


    Greetz root666