Posts by itcm

    Hi again,


    I've successfully installed phpswitcher and compiled different version of php, now for the 7.0 I addedd the APCu extension as described on the wiki: https://wiki.i-mscp.net/doku.p…hpswitcher#apcu_extension and eveything seems ok if I run:


    Code
    1. # /opt/phpswitcher/php7.0/bin/php -i


    it displays the extension loaded correctly and the file 02_apcu.ini parsed.


    But.... if I click on show phpinfo on imscp panel it displays nothing about apcu (both the ini and the modules are missing).
    I've tried restarting psw7.0-fpm, apache, etc...


    Once i stopped psw7.0-fpm and tried to load again "show phpinfo", strangely it displays always the same things... how it can do this if fpm is stopped?


    After a lot of trying I simply create an info.php page with this content:

    PHP
    1. <?phpinfo();echo ciao;var_dump(get_loaded_extensions());?>

    loaded it in the browser and it displays apc:

    Code
    1. ....
    2. "apcu" [43]=> string(4)
    3. ......

    why this happened? so the extension is loaded but php info displayed by the panel is probably wrong...


    Thank you very much

    Hello,
    I know that there are a lot of other thread like this but my situation is a little bit different....
    I've setted up a new server with imscp 1.3.0, I started with a clean installation and configured it with different settings and plugins.
    Now I want only to move some domains (with relatives account and email) from the old imscp 1.2 server, is it possible to export and import it in the new server?


    Thank you a lot

    Thank you narking for your tutorial,
    I tried it but I have two different problem:
    - the first one is that it doesn't recognize your master.vcl file, this is the error:
    Aug 24 23:01:41 tiger varnishd[18215]: Error:
    Aug 24 23:01:41 tiger varnishd[18215]: Message from VCC-compiler:
    Aug 24 23:01:41 tiger varnishd[18215]: Expected an action, 'if', '{' or '}'
    Aug 24 23:01:41 tiger varnishd[18215]: ('/etc/varnish/imscp/master.vcl' Line 3 Pos 2)
    Aug 24 23:01:41 tiger varnishd[18215]: remove req.http.X-Forwarded-For;
    Aug 24 23:01:41 tiger varnishd[18215]: -######--------------------------
    Aug 24 23:01:41 tiger varnishd[18215]: Running VCC-compiler failed, exited with 2
    Aug 24 23:01:41 tiger varnishd[18215]: VCL compilation failed



    - the second one it's so normal that I can't understand why I'm the only one reporting this issue :) obviously because I've made some mistake i think :)
    In apache .conf file now we have:
    VirtualHost public_ip:81
    but in default.vcl we have:
    backend: localhost :81
    so now for every site that i try to visit with varnish I always display the apache default page, and this is normally because on localhost:81 we didn't have any virtual host configured.
    How do you superseed to this?
    thank you very much.

    Hello,
    imscp 1.3.0 I've some listener setted up and everyone of them works perfectly.
    I tried to use the one on subject but if i run
    perl /var/www/imscp/engine/setup/imscp-reconfigure -da
    I obtain this error:
    [ERROR] Servers::mta::postfix::postconf: Can't use string ("all") as an ARRAY ref while "strict refs" in use at /var/www/imscp/engine/setup/../PerlLib/Servers/mta/postfix.pm line 707, <$stdout> line 2.


    this is my listener:
    my %mainCfParameters = (
    'inet_protocols' => 'all',
    'inet_interfaces' => 'all',
    'smtp_bind_address' => 'xxx.xxx.xx.xx',
    'smtp_bind_address6' => '2001:4444:444:444::24',
    'relayhost' => ''
    );


    I commented out:
    # use strict;
    in /var/www/imscp/engine/PerlLib/Servers/mta/postfix.pm


    and now everything runs ok.
    What is the matter?


    thank you

    I know, but I absolutely need it because of the new implementation in LVM (cache).
    of course I pinned stretch packages:
    Package: *
    Pin: release n=stretch
    Pin-Priority: -1


    I installed just the new kernel, the packages for lvm and something else, (like php7).