Additional PHP Versions: Intl extension is not loaded

Discussion in 'ISPConfig 3 Priority Support' started by LIJE, May 29, 2019.

  1. LIJE

    LIJE Member

    Hi,

    I followed this post to add the PHP v7.3 in the /opt/ folder:
    https://www.howtoforge.com/tutorial...bspcompilenbspphp-nbspas-phpfpm-and-fastcgi-2
    I need the php_intl extension to be able to setup a Prestashop 1.7

    These are the things I already tried without success:
    Code:
    sudo apt-get install php5-intl
    sudo apt-get install php7.0-intl
    sudo service apache2 restart
    phpenmod intl
    I also tried to add an "extension=" line of the php.ini used by the website.
    I don't manage to do it.

    Can you give me a hand?
    Regards
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You will have to recompile the manually compiled PHP and add --enable-intl to the configure flags.
     
  3. LIJE

    LIJE Member

    Thanks. It look 10 minutes.
    I also enabled the Memcache and ioncube extensions.
    I'd like to install zend opcache too.

    In the php.ini, I verified all opcache options and it should work but it's still disabled.
    Code:
    opcache.enable=1
     
  4. LIJE

    LIJE Member

    I had to add this line on my php.ini

    Code:
    zend_extension=/opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/opcache.so
     
  5. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Originall you wrote
    but now you use 7.2?
     
  6. LIJE

    LIJE Member

    I got a server with PHP 5.6 / 7.0 / 7.1 / 7.2 / 7.3 because some websites are not able to run some PHP versions.
    I mixed up the versions in this post but it doesn't matter too much. Thanks for the notice.
     
  7. craig baker

    craig baker Member HowtoForge Supporter

    STRONLY recommend php-compiler.sh download it from here:
    https://github.com/SergiX44/ISPC-PHPCompiler/blob/bash-version/php-compiler.sh

    runs under most distros. you pick the version you want to compile. it creates /opt/phpxx folders and gives you the lines at the end to drop into ispconfig php-extra-versions.
    and - it now has --enable intl so all version compile with intl module support
     

Share This Page