Welcome to Centmin Mod Community
Register Now

PHP PHP 7.0.0 Alpha 1 Released

Discussion in 'Nginx and PHP-FPM news & discussions' started by eva2000, Jun 12, 2015.

  1. eva2000

    eva2000 Administrator Staff Member

    30,168
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:28 PM
    Nginx 1.13.x
    MariaDB 5.5
    Update: PHP 7.0.0 RC1 thread started PHP 7.0.0RC releases + Centmin Mod Updating PHP-FPM | Centmin Mod Community :)

    Yup finally here PHP 7.0.0 Alpha 1 Released with PHP 7.0.0 Final release timetabled for November 12, 2015. You can read up on PHP 7.0 (PHPNG) performance and information here. Instructions on how to install or upgrade to PHP 7.0.0 Alpha 1 are outlined below in subsequent posts. Edit: PHP 7.0.0 Alpha 2 released.

    From php-src/NEWS at php-7.0.0alpha1 · php/php-src · GitHub

    Code:
    11 Jun 2015, PHP 7.0.0 Alpha 1
    
    - Core:
      . Fixed bug #69767 (Default parameter value with wrong type segfaults).
        (cmb, Laruence)
      . Fixed bug #69756 (Fatal error: Nesting level too deep - recursive dependency
        ? with ===). (Dmitry, Laruence)
      . Fixed bug #69758 (Item added to array not being removed by array_pop/shift
        ). (Laruence)
      . Fixed bug #68475 (Add support for $callable() sytnax with 'Class::method').
        (Julien, Aaron Piotrowski)
      . Fixed bug #69485 (Double free on zend_list_dtor). (Laruence)
      . Fixed bug #69427 (Segfault on magic method __call of private method in
        superclass). (Laruence)
      . Improved __call() and __callStatic() magic method handling. Now they are
        called in a stackless way using ZEND_CALL_TRAMPOLINE opcode, without
        additional stack frame. (Laruence, Dmitry)
      . Optimized strings concatenation. (Dmitry, Laruence)
      . Fixed weird operators behavior. Division by zero now emits warning and
        returns +/-INF, modulo by zero and intdid() throws an exception, shifts
        by negative offset throw exceptions. Compile-time evaluation of division
        by zero is disabled. (Dmitry, Andrea, Nikita)
      . Fixed bug #69371 (Hash table collision leads to inaccessible array keys).
        (Laruence)
      . Fixed bug #68933 (Invalid read of size 8 in zend_std_read_property).
        (Laruence, arjen at react dot com)
      . Fixed bug #68252 (segfault in Zend/zend_hash.c in function
        _zend_hash_del_el). (Laruence)
      . Fixed bug #65598 (Closure executed via static autoload incorrectly marked as
        static). (Nikita)
      . Fixed bug #66811 (Cannot access static::class in lambda, writen outside of a
        class). (Nikita)
      . Fixed bug #69568 (call a private function in closure failed). (Nikita)
      . Added PHP_INT_MIN constant. (Andrea)
      . Added Closure::call() method. (Andrea)
      . Fixed bug #67959 (Segfault when calling phpversion('spl')). (Florian)
      . Implemented the RFC `Catchable "Call to a member function bar() on a
        non-object"`. (Timm)
      . Added options parameter for unserialize allowing to specify acceptable
        classes (https://wiki.php.net/rfc/secure_unserialize). (Stas)
      . Fixed bug #63734 (Garbage collector can free zvals that are still
        referenced). (Dmitry)
      . Removed ZEND_ACC_FINAL_CLASS, promoting ZEND_ACC_FINAL as final class
        modifier. (Guilherme Blanco)
      . is_long() & is_integer() is now an alias of is_int(). (Kalle)
      . Implemented FR #55467 (phpinfo: PHP Variables with $ and single quotes). (Kalle)
      . Added ?? operator. (Andrea)
      . Added <=> operator. (Andrea)
      . Added \u{xxxxx} Unicode Codepoint Escape Syntax. (Andrea)
      . Fixed oversight where define() did not support arrays yet const syntax did.
        (Andrea, Dmitry)
      . Use "integer" and "float" instead of "long" and "double" in ZPP, type hint
        and conversion error messages. (Andrea)
      . Implemented FR #55428 (E_RECOVERABLE_ERROR when output buffering in output
        buffering handler). (Kalle)
      . Removed scoped calls of non-static methods from an incompatible $this
        context. (Nikita)
      . Removed support for #-style comments in ini files. (Nikita)
      . Removed support for assigning the result of new by reference. (Nikita)
      . Invalid octal literals in source code now produce compile errors, fixes
        PHPSadness #31. (Andrea)
      . Removed dl() function on fpm-fcgi. (Nikita)
      . Removed support for hexadecimal numeric strings. (Nikita)
      . Removed obsolete extensions and SAPIs. See the full list in UPGRADING. (Anatol)
      . Added NULL byte protection to exec, system and passthru. (Yasuo)
      . Added error_clear_last() function. (Reeze Xia)
      . Fixed bug #68797 (Number 2.2250738585072012e-308 converted incorrectly).
        (Anatol)
      . Improved zend_qsort(using hybrid sorting algo) for better performance,
        and also renamed zend_qsort to zend_sort. (Laruence)
      . Added stable sorting algo zend_insert_sort. (Laruence)
      . Implemented the RFC `Scalar Type Decalarations v0.5`. (Anthony)
      . Implemented the RFC `Group Use Declarations`. (Marcio)
      . Implemented the RFC `Continue Output Buffering`. (Mike)
      . Implemented the RFC `Constructor behaviour of internal classes`. (Dan, Dmitry)
      . Implemented the RFC `Fix "foreach" behavior`. (Dmitry)
      . Implemented the RFC `Generator Delegation`. (Bob)
      . Implemented the RFC `Anonymous Class Support`. (Joe, Nikita, Dmitry)
      . Implemented the RFC `Context Sensitive Lexer`. (Marcio Almada)
      . Fixed bug #69511 (Off-by-one buffer overflow in php_sys_readlink).
        (Jan Starke, Anatol)
    
    - CLI server:
      . Refactor MIME type handling to use a hash table instead of linear search.
        (Adam)
      . Update the MIME type list from the one shipped by Apache HTTPD. (Adam)
      . Added support for SEARCH WebDav method. (Mats Lindh)
    
    - Curl:
      . Fixed bug #68937 (Segfault in curl_multi_exec). (Laruence)
      . Removed support for unsafe file uploads. (Nikita)
    
    - Date:
      . Fixed day_of_week function as it could sometimes return negative values
        internally. (Derick)
      . Removed $is_dst parameter from mktime() and gmmktime(). (Nikita)
      . Removed date.timezone warning
        (https://wiki.php.net/rfc/date.timezone_warning_removal). (Bob)
      . Added "v" DateTime format modifier to get the 3-digit version of fraction
        of seconds. (Mariano Iglesias)
      . Implemented FR #69089: Added DateTime::RFC3339_EXTENDED to output in
        RFC3339 Extended format which includes fraction of seconds (Mariano
        Iglesias)
    
    - DBA:
      . Fixed bug #62490 (dba_delete returns true on missing item (inifile)). (Mike)
      . Fixed bug #68711 (useless comparisons). (bugreports at internot dot info)
    
    - DOM:
      . Made DOMNode::textContent writeable. (Tjerk)
    
    - GD:
      . Made fontFetch's path parser thread-safe. (Sara)
      . Removed T1Lib support. (Kalle)
    
    - Fileinfo:
      . Fixed bug #66242 (libmagic: don't assume char is signed). (ArdB)
    
    - Filter:
      . New FILTER_VALIDATE_DOMAIN and better RFC conformance for FILTER_VALIDATE_URL. (Kevin Dunglas)
    
    - FPM:
      . Fixed bug #68945 (Unknown admin values segfault pools). (Laruence)
      . Fixed bug #65933 (Cannot specify config lines longer than 1024 bytes). (Chris Wright)
      . Implement request #67106 (Split main fpm config). (Elan Ruusamäe, Remi)
    
    - FTP:
      . Fixed bug #69082 (FTPS support on Windows). (Anatol)
    
    - Intl:
      . Removed deprecated aliases datefmt_set_timezone_id() and
        IntlDateFormatter::setTimeZoneID(). (Nikita)
    
    - JSON
      . Replace non-free JSON parser with a parser from Jsond extension, fixes #63520
        (JSON extension includes a problematic license statement). (Jakub Zelenka)
      . Fixed bug #68938 (json_decode() decodes empty string without error).
        (jeremy at bat-country dot us)
    
    - LDAP
      . Fixed bug #47222 (Implement LDAP_OPT_DIAGNOSTIC_MESSAGE). (Andreas Heigl)
    
    - LiteSpeed:
      . Updated LiteSpeed SAPI code from V5.5 to V6.6. (George Wang)
    
    - libxml:
      . Fixed handling of big lines in error messages with libxml >= 2.9.0.
        (Christoph M. Becker)
    
    - Mcrypt:
      . Fixed possible read after end of buffer and use after free. (Dmitry)
      . Removed mcrypt_generic_end() alias. (Nikita)
      . Removed mcrypt_ecb(), mcrypt_cbc(), mcrypt_cfb(), mcrypt_ofb(). (Nikita)
    
    - Opcache:
      . Fixed bug #69688 (segfault with eval and opcache fast shutdown).
        (Laruence)
      . Added experimental (disabled by default) file based opcode cache.
        (Dmitry, Laruence, Anatol)
      . Fixed bug with try blocks being removed when extended_info opcode
        generation is turned on. (Laruence)
      . Fixed bug #68644 (strlen incorrect : mbstring + func_overload=2 +UTF-8
        + Opcache). (Laruence)
    
    - OpenSSL:
      . Added "alpn_protocols" SSL context option allowing encrypted client/server
        streams to negotiate alternative protocols using the ALPN TLS extension when
        built against OpenSSL 1.0.2 or newer. Negotiated protocol information is
        accessible through stream_get_meta_data() output.
      . Removed "CN_match" and "SNI_server_name" SSL context options. Use automatic
        detection or the "peer_name" option instead. (Nikita)
    
    - pcntl:
      . Fixed bug #60509 (pcntl_signal doesn't decrease ref-count of old handler
        when setting SIG_DFL). (Julien)
      . Added wifcontinued and wcontinued. (xilon-jul)
      . Added rusage support to pcntl_wait() and pcntl_waitpid(). (Anton Stepanenko,
        Tony)
    
    - PCRE:
      . Removed support for the /e (PREG_REPLACE_EVAL) modifier. (Nikita)
    
    - PDO:
      . Fixed bug #59450 (./configure fails with "Cannot find php_pdo_driver.h").
        (maxime dot besson at smile dot fr)
    
    - PDO_mysql:
      . Fixed bug #68424 (Add new PDO mysql connection attr to control multi
        statements option). (peter dot wolanin at acquia dot com)
    
    - PDO_pgsql:
      . Removed PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT attribute in favor of
        ATTR_EMULATE_PREPARES). (Nikita)
    
    - Reflection
      . Fixed inheritance chain of Reflector interface. (Tjerk)
      . Added ReflectionGenerator class. (Bob)
      . Added reflection support for return types and type declarations. (Sara,
        Matteo)
    
    - Session:
      . Fixed bug #67694 (Regression in session_regenerate_id()). (Tjerk)
      . Fixed bug #68941 (mod_files.sh is a bash-script). (bugzilla at ii.nl, Yasuo)
    
    - SOAP:
      . Fixed bug #68361 (Segmentation fault on SoapClient::__getTypes). (Laruence)
    
    - SPL:
      . Changed ArrayIterator implementation using zend_hash_iterator_... API.
        Allowed modification of iterated ArrayObject using the same behavior
        as proposed in `Fix "foreach" behavior`. Removed "Array was modified
        outside object and internal position is no longer valid" hack. (Dmitry)
      . Implemented #67886 (SplPriorityQueue/SplHeap doesn't expose extractFlags
        nor curruption state). (Julien)
      . Fixed bug #66405 (RecursiveDirectoryIterator::CURRENT_AS_PATHNAME
        breaks the RecursiveIterator). (Paul Garvin)
    
    - Sqlite3:
      . Fixed bug #68260 (SQLite3Result::fetchArray declares wrong
        required_num_args). (Julien)
    
    - Standard:
      . Fixed bug #69723 (Passing parameters by reference and array_column).
        (Laruence)
      . Fixed bug #69523 (Cookie name cannot be empty). (Christoph M. Becker)
      . Fixed bug #69325 (php_copy_file_ex does not pass the argument).
        (imbolk at gmail dot com)
      . Fixed bug #69299 (Regression in array_filter's $flag argument in PHP 7).
        (Laruence)
      . Removed call_user_method() and call_user_method_array() functions. (Kalle)
      . Fixed user session handlers (See rfc:session.user.return-value). (Sara)
      . Added intdiv() function. (Andrea)
      . Improved precision of log() function for base 2 and 10. (Marc Bennewitz)
      . Remove string category support in setlocale(). (Nikita)
      . Remove set_magic_quotes_runtime() and its alias magic_quotes_runtime().
        (Nikita)
      . Fixed bug #65272 (flock() out parameter not set correctly in windows).
        (Daniel Lowrey)
      . Added preg_replace_callback_array function. (Wei Dai)
      . Deprecated salt option to password_hash. (Anthony)
      . Fixed bug #69686 (password_verify reports back error on PHP7 will null
        string). (Anthony)
      . Added Windows support for getrusage(). (Kalle)
      . Removed hardcoded limit on number of pipes in proc_open(). (Tony)
    
    - Streams:
      . Fixed bug #68532 (convert.base64-encode omits padding bytes).
        (blaesius at krumedia dot de)
      . Removed set_socket_blocking() in favor of its alias stream_set_blocking().
        (Nikita)
    
    - XSL:
      . Fixed bug #64776 (The XSLT extension is not thread safe). (Mike)
      . Removed xsl.security_prefs ini option. (Nikita)
    
    - Zlib:
      . Added deflate_init(), deflate_add(), inflate_init(), inflate_add()
        functions allowing incremental/streaming compression/decompression.
        (Daniel Lowrey & Bob Weinand)
    
    - Zip:
      . Added ZipArchive::setCompressionName and ZipArchive::setCompressionIndex
        methods (Remi, Cedric Delmas)
      . Update bundled libzip to 1.0.1 (Remi, Anatol)
      . Fixed bug #67161. (ZipArchive::getStream() returns NULL for certain file)
        (Christoph M. Becker)
    
     
    Last edited: Aug 20, 2015
    • Like Like x 1
  2. eva2000

    eva2000 Administrator Staff Member

    30,168
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:28 PM
    Nginx 1.13.x
    MariaDB 5.5
    Updated Centmin Mod .08 beta03 branch with support for PHP 7.0.0alpha1 install via centmin.sh menu option 5.

    Install PHP 7.0.0alpha 1 on Centmin Mod LEMP



    To install and test PHP 7.0.0alpha1 only available on Centmin Mod .08 beta03 and higher:
    1. run centmin.sh menu option 5 and when prompted for php version enter = 7.0.0alpha1 or 7.0.0alpha2 to test alpha1 or enter 7.0.0 to test latest master PHP 7.0 branch code
    Code:
    --------------------------------------------------------
    Centmin Mod 1.2.3-eva2000.08 - http://centminmod.com
    --------------------------------------------------------
                       Centmin Mod Menu           
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  XCache Re-install
    7).  APC Cache Re-install
    8).  XCache Install
    9).  APC Cache Install
    10). Memcached Server Re-install
    11). MariaDB 5.2, 5.5, 10, 10.1 Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install ioping.sh vbtechsupport.com/1239/
    14). SELinux disable
    15). Install/Re-install ImageMagick PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2,p7zip etc
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Re-install
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + WP Super Cache
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 5
    --------------------------------------------------------

    Remove PHP 7.0 Incompatible PHP Extensions



    At end of install you will have a few PHP warnings for unable to load dynamic library for a few PHP extensions - this is normal as PHP 7.0 does not support all PHP extensions right now. So you need to remove the unsupported PHP extensions by removing their accompanying .ini config files and restarting PHP-FPM

    Updates:



    Code:
    rm -rf /etc/centminmod/php.d/igbinary.ini
    #rm -rf /etc/centminmod/php.d/imagick.ini
    rm -rf /etc/centminmod/php.d/memcache.ini
    rm -rf /etc/centminmod/php.d/mongodb.ini
    rm -rf /etc/centminmod/php.d/redis.ini
    rm -rf /etc/centminmod/php.d/suhosin.ini
    
    restart PHP-FPM
    Code:
    service php-fpm restart
    or via command shortcut
    Code:
    fpmrestart
    End result is working PHP 7.0.0 Alpha 1
    Code:
    php -v
    PHP 7.0.0alpha1 (cli) (built: Jun 12 2015 04:11:08)
    Copyright (c) 1997-2015 The PHP Group
    Zend Engine v3.0.0-dev, Copyright (c) 1998-2015 Zend Technologies
        with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies

    PHP 7.0.0 Alpha 1 PHPINFO



    Screenshots for PHP 7 Alpha 1 phpinfo with some of the custom compiled PHP extensions that are included in Centmin Mod .08 beta03 :)

    phpinfo_php700alpha1_00.png phpinfo_php700alpha1_01.png phpinfo_php700alpha1_02.png phpinfo_php700alpha1_03.png phpinfo_php700alpha1_04.png phpinfo_php700alpha1_05.png
     
    Last edited: Jun 25, 2015
  3. eva2000

    eva2000 Administrator Staff Member

    30,168
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:28 PM
    Nginx 1.13.x
    MariaDB 5.5
    Updated Centmin Mod .08 beta03's centmin.sh menu option 5 with more instructions for PHP 7.0.0alpha1 upgrade.

    errors
    Code:
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20141001/igbinary.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20141001/igbinary.so: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20141001/imagick.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20141001/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20141001/memcache.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20141001/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20141001/mongo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20141001/mongo.so: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20141001/redis.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20141001/redis.so: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20141001/suhosin.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20141001/suhosin.so: cannot open shared object file: No such file or directory in 
    centmin.sh menu option 5 upgrade to PHP 7.0.0alpha1 has additional instructions. I don't auto delete these as future developments by those unsupported PHP extensions may improve with support for PHP 7.0
    Code:
    ***************************************************
    PHP 7.0 detected.. remove unsupported PHP extensions manually
    by removing their ini files:
    ***************************************************
    
    rm -rf /etc/centminmod/php.d/igbinary.ini
    #rm -rf /etc/centminmod/php.d/imagick.ini
    rm -rf /etc/centminmod/php.d/memcache.ini
    rm -rf /etc/centminmod/php.d/mongodb.ini
    rm -rf /etc/centminmod/php.d/redis.ini
    rm -rf /etc/centminmod/php.d/suhosin.ini
    
    then restart PHP-FPM again...
    
    ***************************************************
    * PHP upgraded and auto reinstalled PHP extensions
    ***************************************************
    End result is working PHP 7.0.0 Alpha 1
    Code:
    php -v
    PHP 7.0.0alpha1 (cli) (built: Jun 12 2015 04:11:08)
    Copyright (c) 1997-2015 The PHP Group
    Zend Engine v3.0.0-dev, Copyright (c) 1998-2015 Zend Technologies
        with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
     
    Last edited: Jun 14, 2015
  4. eva2000

    eva2000 Administrator Staff Member

    30,168
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:28 PM
    Nginx 1.13.x
    MariaDB 5.5
    Reminder is you need to use Centmin Mod .08 beta03 for PHP 7.0 support ;)

    Instructions for installing Centmin Mod .08 beta03 outlined here CentOS 7.x - How to help test .08 CentOS 7 Betas with Github code ?

    centmin.sh menu option 5 upgrade to PHP 7.0.0 Alpha1

    Code:
    --------------------------------------------------------
    Centmin Mod 1.2.3-eva2000.08 - http://centminmod.com
    --------------------------------------------------------
                       Centmin Mod Menu              
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  XCache Re-install
    7).  APC Cache Re-install
    8).  XCache Install
    9).  APC Cache Install
    10). Memcached Server Re-install
    11). MariaDB 5.2, 5.5, 10, 10.1 Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install ioping.sh vbtechsupport.com/1239/
    14). SELinux disable
    15). Install/Re-install ImageMagick PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2,p7zip etc
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Re-install
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + WP Super Cache
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 5
    --------------------------------------------------------
    
    When prompted for php version enter = 7.0.0alpha1 to test alpha1 or enter 7.0.0 to test latest master PHP 7.0 branch code. You can skip YUM checks if you know your system YUM packages are up to date.
    Code:
    Do you want to run YUM install checks ?  [y/n]
    
    This will increase your upgrade duration time wise.
    Check the change log centminmod.com/changelog.html
    to see if any Nginx or PHP related new additions
    which require checking YUM prequisites are met.
    If no new additions made, you can skip the
    YUM install check to speed up upgrade time.
    
    [y/n]: n
    PHP Upgrade - Would you like to continue? [y/n] y
    ----------------------------------------------------------------
    Install which version of PHP? (version i.e. 5.4.41, 7.0.0, NGDEBUG)
    PHP 7.0.0 is experimental in alpha status and may have broken PHP extensions.
    NGDEBUG is PHP 7.0.0 minus incompatible PHP extensions
    ----------------------------------------------------------------
    Enter PHP Version number you want to upgrade/downgrade to: 7.0.0alpha1
    ----------------------------------------------------------------
    
    PHP upgrade auto backups up existing php-fpm.conf and php.ini files if you choose to overwrite existing versions.
    Code:
    Want to update to latest php-fpm.conf ? (overwrites will auto backup existing php-fpm.conf)
    existing php.ini will be backed up at /usr/local/lib/php.ini-oldversion_120615-040513
    existing php-fpm.conf will be backed up at /usr/local/etc/php-fpm.conf-oldversion_120615-040513
    ----------------------------------------------------------------
    Update & overwrite your existing php-fpm.conf [y/n]: n
    ----------------------------------------------------------------
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20141001/igbinary.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20141001/igbinary.so: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20141001/imagick.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20141001/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20141001/memcache.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20141001/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20141001/mongo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20141001/mongo.so: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20141001/redis.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20141001/redis.so: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20141001/suhosin.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20141001/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0
    Downloading PHP 7.0.0alpha1 from https://downloads.php.net/~ab/
    Download php-7.0.0alpha1.tar.gz ...
    wget -cnv https://downloads.php.net/~ab/php-7.0.0alpha1.tar.gz --tries=3
    2015-06-12 04:05:27 URL:https://downloads.php.net/~ab/php-7.0.0alpha1.tar.gz [19394503/19394503] -> "php-7.0.0alpha1.tar.gz" [1]
    Download done.
    php-7.0.0alpha1.tar.gz valid file.
    
    Asks if you want to compile with Zend Opcache php opcode cache support
    Code:
    -----------------------------------------------------------------------------------------
    Detected PHP 7.0 branch.
    You can compile Zend OPcache (Zend Optimizer Plus+) support
    as an alternative to using APC Cache or Xcache cache.
    But Zend OPcache only provides PHP opcode cache and
    DOESN'T do data caching, so if you web apps such as Wordpress,
    Drupal or vBulletin require data caching to APC or Xcache,
    it won't work with Zend OPcache.
    
    -----------------------------------------------------------------------------------------
    Do you want to use Zend OPcache [y/n] ? y
    
    Once PHP 7.0.0 Alpha 1 upgrade completes, additional manual steps to remove unsupported PHP extension's individual ini files.
    Code:
    ***************************************************
    PHP 7.0 detected.. remove unsupported PHP extensions manually
    by removing their ini files:
    ***************************************************
    
    rm -rf /etc/centminmod/php.d/igbinary.ini
    #rm -rf /etc/centminmod/php.d/imagick.ini
    rm -rf /etc/centminmod/php.d/memcache.ini
    rm -rf /etc/centminmod/php.d/mongodb.ini
    rm -rf /etc/centminmod/php.d/redis.ini
    
    then restart PHP-FPM again...
    
    ***************************************************
    * PHP upgraded and auto reinstalled PHP extensions
    ***************************************************
    End result is working PHP 7.0.0 Alpha 1
    Code:
    php -v
    PHP 7.0.0alpha1 (cli) (built: Jun 12 2015 04:11:08)
    Copyright (c) 1997-2015 The PHP Group
    Zend Engine v3.0.0-dev, Copyright (c) 1998-2015 Zend Technologies
        with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
     
    Last edited: Jun 14, 2015
  5. eva2000

    eva2000 Administrator Staff Member

    30,168
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:28 PM
    Nginx 1.13.x
    MariaDB 5.5
    currently supported PHP extensions for PHP 7.0.0 Alpha 1 on Centmin Mod .08 beta03 LEMP web stack on CentOS 6.6 64bit

    Looks like geoip PHP extension got support in PHP 7.0.0 Alpha 1 :D

    Code:
     php -m
    [PHP Modules]
    bcmath
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    enchant
    exif
    filter
    ftp
    gd
    geoip
    gettext
    gmp
    hash
    iconv
    imagick
    imap
    intl
    json
    libxml
    mbstring
    mcrypt
    memcached
    mhash
    mysqli
    mysqlnd
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    pdo_sqlite
    Phar
    posix
    pspell
    readline
    Reflection
    session
    shmop
    SimpleXML
    snmp
    soap
    sockets
    SPL
    sqlite3
    standard
    sysvmsg
    sysvsem
    sysvshm
    tidy
    tokenizer
    xml
    xmlreader
    xmlrpc
    xmlwriter
    Zend OPcache
    zip
    zlib
    
    [Zend Modules]
    Zend OPcache
    Memcached PHP extension is supported in PHP 7.0.0 Alpha 1 via the special Memcached PHP 7 branch code on Github.

    Code:
     php --ri memcached
    
    memcached
    
    memcached support => enabled
    Version => 2.2.0
    libmemcached version => 1.0.18
    SASL support => yes
    Session support => yes
    igbinary support => no
    json support => yes
    msgpack support => no
    
    Directive => Local Value => Master Value
    memcached.sess_locking => 1 => 1
    memcached.sess_consistent_hash => 0 => 0
    memcached.sess_binary => 0 => 0
    memcached.sess_lock_wait => 150000 => 150000
    memcached.sess_lock_max_wait => 0 => 0
    memcached.sess_lock_expire => 0 => 0
    memcached.sess_prefix => memc.sess.key. => memc.sess.key.
    memcached.sess_number_of_replicas => 0 => 0
    memcached.sess_randomize_replica_read => 0 => 0
    memcached.sess_remove_failed => 0 => 0
    memcached.sess_connect_timeout => 3000 => 3000
    memcached.sess_sasl_username => no value => no value
    memcached.sess_sasl_password => no value => no value
    memcached.compression_type => fastlz => fastlz
    memcached.compression_factor => 1.3 => 1.3
    memcached.compression_threshold => 2000 => 2000
    memcached.serializer => php => php
    memcached.use_sasl => 0 => 0
    memcached.store_retry_count => 2 => 2
    GeoIP dev version PHP extension supported on PHP 7.0.0 Alpha 1 from
    Code:
    php --ri geoip
    
    geoip
    
    geoip support => enabled
    geoip extension version => 1.1.1-dev
    geoip library version => 1005000
    
    Directive => Local Value => Master Value
    geoip.custom_directory => no value => no value
    PHP 7.0.0 Alpha 1 configuration options
     
    Last edited: Jun 14, 2015
  6. eva2000

    eva2000 Administrator Staff Member

    30,168
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:28 PM
    Nginx 1.13.x
    MariaDB 5.5
    If you want to test PHP 7.0.0 Alpha 1 with real web app, you can take advantage of Centmin Mod .08 beta03's centmin.sh menu option 22 to auto install Wordpress latest version + WP Super Cache and configure Nginx vhost for Wordpress. Details at Beta Branch - Preview: Wordpress + WP Super Cache installer - centmin.sh option 22. Youtube Video preview for centmin.sh menu option 22

    May need to disable WP Super Cache plugin after install, so can test PHP 7.0.0 Alpha rather than WP Super Cache's generated static file caching.

    Code:
    --------------------------------------------------------
    Centmin Mod 1.2.3-eva2000.08 - http://centminmod.com
    --------------------------------------------------------
                       Centmin Mod Menu
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  XCache Re-install
    7).  APC Cache Re-install
    8).  XCache Install
    9).  APC Cache Install
    10). Memcached Server Re-install
    11). MariaDB 5.2, 5.5, 10 Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install ioping.sh vbtechsupport.com/1239/
    14). SELinux disable
    15). Install/Re-install ImageMagick PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2,p7zip etc
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Re-install
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + WP Super Cache
    23). Exit
    --------------------------------------------------------
    Enter option [ 1 - 23 ] 22
    --------------------------------------------------------

    WP-CLI not working with PHP 7.0.0 Alpha1



    Looks like PHP 7.0.0 Alpha 1 not fully working with WP-CLI command line which is what centmin.sh menu option 22 uses to auto install and configure Wordpress. WP-CLI github issue at Experimental support for PHP 7 by danielbachhuber · Pull Request #1844 · wp-cli/wp-cli · GitHub

    So you might need to run centmin.sh menu option 22 when on PHP 5.4/5.5 or 5.6 first and then switch and upgrade via centmin.sh menu option 5 to PHP 7.0.0 Alpha 1.

    Some of the Wordpress plugins which are auto installed also might have compatibility issues with PHP 7.0.0 Alpha 1

    Code:
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in 
    output from centmin.sh menu option 22 while PHP 7.0.0 Alpha 1 installed
    Code:
    ------------------------------------------------------------
    Setup Wordpress + Super Cache for php7.newdomain.com
    ------------------------------------------------------------
    Downloading WordPress 4.2.2 (en_US)...
    Success: WordPress downloaded.
    Success: Generated wp-config.php file.
    Success: WordPress installed successfully.
    ------------------------------------------------------------
    Installing Responsive (1.9.7.6)
    Downloading install package from https://downloads.wordpress.org/theme/responsive.1.9.7.6.zip...
    Unpacking the package...
    Installing the theme...
    Theme installed successfully.
    Success: Translations updates are not needed for the 'English (US)' locale.
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    ------------------------------------------------------------
    ------------------------------------------------------------
    Installing WP Super Cache (1.4.4)
    Downloading install package from https://downloads.wordpress.org/plugin/wp-super-cache.1.4.4.zip...
    Unpacking the package...
    Installing the plugin...
    Plugin installed successfully.
    Success: Translations updates are not needed for the 'English (US)' locale.
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    ------------------------------------------------------------
    Installing WP Super Cache - Clear all cache (1.3.1)
    Downloading install package from https://downloads.wordpress.org/plugin/wp-super-cache-clear-cache-menu.1.3.1.zip...
    Unpacking the package...
    Installing the plugin...
    Plugin installed successfully.
    Success: Translations updates are not needed for the 'English (US)' locale.
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    ------------------------------------------------------------
    Installing WP Widget Cache (0.26)
    Downloading install package from https://downloads.wordpress.org/plugin/wp-widget-cache.0.26.zip...
    Unpacking the package...
    Installing the plugin...
    Plugin installed successfully.
    Success: Translations updates are not needed for the 'English (US)' locale.
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    ------------------------------------------------------------
    Installing Autoptimize (1.9.4)
    Downloading install package from https://downloads.wordpress.org/plugin/autoptimize.1.9.4.zip...
    Unpacking the package...
    Installing the plugin...
    Plugin installed successfully.
    Success: Translations updates are not needed for the 'English (US)' locale.
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    ------------------------------------------------------------
    Installing Rocket Lazy Load (1.0.4)
    Downloading install package from https://downloads.wordpress.org/plugin/rocket-lazy-load.1.0.4.zip...
    Unpacking the package...
    Installing the plugin...
    Plugin installed successfully.
    Success: Translations updates are not needed for the 'English (US)' locale.
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    ------------------------------------------------------------
    Installing Acunetix WP Security (4.0.5)
    Downloading install package from https://downloads.wordpress.org/plugin/wp-security-scan.zip...
    Unpacking the package...
    Installing the plugin...
    Plugin installed successfully.
    Success: Translations updates are not needed for the 'English (US)' locale.
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    ------------------------------------------------------------
    Installing Sucuri Security - Auditing, Malware Scanner and Security Hardening (1.7.9)
    Downloading install package from https://downloads.wordpress.org/plugin/sucuri-scanner.1.7.9.zip...
    Unpacking the package...
    Installing the plugin...
    Plugin installed successfully.
    Success: Translations updates are not needed for the 'English (US)' locale.
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    inc/wpsetup.inc: line 33: 32623 Segmentation fault      wp plugin install sucuri-scanner --activate --allow-root
    ------------------------------------------------------------
    Installing Disable XML-RPC (1.0.1)
    Downloading install package from https://downloads.wordpress.org/plugin/disable-xml-rpc.1.0.1.zip...
    Unpacking the package...
    Installing the plugin...
    Plugin installed successfully.
    Success: Translations updates are not needed for the 'English (US)' locale.
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    ------------------------------------------------------------
    Installing Limit Login Attempts (1.7.1)
    Downloading install package from https://downloads.wordpress.org/plugin/limit-login-attempts.1.7.1.zip...
    Unpacking the package...
    Installing the plugin...
    Plugin installed successfully.
    Success: Translations updates are not needed for the 'English (US)' locale.
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    inc/wpsetup.inc: line 33:  3391 Segmentation fault      wp plugin install limit-login-attempts --activate --allow-root
    ------------------------------------------------------------
    Installing WP Updates Notifier (1.4.1)
    Downloading install package from https://downloads.wordpress.org/plugin/wp-updates-notifier.1.4.1.zip...
    Unpacking the package...
    Installing the plugin...
    Plugin installed successfully.
    Success: Translations updates are not needed for the 'English (US)' locale.
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    inc/wpsetup.inc: line 33:  4865 Segmentation fault      wp plugin install wp-updates-notifier --activate --allow-root
    ------------------------------------------------------------
    Installing No Longer in Directory (1.0.41)
    Downloading install package from https://downloads.wordpress.org/plugin/no-longer-in-directory.zip...
    Unpacking the package...
    Installing the plugin...
    Plugin installed successfully.
    Success: Translations updates are not needed for the 'English (US)' locale.
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    inc/wpsetup.inc: line 33:  6324 Segmentation fault      wp plugin install no-longer-in-directory --activate --allow-root
    ------------------------------------------------------------
    Installing WP-Optimize (1.8.9.10)
    Downloading install package from https://downloads.wordpress.org/plugin/wp-optimize.1.8.9.10.zip...
    Unpacking the package...
    Installing the plugin...
    Plugin installed successfully.
    Success: Translations updates are not needed for the 'English (US)' locale.
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    inc/wpsetup.inc: line 33:  7917 Segmentation fault      wp plugin install wp-optimize --activate --allow-root
    ------------------------------------------------------------
    Installing TPC! Memory Usage (0.9.1)
    Downloading install package from https://downloads.wordpress.org/plugin/tpc-memory-usage.0.9.1.zip...
    Unpacking the package...
    Installing the plugin...
    Plugin installed successfully.
    Success: Translations updates are not needed for the 'English (US)' locale.
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    inc/wpsetup.inc: line 33:  9433 Segmentation fault      wp plugin install tpc-memory-usage --activate --allow-root
    ------------------------------------------------------------
    Installing GTmetrix for WordPress (0.4.1)
    Downloading install package from https://downloads.wordpress.org/plugin/gtmetrix-for-wordpress.0.4.1.zip...
    Unpacking the package...
    Installing the plugin...
    Plugin installed successfully.
    Success: Translations updates are not needed for the 'English (US)' locale.
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    inc/wpsetup.inc: line 33: 11336 Segmentation fault      wp plugin install gtmetrix-for-wordpress --activate --allow-root
    ------------------------------------------------------------
    Installing P3 (Plugin Performance Profiler) (1.5.3.9)
    Downloading install package from https://downloads.wordpress.org/plugin/p3-profiler.1.5.3.9.zip...
    Unpacking the package...
    Installing the plugin...
    Plugin installed successfully.
    Success: Translations updates are not needed for the 'English (US)' locale.
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    ------------------------------------------------------------
    Installing WordPress SEO by Yoast (2.2.1)
    Downloading install package from https://downloads.wordpress.org/plugin/wordpress-seo.2.2.1.zip...
    Unpacking the package...
    Installing the plugin...
    Plugin installed successfully.
    Success: Translations updates are not needed for the 'English (US)' locale.
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    inc/wpsetup.inc: line 33: 14576 Segmentation fault      wp plugin install wordpress-seo --activate --allow-root
    ------------------------------------------------------------
    Installing UpdraftPlus Backup and Restoration (1.10.3)
    Downloading install package from https://downloads.wordpress.org/plugin/updraftplus.1.10.3.zip...
    Unpacking the package...
    Installing the plugin...
    Plugin installed successfully.
    Success: Translations updates are not needed for the 'English (US)' locale.
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    inc/wpsetup.inc: line 33: 16353 Segmentation fault      wp plugin install updraftplus --activate --allow-root
    ------------------------------------------------------------
    Installing Google Analytics by Yoast (5.4.2)
    Downloading install package from https://downloads.wordpress.org/plugin/google-analytics-for-wordpress.5.4.2.zip...
    Unpacking the package...
    Installing the plugin...
    Plugin installed successfully.
    Success: Translations updates are not needed for the 'English (US)' locale.
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    inc/wpsetup.inc: line 33: 18856 Segmentation fault      wp plugin install google-analytics-for-wordpress --activate --allow-root
    ------------------------------------------------------------
    ------------------------------------------------------------
    Installing Query Monitor (2.7.4)
    Downloading install package from https://downloads.wordpress.org/plugin/query-monitor.2.7.4.zip...
    Unpacking the package...
    Installing the plugin...
    Plugin installed successfully.
    Success: Translations updates are not needed for the 'English (US)' locale.
    inc/wpsetup.inc: line 33: 20866 Segmentation fault      wp plugin install query-monitor --allow-root
    ------------------------------------------------------------
    Installing Gigaom New Relic (0.3)
    Downloading install package from https://downloads.wordpress.org/plugin/go-newrelic.zip...
    Unpacking the package...
    Installing the plugin...
    Plugin installed successfully.
    Success: Translations updates are not needed for the 'English (US)' locale.
    ------------------------------------------------------------
    Installing DB Cache Reloaded Fix (2.3)
    Downloading install package from https://downloads.wordpress.org/plugin/db-cache-reloaded-fix.zip...
    Unpacking the package...
    Installing the plugin...
    Plugin installed successfully.
    Success: Translations updates are not needed for the 'English (US)' locale.
    ------------------------------------------------------------
    Installing Google Authenticator (0.47)
    Downloading install package from https://downloads.wordpress.org/plugin/google-authenticator.0.47.zip...
    Unpacking the package...
    Installing the plugin...
    Plugin installed successfully.
    Success: Translations updates are not needed for the 'English (US)' locale.
    ------------------------------------------------------------
    Installing Smart Layers by AddThis (1.0.10)
    Downloading install package from https://downloads.wordpress.org/plugin/addthis-smart-layers.1.0.10.zip...
    Unpacking the package...
    Installing the plugin...
    Plugin installed successfully.
    Success: Translations updates are not needed for the 'English (US)' locale.
    ------------------------------------------------------------
    Installing Search Regex (1.4.15)
    Downloading install package from https://downloads.wordpress.org/plugin/search-regex.zip...
    Unpacking the package...
    Installing the plugin...
    Plugin installed successfully.
    Success: Translations updates are not needed for the 'English (US)' locale.
    ------------------------------------------------------------
    Downloading update from https://downloads.wordpress.org/plugin/akismet.3.1.2.zip...
    Unpacking the update...
    Installing the latest version...
    Removing the old version of the plugin...
    Plugin updated successfully.
    Success: Translations updates are not needed for the 'English (US)' locale.
    PHP Warning:  fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    Warning: fwrite(): supplied resource is not a valid stream resource in phar:///usr/bin/wp/php/WP_CLI/Loggers/Regular.php on line 24
    inc/wpsetup.inc: line 33: 30786 Segmentation fault      wp plugin update --all --allow-root
    
    27 installed plugins:
      A wp-security-scan                4.0.5
      I addthis-smart-layers            1.0.10
      I akismet                         3.1.2
      A autoptimize                     1.9.4
      I db-cache-reloaded-fix           2.3
      A disable-xml-rpc                 1.0.1
      I go-newrelic                     0.3
      A google-analytics-for-wordpress  5.4.2
      I google-authenticator            0.47
      A gtmetrix-for-wordpress          0.4.1
      I hello                           1.6
      A limit-login-attempts            1.7.1
      A no-longer-in-directory          1.0.41
      A p3-profiler                     1.5.3.9
      I query-monitor                   2.7.4
      A rocket-lazy-load                1.0.4
      I search-regex                    1.4.15
      A sucuri-scanner                  1.7.9
      A tpc-memory-usage                0.9.1
      A updraftplus                     1.10.3
      A wordpress-seo                   2.2.1
      A wp-optimize                     1.8.9.10
      A wp-super-cache                  1.4.4
      A wp-super-cache-clear-cache-menu 1.3.1
      A wp-updates-notifier             1.4.1
      A wp-widget-cache                 0.26
      M p3-profiler               
    
    Legend: A = Active, I = Inactive, M = Must Use
    ------------------------------------------------------------
    ------------------------------------------------------------
    Created uninstall script
    /root/tools/wp_uninstall_php7.newdomain.com.sh
    ------------------------------------------------------------
    ------------------------------------------------------------
    Created wp_updater_php7.newdomain.com.sh script
    /root/tools/wp_updater_php7.newdomain.com.sh
    ------------------------------------------------------------
    0 */4 * * * /usr/bin/cminfo_updater
    0 */8 * * * sleep 136s ;/root/tools/wp_updater_php7.newdomain.com.sh 2>/dev/null
    
    ---------------------------------------------
    service nginx reload
    nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
    nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
    Reloading nginx:                                           [  OK  ]
    service pure-ftpd restart
    Stopping pure-ftpd:                                        [  OK  ]
    Starting pure-ftpd:                                        [  OK  ]
    
    ---------------------------------------------
    FTP hostname : SERVERIP
    FTP port : 21
    FTP mode : FTP (explicit SSL)
    FTP Passive (PASV) : ensure is checked/enabled
    FTP username created for php7.newdomain.com : user7
    FTP password created for php7.newdomain.com : Rwg4YqUn8JjoyucEw0XX9
    ---------------------------------------------
    
    ------------------------------------------------------------
    php7.newdomain.com created
    nginx vhost: /usr/local/nginx/conf/conf.d/php7.newdomain.com.conf
    php7.newdomain.com public web root: /home/nginx/domains/php7.newdomain.com/public
    php7.newdomain.com log directory: /home/nginx/domains/php7.newdomain.com/log
    
    ------------------------------------------------------------
    SSH commands to uninstall created Wordpress install and Nginx vhost:
      /root/tools/wp_uninstall_php7.newdomain.com.sh
    ------------------------------------------------------------
    
    ------------------------------------------------------------
    Wordpress Auto Updater created at:
      /root/tools/wp_updater_php7.newdomain.com.sh
    cronjob set for every 8 hours update (3x times per day)
    ------------------------------------------------------------
     
    Last edited: Jun 12, 2015
  7. eva2000

    eva2000 Administrator Staff Member

    30,168
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:28 PM
    Nginx 1.13.x
    MariaDB 5.5

    PHP 7.0.0 Alpha 1 Benchmarks



    TBA.. later :D

    Notes:



    FYI, Centmin Mod LEMP web stack installer already includes support for Siege Benchmark Tool. In Centmin Mod .08 beta 03 it's Siege version 3.1.0. If you want to play with other benchmarking tools I have a CentOS 6 based Docker image with a lot of commonly used benchmark tools I use at centminmod/docker-centos6-siege Repository which is part of Centmin Mod Docker Development forums :)

    Code:
    siege -v
    SIEGE 3.1.0
    Usage: siege [options]
           siege [options] URL
           siege -g URL
    Options:
      -V, --version             VERSION, prints the version number.
      -h, --help                HELP, prints this section.
      -C, --config              CONFIGURATION, show the current config.
      -v, --verbose             VERBOSE, prints notification to screen.
      -q, --quiet               QUIET turns verbose off and suppresses output.
      -g, --get                 GET, pull down HTTP headers and display the
                                transaction. Great for application debugging.
      -c, --concurrent=NUM      CONCURRENT users, default is 10
      -i, --internet            INTERNET user simulation, hits URLs randomly.
      -b, --benchmark           BENCHMARK: no delays between requests.
      -t, --time=NUMm           TIMED testing where "m" is modifier S, M, or H
                                ex: --time=1H, one hour test.
      -r, --reps=NUM            REPS, number of times to run the test.
      -f, --file=FILE           FILE, select a specific URLS FILE.
      -R, --rc=FILE             RC, specify an siegerc file
      -l, --log[=FILE]          LOG to FILE. If FILE is not specified, the
                                default is used: PREFIX/var/siege.log
      -m, --mark="text"         MARK, mark the log file with a string.
      -d, --delay=NUM           Time DELAY, random delay before each requst
                                between .001 and NUM. (NOT COUNTED IN STATS)
      -H, --header="text"       Add a header to request (can be many)
      -A, --user-agent="text"   Sets User-Agent in request
      -T, --content-type="text" Sets Content-Type in request
    
    Copyright (C) 2015 by Jeffrey Fulmer, et al.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS
    FOR A PARTICULAR PURPOSE.
    
     
    Last edited: Jun 12, 2015
    • Like Like x 1
  8. eva2000

    eva2000 Administrator Staff Member

    30,168
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:28 PM
    Nginx 1.13.x
    MariaDB 5.5
  9. RoldanLT

    RoldanLT Well-Known Member

    3,901
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    2:28 PM
    1.11
    10.2
    So only igbinary, imagick(centminmod essentials) is only not supported?
     
  10. eva2000

    eva2000 Administrator Staff Member

    30,168
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:28 PM
    Nginx 1.13.x
    MariaDB 5.5
    most listed below
    Code:
    ***************************************************
    PHP 7.0 detected.. remove unsupported PHP extensions manually
    by removing their ini files:
    ***************************************************
    
    rm -rf /etc/centminmod/php.d/igbinary.ini
    rm -rf /etc/centminmod/php.d/imagick.ini
    rm -rf /etc/centminmod/php.d/memcache.ini
    rm -rf /etc/centminmod/php.d/mongodb.ini
    rm -rf /etc/centminmod/php.d/redis.ini
    
    then restart PHP-FPM again...
    
    ***************************************************
    * PHP upgraded and auto reinstalled PHP extensions
    ***************************************************
     
  11. SneakyDave

    SneakyDave Member

    68
    11
    8
    Jul 24, 2014
    Ratings:
    +16
    Local Time:
    1:28 AM
    1.0.15
    Woohoo. Thanks for the info. Hope to play a bit today with it
     
    • Like Like x 1
  12. eva2000

    eva2000 Administrator Staff Member

    30,168
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:28 PM
    Nginx 1.13.x
    MariaDB 5.5
    • Like Like x 2
  13. RoldanLT

    RoldanLT Well-Known Member

    3,901
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    2:28 PM
    1.11
    10.2
    So only thing to wait for me is igbinary:).
     
  14. eva2000

    eva2000 Administrator Staff Member

    30,168
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:28 PM
    Nginx 1.13.x
    MariaDB 5.5
  15. RoldanLT

    RoldanLT Well-Known Member

    3,901
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    2:28 PM
    1.11
    10.2
  16. eva2000

    eva2000 Administrator Staff Member

    30,168
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:28 PM
    Nginx 1.13.x
    MariaDB 5.5
  17. eva2000

    eva2000 Administrator Staff Member

    30,168
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:28 PM
    Nginx 1.13.x
    MariaDB 5.5
    doh didn't work for PHP 7.0.0 Alpha 1 and imagick phpseven git branch :( Full gist log of errors imagick phpseven git branch compile against PHP 7.0.0 Alpha 1 errors https://community.centminmod.com/posts/15010/

    Code:
    /svr-setup/imagick-php7/imagickpixeliterator_class.c:408: warning: cast to pointer from integer of different size
    /svr-setup/imagick-php7/imagickpixeliterator_class.c: In function 's_pixelwands_to_zval':
    /svr-setup/imagick-php7/imagickpixeliterator_class.c:441: warning: cast to pointer from integer of different size
    /svr-setup/imagick-php7/imagickpixeliterator_class.c: In function 'zim_imagickpixeliterator_getpreviousiteratorrow':
    /svr-setup/imagick-php7/imagickpixeliterator_class.c:463: warning: cast to pointer from integer of different size
    /svr-setup/imagick-php7/imagickpixeliterator_class.c: In function 'zim_imagickpixeliterator_getcurrentiteratorrow':
    /svr-setup/imagick-php7/imagickpixeliterator_class.c:501: warning: cast to pointer from integer of different size
    /svr-setup/imagick-php7/imagickpixeliterator_class.c: In function 'zim_imagickpixeliterator_getnextiteratorrow':
    /svr-setup/imagick-php7/imagickpixeliterator_class.c:542: warning: cast to pointer from integer of different size
    /svr-setup/imagick-php7/imagickpixeliterator_class.c: In function 'zim_imagickpixeliterator_clear':
    /svr-setup/imagick-php7/imagickpixeliterator_class.c:574: warning: cast to pointer from integer of different size
    /svr-setup/imagick-php7/imagickpixeliterator_class.c: In function 'zim_imagickpixeliterator_valid':
    /svr-setup/imagick-php7/imagickpixeliterator_class.c:601: warning: cast to pointer from integer of different size
    /bin/sh /svr-setup/imagick-php7/libtool --mode=compile ccache /usr/bin/gcc -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6   -I. -I/svr-setup/imagick-php7 -DPHP_ATOM_INC -I/svr-setup/imagick-php7/include -I/svr-setup/imagick-php7/main -I/svr-setup/imagick-php7 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-6  -DHAVE_CONFIG_H  -g -O2   -c /svr-setup/imagick-php7/imagick_file.c -o imagick_file.lo
    ccache /usr/bin/gcc -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6 -I. -I/svr-setup/imagick-php7 -DPHP_ATOM_INC -I/svr-setup/imagick-php7/include -I/svr-setup/imagick-php7/main -I/svr-setup/imagick-php7 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -c /svr-setup/imagick-php7/imagick_file.c  -fPIC -DPIC -o .libs/imagick_file.o
    /svr-setup/imagick-php7/imagick_file.c: In function 'php_imagick_read_image_using_php_streams':
    /svr-setup/imagick-php7/imagick_file.c:193: error: 'ENFORCE_SAFE_MODE' undeclared (first use in this function)
    /svr-setup/imagick-php7/imagick_file.c:193: error: (Each undeclared identifier is reported only once
    /svr-setup/imagick-php7/imagick_file.c:193: error: for each function it appears in.)
    make: *** [imagick_file.lo] Error 1
    doh my mistake copy and paste error got the branch wrong for imagick heh
     
    • Like Like x 1
  18. eva2000

    eva2000 Administrator Staff Member

    30,168
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:28 PM
    Nginx 1.13.x
    MariaDB 5.5
    Fixed my boo boo and compiled from correct imagick phpseven branch and it works on PHP 7.0.0 Alpha 1

    Code:
     php -v
    PHP 7.0.0alpha1 (cli) (built: Jun 14 2015 00:18:38)
    Copyright (c) 1997-2015 The PHP Group
    Zend Engine v3.0.0-dev, Copyright (c) 1998-2015 Zend Technologies
        with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
    Code:
    php --ri imagick
    imagick
    
    imagick module => enabled
    imagick module version => @PACKAGE_VERSION@
    imagick classes => Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator, ImagickKernel
    Imagick compiled with ImageMagick version => ImageMagick 6.9.1-4 Q16 x86_64 2015-06-02 http://www.imagemagick.org
    Imagick using ImageMagick library version => ImageMagick 6.9.1-4 Q16 x86_64 2015-06-02 http://www.imagemagick.org
    ImageMagick copyright => Copyright (C) 1999-2015 ImageMagick Studio LLC
    ImageMagick release date => 2015-06-02
    ImageMagick number of supported formats:  => 217
    ImageMagick supported formats => 3FR, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FITS, FRACTAL, FTS, G3, GIF, GIF87, GRADIENT, GRAY, GROUP4, GV, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, JNG, JNX, JPE, JPEG, JPG, JPS, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
    
    Directive => Local Value => Master Value
    imagick.locale_fix => 0 => 0
    imagick.skip_version_check => 0 => 0
    imagick.progress_monitor => 0 => 0
    Code:
    php --ini
    Configuration File (php.ini) Path: /usr/local/lib
    Loaded Configuration File:         /usr/local/lib/php.ini
    Scan for additional .ini files in: /etc/centminmod/php.d
    Additional .ini files parsed:      /etc/centminmod/php.d/a_customphp.ini,
    /etc/centminmod/php.d/curlcainfo.ini,
    /etc/centminmod/php.d/geoip.ini,
    /etc/centminmod/php.d/igbinary.ini,
    /etc/centminmod/php.d/imagick.ini,
    /etc/centminmod/php.d/memcache.ini,
    /etc/centminmod/php.d/memcached.ini,
    /etc/centminmod/php.d/mongodb.ini,
    /etc/centminmod/php.d/redis.ini,
    /etc/centminmod/php.d/zendopcache.ini
    Code:
    [PHP Modules]
    bcmath
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    enchant
    exif
    filter
    ftp
    gd
    geoip
    gettext
    gmp
    hash
    iconv
    imagick
    imap
    intl
    json
    libxml
    mbstring
    mcrypt
    memcached
    mhash
    mysqli
    mysqlnd
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    pdo_sqlite
    Phar
    posix
    pspell
    readline
    Reflection
    session
    shmop
    SimpleXML
    snmp
    soap
    sockets
    SPL
    sqlite3
    standard
    sysvmsg
    sysvsem
    sysvshm
    tidy
    tokenizer
    xml
    xmlreader
    xmlrpc
    xmlwriter
    Zend OPcache
    zip
    zlib
    
    [Zend Modules]
    Zend OPcache
    Committing imagick updated routine for PHP 7.0.0 Alpha 1 to Centmin Mod .08 beta 03 add imagick PHP extension support for PHP 7 · centminmod/centminmod@62cd16c · GitHub :D
     
    • Winner Winner x 1
  19. RoldanLT

    RoldanLT Well-Known Member

    3,901
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    2:28 PM
    1.11
    10.2
    I'm almost tempted to do this on my Live Server :D
    So all of this are supported now?
     
  20. eva2000

    eva2000 Administrator Staff Member

    30,168
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:28 PM
    Nginx 1.13.x
    MariaDB 5.5
    mongodb, redis and memcache not supported for PHP 7 so far

    give me 10 mins and i should see if igbinary update I have will allow PHP 7 support :)
     
    • Like Like x 1