Posts by TheRiddler1982

    Hi,


    I've just posted a similar question in the plugin section, this is about the I-MSCP directly.


    Last time I've updated the I-MSCP version, all my custom settings in the vitual hosts config files have been lost.


    Is there a way to keep the changes when updating other than saving it before update and then re-apply them?



    Thanks,
    Sven

    Hi,


    I have just got the mail about the new update :-).


    I am curious about PHP7.0.3.
    The last time I have reinstalled/updated the the PHP version, all my manually added modules and php.ini settings have been lost.


    Is there a way to update from PHP7.0.2 to PHP7.0.3 without loosing my settings?



    Thanks,
    Sven

    Hi Nuxwin,


    always a pleasure to read your well written answers!


    I like your idea of a default pool for the distro php as well! As I wanted to change PHP Switcher to work on domain but not on user level using


    Code
    1. perl imscp-autoinstall -dar httpd

    the installer breaks as the php-fpm service cannot be be started.I created a new customer and set the PHP version to the default distro version. Now, I was able to run the configuration given above :-)Another thing: I have noticed that PHP Switcher does not update the PHP distro version. There was an update on Debian 8 from PHP 5.6.14 to PHP 5.6.17 last week.The old version is still listed in the dropdown box. A restart of the underlying services of IMSCP updated the dropdown box (after running above command, everything looked fine :-)).Sven

    Hi Nuxwin,


    I am not sure if this is related to the PHPSwitcher plugin but I have noticed the error the first time after I have installed the PHP Switcher plugin last week.


    You helped me repair my webserver regarding MySQL 5.7 specialities to get I-MSCP 1.2.11 up and running to use the newest version of PHP Switcher.


    I have restarted my server and look through the logs and I have noticed that the php5-fpm service is not starting up:


    Code
    1. No pool defined. at least one pool section must be specified in config file

    I would assume that PHP 5.6 wouldn't work at all, but I am still able to login the I MSCP console :-). Does PHP5-FPM only work with apache but not with nginx?


    Currently, I have a virtual host (ziin.de) installed which is running with PHP7 from the PHPSwitcher plugin.


    Does this error mean that I have no other virtual host running with php5.6?



    Your SSH key is still installed on my server (menkisyscloudsrv29.menkisys.de), in case you want to take a direct look.



    Thanks,
    Sven

    Hi all,


    I've noticed that the current PHP7 does not comprise the imagick php module.


    As I have not found it for download in any compiled form, I have downloaded the latest release candidate from


    Code
    1. https://pecl.php.net/package/imagick



    Next, I executed the following (based on the tutorial found at https://gist.github.com/sjelfull/69136fe74339025aa151


    Code
    1. /opt/phpswitcher/php7.0/bin/phpize && ./configure --with-php-config=/opt/phpswitcher/php7.0/bin/php-config && make && make install


    and I got the following outputs:


    Code
    1. Libraries have been installed in: /root/php/imagick-3.4.0RC5/modulesIf you ever happen to want to link against installed librariesin a given directory, LIBDIR, you must either use libtool, andspecify the full pathname of the library, or use the `-LLIBDIR'flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf'See any operating system documentation about shared libraries formore information, such as the ld(1) and ld.so(8) manual pages.----------------------------------------------------------------------Build complete.Don't forget to run 'make test'.Installing shared extensions: /opt/phpswitcher/php7.0/lib/php/20151012/Installing header files: /opt/phpswitcher/php7.0/include/php/
    Code
    1. PHP : /opt/phpswitcher/php7.0/bin/php
    2. PHP_SAPI : cli
    3. PHP_VERSION : 7.0.2
    4. ZEND_VERSION: 3.0.0
    5. PHP_OS : Linux - Linux menkisyscloudsrv29 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u2 (2016-01-02) x86_64
    6. INI actual : /root/php/imagick-3.4.0RC5/tmp-php.ini
    7. More .INIs :
    8. CWD : /root/php/imagick-3.4.0RC5
    9. Extra dirs :
    10. VALGRIND : Not used


    This all looked fine and I found the module imagick.so in the folder/opt/phpswitcher/php7.0/lib/php/20151012.


    But the phpinfo in the admin panel does not list the module.



    What have I done wrong? Is there anything special I have to consider with the plugin? The service has been restarted :-)



    Thanks,
    Sven

    Hi again,


    how do I restart the php instances? For instance, I have enabled opcache in the /opt/phpswitcher/php7.0/etc/php/php.ini. How do I make that effective?


    When it would be a server installation, I would restart the php-fpm and apache2 services. How do I trigger it on the "sandbox" versions?



    Thanks,
    Sven