Learn about Centmin Mod LEMP Stack today
Become a Member

Beta Branch Centmin Mod .09 beta branch Testing

Discussion in 'Beta release code' started by eva2000, Aug 12, 2015.

Tags:
  1. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    8:01 PM
    Nginx 1.13.x
    MariaDB 5.5
    More coverage on Brotli compression which 123.09beta01 will support via ngx_brotli module = Performance Calendar » New Year’s Diet: Brotli Compression.

    More info

    Only Firefox 44 supports brotli compression on browser end and it's due in Jan 2016 Firefox 44 for developers - Mozilla | MDN :D

    I just enabled ngx_brotli on this forum's Nginx 1.9.9 install with ngx_pagespeed 1.10 experimental 123.09beta01-gcc branch where ngx_pagespeed 1.10 fixes a compatibility issue with ngx_brotli module :D

    Firefox 45 nightly browser = Accept-Encoding: "gzip, deflate, br" where br = brotli :D

    upload_2015-12-27_20-0-49.png

    webpagetets.org Dulles, VA test location is only one supporting Firefox Nightly 44+ browser so did compare from canary vs firefox nightly vs chrome vs ie11 for forums and clearly you see firefox nightly rendered the actual forum text quicker than others - maybe due to brotli compression on css and js files ?

    cable 5Mbps tests. FYI, ie11 browser doesn't support HTTP/2 unless Windows 10 OS, so hence the slower visual render time

    upload_2015-12-28_0-26-10.png

    upload_2015-12-28_0-26-46.png

    upload_2015-12-28_0-27-11.png

    upload_2015-12-28_0-27-33.png

    upload_2015-12-28_0-27-54.png
     
    Last edited: Dec 28, 2015
  2. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    8:01 PM
    Nginx 1.13.x
    MariaDB 5.5

    Intel Specific Optimisations for PHP-FPM Compile Routine



    Added to Centmin Mod 123.09beta01's PHP-FPM source compile routine Intel specific compilation optimisations if Intel processors are detected. Similar to what I have been doing for Nginx source compiles on Centmin Mod for past few releases. Commit at Beta Branch - update nginx & php-fpm intel cpu optimized compilation routines | Centmin Mod Community

    To test them out, you need to do 2 steps
    1. update your Centmin Mod 123.09beta01 build and follow instructions at centminmod.com/upgrade.html and thread below:
    2. then run centmin.sh menu option 4 and 5 to recompile Nginx and PHP-FPM respectively
     
    • Like Like x 2
  3. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    8:01 PM
    Nginx 1.13.x
    MariaDB 5.5
    Just thinking out aloud now as to the immediate plans for 123.09beta01's transition to 123.09stable. Right now 123.09beta01 has a few outstanding experimental branches that are holding on the stable release which include:
    • 123.09beta01le - letsencrypt ssl integration branch
    • 123.09beta01-gcc - for ngx_pagespeed 1.10 compatibility with clang compilation method for nginx
    Theses could take longer to test, so what I am thinking is to:
    1. Soon release 123.09beta01 in current form to 123.09stable
    2. Move beta development to a new branch called 'dev' which will start off from 123.09beta01 base. Once, 123.09beta01le and 123.09beta01-gcc branches are fully tested and ready, merge into this new 'dev' branch
    3. This would allow, quicker 123.10, 123.11 etc releases for minor updates while keeping testing on the new 'dev' branch
    Thoughts ?
     
    • Like Like x 2
  4. Ahmad

    Ahmad Active Member

    209
    80
    28
    Apr 13, 2015
    Ratings:
    +150
    Local Time:
    12:01 PM
    1.9.9
    10.1.10
    Sounds good, I think this is the best way to go @eva2000 :)
     
    • Like Like x 1
  5. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    8:01 PM
    Nginx 1.13.x
    MariaDB 5.5
    re-purposed my soyoustart Xeon E3-1245v2 server and used CentOS 7.2 OS for fresh 123.09beta01 + php 5.6.16 install test and very fast install time less than 650 seconds :)

    Centmin Mod 123.09beta01 + PHP 5.6.16 curl install
    Code:
    curl -O https://centminmod.com/betainstaller56.sh && chmod 0700 betainstaller56.sh && bash betainstaller56.sh
    very fast time 649.7556 seconds!
    Code:
    ---------------------------------------------------------------------------
    Total Curl Installer YUM Time: 75.0353 seconds
    Total YUM Time: 61.473927927 seconds
    Total YUM + Source Download Time: 81.0943
    Total Nginx First Time Install Time: 83.1203
    Total PHP First Time Install Time: 170.1633
    Download Zip From Github Time: 10.9993
    Total Time Other eg. source compiles: 229.3431
    Total Centmin Mod Install Time: 563.7210
    ---------------------------------------------------------------------------
    Total Install Time (curl yum + cm install + zip download): 649.7556 seconds
    ---------------------------------------------------------------------------
    Post install check list
    Code:
    *************************************************
    * Post-Install Check List....
    *************************************************
    
    --------------------------------------------------------
    Check ccache Version:
    --------------------------------------------------------
    ccache version 3.2.4
    
    Copyright (C) 2002-2007 Andrew Tridgell
    Copyright (C) 2009-2015 Joel Rosdahl
    
    This program is free software; you can redistribute it and/or modify it under
    the terms of the GNU General Public License as published by the Free Software
    Foundation; either version 3 of the License, or (at your option) any later
    version.
    
    --------------------------------------------------------
    Check Nginx Version:
    --------------------------------------------------------
    nginx version: nginx/1.9.9
    built by clang 3.4.2 (tags/RELEASE_34/dot2-final)
    built with LibreSSL 2.2.5
    TLS SNI support enabled
    configure arguments: --with-ld-opt='-lrt -ljemalloc -Wl,-z,relro -Wl,-rpath,/usr/local/lib' --with-cc-opt='-m64 -march=native -mfpmath=sse -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wno-sign-compare -Wno-string-plus-int -Wno-deprecated-declarations -Wno-unused-parameter -Wno-unused-const-variable -Wno-conditional-uninitialized -Wno-mismatched-tags -Wno-c++11-extensions -Wno-sometimes-uninitialized -Wno-parentheses-equality -Wno-tautological-compare -Wno-self-assign -Wno-deprecated-register -Wno-deprecated -Wno-invalid-source-encoding -Wno-pointer-sign -Wno-parentheses -Wno-enum-conversion' --sbin-path=/usr/local/sbin/nginx --conf-path=/usr/local/nginx/conf/nginx.conf --with-http_stub_status_module --with-http_secure_link_module --with-openssl-opt=enable-tlsext --add-module=../nginx-module-vts --with-libatomic --with-threads --with-stream --with-stream_ssl_module --with-http_gzip_static_module --add-module=../ngx_pagespeed-release-1.9.32.11-beta --with-http_sub_module --with-http_addition_module --with-http_image_filter_module --with-http_geoip_module --with-http_realip_module --add-module=../nginx-accesskey-2.0.3 --add-module=../nginx-http-concat-master --add-module=../ngx-fancyindex-ngx-fancyindex --add-module=../ngx_cache_purge-2.3 --add-module=../ngx_devel_kit-0.2.19 --add-module=../set-misc-nginx-module-0.29 --add-module=../echo-nginx-module-0.58 --add-module=../redis2-nginx-module-0.12 --add-module=../ngx_http_redis-0.3.7 --add-module=../lua-nginx-module-0.9.20 --add-module=../lua-upstream-nginx-module-0.04 --add-module=../lua-upstream-cache-nginx-module-0.1.1 --add-module=../nginx_upstream_check_module-0.3.0 --add-module=../openresty-memc-nginx-module-4f6f78f --add-module=../openresty-srcache-nginx-module-ffa9ab7 --add-module=../headers-more-nginx-module-0.29 --with-pcre=../pcre-8.38 --with-pcre-jit --with-http_ssl_module --with-http_v2_module --with-openssl=../libressl-2.2.5
    
    --------------------------------------------------------
    Check PHP-FPM Version:
    --------------------------------------------------------
    PHP 5.6.16 (cli) (built: Dec 29 2015 12:16:30)
    Copyright (c) 1997-2015 The PHP Group
    Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
        with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
    
    --------------------------------------------------------
    Check MariaDB installed RPM Versions:
    --------------------------------------------------------
    MariaDB-compat-10.0.23-1.el7.centos.x86_64
    MariaDB-server-10.0.23-1.el7.centos.x86_64
    MariaDB-client-10.0.23-1.el7.centos.x86_64
    MariaDB-devel-10.0.23-1.el7.centos.x86_64
    MariaDB-common-10.0.23-1.el7.centos.x86_64
    MariaDB-shared-10.0.23-1.el7.centos.x86_64
    
    --------------------------------------------------------
    Check Memcached Server Version:
    --------------------------------------------------------
    memcached 1.4.25
    
    --------------------------------------------------------
    Check CSF Firewall Version:
    --------------------------------------------------------
    csf: v8.08 (generic)
    
    --------------------------------------------------------
    Check Siege Benchmark Version:
    --------------------------------------------------------
    SIEGE 3.1.3
    
    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.
    
    
    --------------------------------------------------------
    Check ngx_pagespeed Control Script:
    http://centminmod.com/nginx_ngx_pagespeed.html
    --------------------------------------------------------
    pscontrol admin
    pscontrol handler
    pscontrol edit
    pscontrol on
    pscontrol off
    pscontrol statson
    pscontrol statsoff
    
    --------------------------------------------------------
    Check mysqlreport version:
    --------------------------------------------------------
    mysqlreport v3.5-maria11 Jul 4 2013
    
    --------------------------------------------------------
    Check NSD Bind Version:
    --------------------------------------------------------
    NSD version 3.2.18
    Written by NLnet Labs.
    
    Copyright (C) 2001-2011 NLnet Labs.  This is free software.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS
    FOR A PARTICULAR PURPOSE.
    
    --------------------------------------------------------
    Check pure-ftpd Version:
    --------------------------------------------------------
    pure-ftpd v1.0.36
    
    --------------------------------------------------------
    Check YUM Repo List
    --------------------------------------------------------
    Loaded plugins: fastestmirror, priorities
    Loading mirror speeds from cached hostfile
    * base: centos.bhs.mirrors.ovh.net
    * epel: mirror.cogentco.com
    * extras: centos.bhs.mirrors.ovh.net
    * rpmforge: mirror.rit.edu
    * updates: centos.bhs.mirrors.ovh.net
    229 packages excluded due to repository priority protections
    repo id            repo name                                         status
    base/7/x86_64      CentOS-7 - Base                                   6,977+2,030
    epel/x86_64        Extra Packages for Enterprise Linux 7 - x86_64      8,258+822
    extras/7/x86_64    CentOS-7 - Extras                                       189+2
    mariadb            MariaDB                                                  10+4
    rpmforge           RHEL 7 - RPMforge.net - dag                            160+85
    updates/7/x86_64   CentOS-7 - Updates                                     318+51
    repolist: 15,912
    
    --------------------------------------------------------
    mytimes check:
    /usr/bin/mytimes
    --------------------------------------------------------
    Tue Dec 29 12:19:44 UTC 2015    [UTC]
    Tue Dec 29 22:19:44 AEST 2015   [Australia/Brisbane]
    Tue Dec 29 04:19:44 PST 2015    [America/Los_Angeles]
    Tue Dec 29 06:19:44 CST 2015    [America/Chicago]
    Tue Dec 29 07:19:44 EST 2015    [America/New_York]
    Tue Dec 29 12:19:44 GMT 2015    [Europe/London]
    --------------------------------------------------------
     
    • Like Like x 4
  6. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    8:01 PM
    Nginx 1.13.x
    MariaDB 5.5
    Updated Centmin Mod 123.09beta01 build to add mailparse PHP extension support PHP-FPM - How to install mailparse PECL PHP extension for Centmin Mod. Can be controlled via centmin.sh variable PHPMAILPARSE=y which defaults to yes. To disable set to PHPMAILPARSE=n in centmin.sh or better yet persistent config file at /etc/centminmod/custom_config.inc that you create and add PHPMAILPARSE=n to /etc/centminmod/custom_config.inc and then run centmin.sh menu option 5 to recompile PHP version.

    To update your Centmin Mod builds follow instructions at centminmod.com/upgrade.html and respective version thread below:
    Commits
    Code:
    php -v
    PHP 7.0.1 (cli) (built: Jan  3 2016 19:39:45) ( NTS )
    Copyright (c) 1997-2015 The PHP Group
    Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies
        with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
    Code:
    php --ri mailparse
    
    mailparse
    
    mailparse support => enabled
    Extension Version => 3.0.0
    Revision => $Revision$
    
    Directive => Local Value => Master Value
    mailparse.def_charset => us-ascii => us-ascii
    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/mailparse.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 -m
    [PHP Modules]
    bcmath
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    enchant
    exif
    filter
    ftp
    gd
    geoip
    gettext
    gmp
    hash
    iconv
    igbinary
    imagick
    imap
    intl
    json
    libxml
    mailparse
    mbstring
    mcrypt
    memcache
    memcached
    mongodb
    mysqli
    mysqlnd
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    pdo_sqlite
    Phar
    posix
    pspell
    readline
    redis
    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
     
    Last edited: Jan 4, 2016
    • Like Like x 1
  7. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    8:01 PM
    Nginx 1.13.x
    MariaDB 5.5

    Add tools/geoipdb-update.sh



    Updated Centmin Mod 123.09beta01 build to add to a new tools/geoipdb-update.sh script to allow updating GeoIP country and city databases as well add tools/geoipdb-update.sh · centminmod/centminmod@4f4c5c3 · GitHub

    so you could setup a cronjob every month on the 1st to run it

    Code:
    1 2 1 * * /usr/local/src/centminmod/tools/geoipdb-update.sh >/dev/null 2>&1
    To update your Centmin Mod builds follow instructions at centminmod.com/upgrade.html and respective version thread below:
    example run
    Code:
    /usr/local/src/centminmod/tools/geoipdb-update.sh
    
    Updating GeoIP databases...
    2016-01-05 04:33:08 URL:http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz [470095/470095] -> "/usr/share/GeoIP/GeoIP.dat.gz" [1]
    2016-01-05 04:33:08 URL:http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz [12328291/12328291] -> "/usr/share/GeoIP/GeoLiteCity.dat.gz" [1]
    Restarting nginx (via systemctl):                          [  OK  ]
    Gracefully shutting down php-fpm . done
    Starting php-fpm  done
    
    Updated GeoIP databases
     
    • Like Like x 1
    • Useful Useful x 1
  8. ModeltogTossen

    ModeltogTossen I wish I could??

    313
    97
    28
    Dec 20, 2015
    Denmark
    Ratings:
    +143
    Local Time:
    12:01 PM
    1.9.12
    10.0.23
    Simply love how you are thinking out loud :playful:- It sounds great and looking forward to this step..

    My own 'job' today is to get the le2 branch in play..
     
    • Like Like x 1
  9. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    8:01 PM
    Nginx 1.13.x
    MariaDB 5.5

    Add PHP XSL Support for Magento Requirements



    Updated both Centmin Mod 123.08stable and 123.09beta01 build to add support for PHP XSL module requirements for Magento. Also
    add inc/php_extraopts.inc and PHP_EXTRAOPTS variable support which allows you to pass additional PHP configuration options to php configuration options in inc/php_configure.inc set PHP_EXTRAOPTS variable as long as the required libraries for specific php option already exist or are installed i.e. https://community.centminmod.com/posts/23608/.

    Example in inc/php_extraopts.inc file contents below:
    Code:
    # allows you to pass additional PHP configuration options to
    # php configuration options in inc/php_configure.inc as long as
    # the required libraries for specific php option already exist
    # or are installed i.e. https://community.centminmod.com/posts/23608/
    PHP_EXTRAOPTS=" --with-xsl"
    To update your Centmin Mod builds follow instructions at centminmod.com/upgrade.html and respective version threads below:
    And then run centmin.sh menu option 5 to recompile your existing PHP version or upgraded PHP version to support PHP XSL :)

    Disabling PHP_EXTRAOPTS



    You can also disable PHP_EXTRAOPTS passed variables if you do not use PHP XSL module, via overriding the variable by using persistent config file you create yourself at /etc/centminmod/custom_config.inc and set in the persistent config file the variable as empty
    Code:
    PHP_EXTRAOPTS=""
    

    Extending More PHP Configuration Options



    Also you can extend your PHP configuration options as long as the required libraries for specific php option already exist or are installed i.e. https://community.centminmod.com/posts/23608/ by editing or creating yourself the /etc/centminmod/custom_config.inc and set in the persistent config file the variable's additional options. You'll have to read up on php.net official documentation to understand which PHP configuration option needs to be passed and what system libraries are needed to be installed prior. For example for PHP XSL module as outlined at PHP: Installing/Configuring - Manual needed --with-xsl passed and libxslt-devel yum package installed.
    Code:
    PHP_EXTRAOPTS=" --with-xsl"
    
     
    Last edited: Jan 7, 2016
  10. RoldanLT

    RoldanLT Well-Known Member

    3,875
    946
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,290
    Local Time:
    6:01 PM
    1.11
    10.2
    and if I don't want this?
    I will just add this code on my custom_config?
    Code:
    PHP_EXTRAOPTS=""
     
  11. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    8:01 PM
    Nginx 1.13.x
    MariaDB 5.5
    • Informative Informative x 1
  12. ModeltogTossen

    ModeltogTossen I wish I could??

    313
    97
    28
    Dec 20, 2015
    Denmark
    Ratings:
    +143
    Local Time:
    12:01 PM
    1.9.12
    10.0.23
    Thank you for clarify that..
     
  13. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    8:01 PM
    Nginx 1.13.x
    MariaDB 5.5

    Nginx 1.8 unsupported options



    Nginx 1.9.9 is default installed version right now. Updated both Centmin Mod 123.08stable and 123.09beta01 build's inc/nginx_configure.inc and inc/nginx_upgrade.inc include files to account for some unsupported nginx options if someone decides to downgrade from Nginx 1.9 branch and install Nginx 1.8 branch. reuseport and HTTP/2 are not supported nor is nginx TCP streams in Nginx 1.8 branch.

    To update your Centmin Mod builds follow instructions at centminmod.com/upgrade.html and respective version threads below:
     
  14. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    8:01 PM
    Nginx 1.13.x
    MariaDB 5.5
    FYI, for Centmin Mod 123.09beta01 currently working on centmin.sh menu option 22 to add subdirectory Wordpress auto installation support. :)

    Code (Text):
    Enter vhost domain name you want to add (without www. prefix): newdomain4.com
    
    Create a self-signed SSL certificate Nginx vhost? [y/n]: y
    
    Install Wordpress in subdirectory /blog ? [y/n]: y
    Enter subdirectory name i.e. /blog enter = blog ? : blog
    Do you want to install WP Cache Enabler Plugin instead of WP Super Cache ? [y/n]: y
    Enter email address for Wordpress Installation: EMAILADDY
    Create FTP username for vhost domain (enter username): user2
    Do you want to auto generate FTP password (recommended) [y/n]: y


    Code:
     ls -lah /home/nginx/domains/newdomain4.com/public
    total 44K
    drwxr-s--- 3 nginx nginx 4.0K Jan 10 00:39 .
    drwxr-s--- 6 nginx nginx 4.0K Jan 10 00:39 ..
    -rw-r----- 1 nginx nginx 1.6K Jan 10 00:39 403.html
    -rw-r----- 1 nginx nginx 1.6K Jan 10 00:39 404.html
    -rw-r----- 1 nginx nginx 2.1K Jan 10 00:39 500.html
    -rw-r----- 1 nginx nginx 2.1K Jan 10 00:39 502.html
    -rw-r----- 1 nginx nginx 2.2K Jan 10 00:39 503.html
    -rw-r----- 1 nginx nginx 2.1K Jan 10 00:39 504.html
    -rw-r----- 1 nginx nginx 2.2K Jan 10 00:39 50x.html
    drwxr-s--- 5 nginx nginx 4.0K Jan 10 00:41 blog
    -rw-r----- 1 nginx nginx 2.2K Jan 10 00:39 maintenance.html
    
    Code:
    ls -lah /home/nginx/domains/newdomain4.com/public/blog
    total 176K
    drwxr-s---  5 nginx nginx 4.0K Jan 10 00:41 .
    drwxr-s---  3 nginx nginx 4.0K Jan 10 00:39 ..
    -rw-r--r--  1 nginx nginx  418 Jan 10 00:40 index.php
    -rw-r--r--  1 nginx nginx  20K Jan 10 00:40 license.txt
    -rw-r--r--  1 nginx nginx 5.0K Jan 10 00:40 wp-activate.php
    drwxr-sr-x  9 nginx nginx 4.0K Jan 10 00:40 wp-admin
    -rw-r--r--  1 nginx nginx  271 Jan 10 00:40 wp-blog-header.php
    -rw-r--r--  1 nginx nginx 1.4K Jan 10 00:40 wp-comments-post.php
    -rw-r--r--  1 nginx nginx 1.8K Jan 10 00:40 wp-config.php
    -rw-r--r--  1 nginx nginx 2.8K Jan 10 00:40 wp-config-sample.php
    drwxr-s---  7 nginx nginx 4.0K Jan 10 00:41 wp-content
    -rw-r--r--  1 nginx nginx 3.3K Jan 10 00:40 wp-cron.php
    drwxr-sr-x 16 nginx nginx 4.0K Jan 10 00:40 wp-includes
    -rw-r--r--  1 nginx nginx 2.4K Jan 10 00:40 wp-links-opml.php
    -rw-r--r--  1 nginx nginx 3.3K Jan 10 00:40 wp-load.php
    -rw-r--r--  1 nginx nginx  33K Jan 10 00:40 wp-login.php
    -rw-r--r--  1 nginx nginx 7.8K Jan 10 00:40 wp-mail.php
    -rw-r--r--  1 nginx nginx  13K Jan 10 00:40 wp-settings.php
    -rw-r--r--  1 nginx nginx  28K Jan 10 00:40 wp-signup.php
    -rw-r--r--  1 nginx nginx 4.0K Jan 10 00:40 wp-trackback.php
    -rw-r--r--  1 nginx nginx 3.0K Jan 10 00:40 xmlrpc.php
    upload_2016-1-10_11-19-7.png

    upload_2016-1-10_11-19-50.png
     
    Last edited: Jan 10, 2016
    • Informative Informative x 2
  15. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    8:01 PM
    Nginx 1.13.x
    MariaDB 5.5
    I just updated 123.09beta01 centmin.sh menu option 22 with WP display name support too update inc/wpsetup.inc · centminmod/centminmod@ba204a7 · GitHub

    Code:
    Enter vhost domain name you want to add (without www. prefix): newdomain5.com
    
    Create a self-signed SSL certificate Nginx vhost? [y/n]: n
    
    Theme Setup:
    Install CyberChimps Responsive Theme (cyberchimps.com/responsive-theme/) [y/n]: n
    
    Wordpress Setup:
    Set custom WP Admin Display Name ? [y/n]: y
    Enter Custom WP Admin Display Name: George
    Install Wordpress in subdirectory /blog ? [y/n]: y
    Enter subdirectory name i.e. /blog enter = blog ? : blog
    Do you want to install WP Cache Enabler Plugin instead of WP Super Cache ? [y/n]: y
    Enter email address for Wordpress Installation: EMAILADDY
    Create FTP username for vhost domain (enter username): user6
    Do you want to auto generate FTP password (recommended) [y/n]: y
    
    upload_2016-1-10_14-59-14.png
     
    Last edited: Jan 10, 2016
  16. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    8:01 PM
    Nginx 1.13.x
    MariaDB 5.5
    Updated Centmin Mod 123.09beta01 centmin.sh menu option 22 to add support to disable wp-login.php htaccess password protection and select own WP admin username and password if user chooses to do so

    commit update inc/wpsetup.inc · centminmod/centminmod@4b9010e · GitHub

    Code:
    Enter vhost domain name you want to add (without www. prefix): newdomain5.com
    
    Create a self-signed SSL certificate Nginx vhost? [y/n]: n
    
    Theme Setup:
    Install CyberChimps Responsive Theme (cyberchimps.com/responsive-theme/) [y/n]: n
    
    Wordpress Setup:
    Set custom WP Admin Display Name ? [y/n]: y
    Enter Custom WP Admin Display Name: George
    Install Wordpress in subdirectory /blog ? [y/n]: y
    Enter subdirectory name i.e. /blog enter = blog ? : blog
    Disable Auto Generated WP Admin Username / Password ? [y/n]: y
    Disable wp-login.php password protection ? (less security) [y/n]: y
    
    --------------------------
    !! Security Note !!
    --------------------------
    Please choose a stronger Username/Password Combination
    
    Enter desired WP Admin Username: wpadmin
    Enter desired WP Admin Password: wppass
    Enter email address for Admin User for Wordpress Installation: EMAILADDY
    Do you want to install WP Cache Enabler Plugin instead of WP Super Cache ? (easier to setup) [y/n]: y
    Create FTP username for vhost domain (enter username): user8
    Do you want to auto generate FTP password (recommended) [y/n]: y
     
    • Like Like x 1
  17. JarylW

    JarylW Active Member

    213
    39
    28
    Jun 19, 2014
    Singapore
    Ratings:
    +99
    Local Time:
    6:01 PM
    Tried to install centmin beta on t2.nano instance (Centos 7 in AWS marketplace). Repeatedly hanged here during one liner bash install for centminmod..

    Updating : pcre-8.32-15.el7.x86_64 31/380

    Haven't yet tried it on a larger instance tho.
     
    Last edited: Jan 11, 2016
  18. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    8:01 PM
    Nginx 1.13.x
    MariaDB 5.5
    CentOS 7 needs 1GB minimum memory unfortunately so t2.nano won't do
     
  19. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    8:01 PM
    Nginx 1.13.x
    MariaDB 5.5
    strange mailparse 3 doesn't work for PHP 5.6.17 only PHP 7.0 ? PHP :: Bugs :: Search
    Code:
    config.status: creating config.h
    /bin/sh /svr-setup/mailparse-3.0.0/libtool --mode=compile /usr/bin/gcc  -I. -I/svr-setup/mailparse-3.0.0 -DPHP_ATOM_INC -I/svr-setup/mailparse-3.0.0/include -I/svr-setup/mailparse-3.0.0/main -I/svr-setup/mailparse-3.0.0 -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  -DHAVE_CONFIG_H  -g -O2   -c /svr-setup/mailparse-3.0.0/mailparse.c -o mailparse.lo
    /bin/sh /svr-setup/mailparse-3.0.0/libtool --mode=compile /usr/bin/gcc  -I. -I/svr-setup/mailparse-3.0.0 -DPHP_ATOM_INC -I/svr-setup/mailparse-3.0.0/include -I/svr-setup/mailparse-3.0.0/main -I/svr-setup/mailparse-3.0.0 -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  -DHAVE_CONFIG_H  -g -O2   -c /svr-setup/mailparse-3.0.0/php_mailparse_mime.c -o php_mailparse_mime.lo
    /bin/sh /svr-setup/mailparse-3.0.0/libtool --mode=compile /usr/bin/gcc  -I. -I/svr-setup/mailparse-3.0.0 -DPHP_ATOM_INC -I/svr-setup/mailparse-3.0.0/include -I/svr-setup/mailparse-3.0.0/main -I/svr-setup/mailparse-3.0.0 -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  -DHAVE_CONFIG_H  -g -O2   -c /svr-setup/mailparse-3.0.0/php_mailparse_rfc822.c -o php_mailparse_rfc822.lo
    mkdir .libs
    /usr/bin/gcc -I. -I/svr-setup/mailparse-3.0.0 -DPHP_ATOM_INC -I/svr-setup/mailparse-3.0.0/include -I/svr-setup/mailparse-3.0.0/main -I/svr-setup/mailparse-3.0.0 -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 -DHAVE_CONFIG_H -g -O2 -c /svr-setup/mailparse-3.0.0/php_mailparse_mime.c  -fPIC -DPIC -o .libs/php_mailparse_mime.o
    /usr/bin/gcc -I. -I/svr-setup/mailparse-3.0.0 -DPHP_ATOM_INC -I/svr-setup/mailparse-3.0.0/include -I/svr-setup/mailparse-3.0.0/main -I/svr-setup/mailparse-3.0.0 -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 -DHAVE_CONFIG_H -g -O2 -c /svr-setup/mailparse-3.0.0/php_mailparse_rfc822.c  -fPIC -DPIC -o .libs/php_mailparse_rfc822.o
    /usr/bin/gcc -I. -I/svr-setup/mailparse-3.0.0 -DPHP_ATOM_INC -I/svr-setup/mailparse-3.0.0/include -I/svr-setup/mailparse-3.0.0/main -I/svr-setup/mailparse-3.0.0 -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 -DHAVE_CONFIG_H -g -O2 -c /svr-setup/mailparse-3.0.0/mailparse.c  -fPIC -DPIC -o .libs/mailparse.o
    In file included from /svr-setup/mailparse-3.0.0/php_mailparse.h:85,
                     from /svr-setup/mailparse-3.0.0/mailparse.c:27:
    /svr-setup/mailparse-3.0.0/php_mailparse_mime.h:23:43: error: ext/standard/php_smart_string.h: No such file or directory
    In file included from /svr-setup/mailparse-3.0.0/php_mailparse.h:85,
                     from /svr-setup/mailparse-3.0.0/mailparse.c:27:
    /svr-setup/mailparse-3.0.0/php_mailparse_mime.h:45: error: expected specifier-qualifier-list before ‘zend_resource’
    /svr-setup/mailparse-3.0.0/mailparse.c: In function ‘mimepart_dtor’:
    
    /svr-setup/mailparse-3.0.0/mailparse.c:1498: warning: passing argument 1 of ‘zend_fetch_resource’ makes pointer from integer without a cast
    /usr/local/include/php/Zend/zend_list.h:83: note: expected ‘struct zval **’ but argument is of type ‘int’
    /svr-setup/mailparse-3.0.0/mailparse.c:1498: warning: passing argument 2 of ‘zend_fetch_resource’ makes integer from pointer without a cast
    /usr/local/include/php/Zend/zend_list.h:83: note: expected ‘int’ but argument is of type ‘char *’
    /svr-setup/mailparse-3.0.0/mailparse.c:1498: warning: passing argument 3 of ‘zend_fetch_resource’ makes pointer from integer without a cast
    /usr/local/include/php/Zend/zend_list.h:83: note: expected ‘const char *’ but argument is of type ‘int’
    /svr-setup/mailparse-3.0.0/mailparse.c:1498: error: too few arguments to function ‘zend_fetch_resource’
    /svr-setup/mailparse-3.0.0/mailparse.c: In function ‘zif_mailparse_msg_get_part’:
    /svr-setup/mailparse-3.0.0/mailparse.c:1510: error: ‘zend_string’ undeclared (first use in this function)
    /svr-setup/mailparse-3.0.0/mailparse.c:1510: error: ‘mimesection’ undeclared (first use in this function)
    /svr-setup/mailparse-3.0.0/mailparse.c:1516: warning: passing argument 1 of ‘zend_fetch_resource’ makes pointer from integer without a cast
    /usr/local/include/php/Zend/zend_list.h:83: note: expected ‘struct zval **’ but argument is of type ‘int’
    /svr-setup/mailparse-3.0.0/mailparse.c:1516: warning: passing argument 2 of ‘zend_fetch_resource’ makes integer from pointer without a cast
    /usr/local/include/php/Zend/zend_list.h:83: note: expected ‘int’ but argument is of type ‘char *’
    /svr-setup/mailparse-3.0.0/mailparse.c:1516: warning: passing argument 3 of ‘zend_fetch_resource’ makes pointer from integer without a cast
    /usr/local/include/php/Zend/zend_list.h:83: note: expected ‘const char *’ but argument is of type ‘int’
    /svr-setup/mailparse-3.0.0/mailparse.c:1516: error: too few arguments to function ‘zend_fetch_resource’
    /svr-setup/mailparse-3.0.0/mailparse.c:1524: error: ‘php_mimepart’ has no member named ‘rsrc’
    /svr-setup/mailparse-3.0.0/mailparse.c:1525: error: ‘php_mimepart’ has no member named ‘rsrc’
    make: *** [mailparse.lo] Error 1
    grep: /etc/centminmod/php.d/mailparse.ini: No such file or directory
    
    Copying mailparse.ini > /etc/centminmod/php.d/mailparse.ini
    
    service php-fpm restart
    Gracefully shutting down php-fpm . done
    Starting php-fpm [10-Jan-2016 23:11:50] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/mailparse.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20131226/mailparse.so: cannot open shared object file: No such file or directory in Unknown on line 0
    done
    adding and testing a new check added so if PHP 7.0 branch detected use mailparse 3.0.0 and if PHP <7.0 branch detected use mailparse 2.1.6
     
    Last edited: Jan 11, 2016
  20. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    8:01 PM
    Nginx 1.13.x
    MariaDB 5.5
    fixed mailparse 3.0 and php <7 compatibility by auto detecting PHP version and whether to use mailparse 2.1.6 for php <7 or mailparse 3.0.0 for php 7

    commits
    Code:
     php -v
    PHP 5.6.17 (cli) (built: Jan 11 2016 01:11:17)
    Copyright (c) 1997-2015 The PHP Group
    Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
        with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
    Code:
    php --ri mailparse
    
    mailparse
    
    mailparse support => enabled
    Extension Version => 2.1.6
    Revision => $Revision: 305002 $
    
    Directive => Local Value => Master Value
    mailparse.def_charset => us-ascii => us-ascii
     
    • Like Like x 1