Posts by portal vtmkhu

    Tahnks!!

    Good job.:


    edit my file:


    /etc/apt/preferences.d/imscp


    Package: *

    Pin: origin ppa.launchpad.net

    Pin-Priority: 1001


    Package: libmysqlclient20 mysql-client-5.7 mysql-common mysql-server-5.7

    Pin: release o=Ubuntu,n=xenial

    Pin-Priority: 1001


    Package: openssl libssl-dev

    Pin: release o=Ubuntu,n=xenial

    Pin-Priority: 1002


    //ADD DATA and install pdp all version.//

    Package: libicu-dev icu-devtools

    Pin: release o=Ubuntu,n=xenial

    Pin-Priority: 1002

    Hy please help my.

    My server: contabo vps: Ubuntu 16.04



    CPU: four cores

    haken.gif Intel® Xeon® E5-2620v3, E5-2630v4 or 4114 processor

    haken.gif 8 GB RAM (guaranteed)

    haken.gif 200 GB disk space (100% SSD)

    haken.gif 100% SSD disk space
    icon-info.png



    And not install php 5.3, 5.4, 5.5, 5.6 version phpswitcher


    Code
    1. sudo apt list --installed
    2. Listing... Done
    3. icu-devtools/xenial,now 64.1-0.1+ubuntu16.04.1+deb.sury.org+1 amd64 [installed,automatic]
    4. libicu-dev/xenial,now 64.1-0.1+ubuntu16.04.1+deb.sury.org+1 amd64 [installed]
    5. libicu55/xenial-updates,xenial-security,now 55.1-7ubuntu0.4 amd64 [installed,automatic]
    6. libicu64/xenial,now 64.1-0.1+ubuntu16.04.1+deb.sury.org+1 amd64 [installed,automatic]

    this error:


    Parse error: syntax error, unexpected end of file in /var/www/virtual/vtmk.hu/htdocs/index.php on line 245


    if(!$written) die("Unable to write to $cache_file");




    code:



    $contents = ob_get_contents();

    $fp = fopen($cache_file,'w') or die("Unable to open $cache_file file for output");

    $written = fwrite($fp, $contents);

    if(!$written) die("Unable to write to $cache_file");

    fclose($fp);

    this is php.ini file php 5.6:

    /opt/phpswitcher/20190308/php5.6/etc/php/





    modulse.ini :



    Functions.php file: