Centmin Mod: How to upgrade/downgrade PHP


Step 1: Use command

cd /usr/local/src/centminmod/

Step 2: Use command:

./centmin.sh

Then use menu 5.

centmin php upgrade

[root@tutorialspots ~]# cd /usr/local/src/centminmod/
[root@tutorialspots centminmod]# ./centmin.sh

--------------------------------------------------------
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.x Upgrade Sub-Menu
12). Zend OpCache Install/Re-install
13). Install ioping.sh vbtechsupport.com/1239/
14). SELinux disable
15). Install/Reinstall ImagicK PHP Extension
16). Change SSHD Port Number
17). Multi-thread compression: pigz,pbzip2,lbzip2...
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
--------------------------------------------------------
Custom configure CSF settings...set

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]:y
...
...
--------------------------------------------------------------------------------
--
{t1lib,t1lib-devel} already installed
--------------------------------------------------------------------------------
--
Processing package: {expect,expect-devel}
--------------------------------------------------------------------------------
--
{expect,expect-devel} already installed
--------------------------------------------------------------------------------
--
Processing package: {readline,readline-devel}
--------------------------------------------------------------------------------
--
{readline,readline-devel} already installed
--------------------------------------------------------------------------------
--
Processing package: {libedit,libedit-devel}
--------------------------------------------------------------------------------
--
{libedit,libedit-devel} already installed
--------------------------------------------------------------------------------
--
Processing package: {openssl,openssl-devel}
--------------------------------------------------------------------------------
--
{openssl,openssl-devel} already installed
--------------------------------------------------------------------------------
--
Processing package: {curl,curl-devel}
--------------------------------------------------------------------------------
--
Installing {curl,curl-devel}
--------------------------------------------------------------------------------
--
Package curl-7.19.7-46.el6.i686 already installed and latest version
Package libcurl-devel-7.19.7-46.el6.i686 already installed and latest version
--------------------------------------------------------------------------------
--
Processing package: {openldap,openldap-devel}
--------------------------------------------------------------------------------
--
{openldap,openldap-devel} already installed
--------------------------------------------------------------------------------
--
Processing package: {zlib,zlib-devel}
--------------------------------------------------------------------------------
--
{zlib,zlib-devel} already installed
--------------------------------------------------------------------------------
--
Processing package: {gd,gd-devel}
--------------------------------------------------------------------------------
--
{gd,gd-devel} already installed
--------------------------------------------------------------------------------
--
Processing package: {pcre,pcre-devel}
--------------------------------------------------------------------------------
--
{pcre,pcre-devel} already installed
--------------------------------------------------------------------------------
--
Processing package: {gettext,gettext-devel}
--------------------------------------------------------------------------------
--
{gettext,gettext-devel} already installed
--------------------------------------------------------------------------------
--
Processing package: {libidn,libidn-devel}
--------------------------------------------------------------------------------
--
{libidn,libidn-devel} already installed
--------------------------------------------------------------------------------
--
Processing package: {libjpeg,libjpeg-devel}
--------------------------------------------------------------------------------
--
Installing {libjpeg,libjpeg-devel}
--------------------------------------------------------------------------------
--
Package libjpeg-turbo-1.2.1-3.el6_5.i686 already installed and latest version
Package libjpeg-turbo-devel-1.2.1-3.el6_5.i686 already installed and latest vers
ion
--------------------------------------------------------------------------------
--
Processing package: {libpng,libpng-devel}
--------------------------------------------------------------------------------
--
{libpng,libpng-devel} already installed
--------------------------------------------------------------------------------
--
Processing package: {freetype,freetype-devel}
--------------------------------------------------------------------------------
--
{freetype,freetype-devel} already installed
--------------------------------------------------------------------------------
--
Processing package: {libxml2,libxml2-devel}
--------------------------------------------------------------------------------
--
{libxml2,libxml2-devel} already installed
--------------------------------------------------------------------------------
--
Processing package: {glib2,glib2-devel}
--------------------------------------------------------------------------------
--
{glib2,glib2-devel} already installed
--------------------------------------------------------------------------------
--
Processing package: {bzip2,bzip2-devel}
--------------------------------------------------------------------------------
--
{bzip2,bzip2-devel} already installed
--------------------------------------------------------------------------------
--
Processing package: {ncurses,ncurses-devel}
--------------------------------------------------------------------------------
--
{ncurses,ncurses-devel} already installed
--------------------------------------------------------------------------------
--
Processing package: {e2fsprogs,e2fsprogs-devel}
--------------------------------------------------------------------------------
--
{e2fsprogs,e2fsprogs-devel} already installed
--------------------------------------------------------------------------------
--
Processing package: {libc-client,libc-client-devel}
--------------------------------------------------------------------------------
--
{libc-client,libc-client-devel} already installed
--------------------------------------------------------------------------------
--
Processing package: {ImageMagicklast,ImageMagick-last-devel}
--------------------------------------------------------------------------------
--
Installing {ImageMagicklast,ImageMagick-last-devel}
--------------------------------------------------------------------------------
--
--------------------------------------------------------------------------------
--
Processing package: {ImageMagick-last-c++,ImageMagick-last-c++-devel}
--------------------------------------------------------------------------------
--
{ImageMagick-last-c++,ImageMagick-last-c++-devel} already installed
--------------------------------------------------------------------------------
--
Processing package: {cyrus-sasl,cyrus-sasl-devel}
--------------------------------------------------------------------------------
--
{cyrus-sasl,cyrus-sasl-devel} already installed
--------------------------------------------------------------------------------
--
Processing package: {pam,pam-devel}
--------------------------------------------------------------------------------
--
{pam,pam-devel} already installed
--------------------------------------------------------------------------------
--
Processing package: {libaio,libaio-devel}
--------------------------------------------------------------------------------
--
{libaio,libaio-devel} already installed
--------------------------------------------------------------------------------
--
Processing package: {libevent,libevent-devel}
--------------------------------------------------------------------------------
--
{libevent,libevent-devel} already installed
--------------------------------------------------------------------------------
--
Processing package: {recode,recode-devel}
--------------------------------------------------------------------------------
--
{recode,recode-devel} already installed
--------------------------------------------------------------------------------
--
Processing package: {libtidy,libtidy-devel}
--------------------------------------------------------------------------------
--
{libtidy,libtidy-devel} already installed
--------------------------------------------------------------------------------
--
Processing package: {net-snmp,net-snmp-devel}
--------------------------------------------------------------------------------
--
{net-snmp,net-snmp-devel} already installed
--------------------------------------------------------------------------------
--
Processing package: {enchant,enchant-devel}
--------------------------------------------------------------------------------
--
{enchant,enchant-devel} already installed
--------------------------------------------------------------------------------
--
Processing package: {lua,lua-devel}
--------------------------------------------------------------------------------
--
{lua,lua-devel} already installed
--------------------------------------------------------------------------------
--
Package mytop-1.7-3.b737f60.el6.noarch already installed and latest version
Package iftop-1.0-0.7.pre4.el6.i686 already installed and latest version
*************************************************
* CentOS 6.x detected installing EPEL Repo
*************************************************
rpmforge-release-0.5.3-1.el6.rf.i686.rpm [found]
setting yum priorities for rpmforge.repo
[rpmforge]
name = RHEL $releasever - RPMforge.net - dag
baseurl = http://apt.sw.be/redhat/el6/en/$basearch/rpmforge
mirrorlist = http://mirrorlist.repoforge.org/el6/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
*************************************************
Fixing rpmforge.repo YUM Priorities
*************************************************
### Name: RPMforge RPM Repository for RHEL 6 - dag
### URL: http://rpmforge.net/
[rpmforge]
name = RHEL $releasever - RPMforge.net - dag
baseurl = http://apt.sw.be/redhat/el6/en/$basearch/rpmforge
mirrorlist = http://mirrorlist.repoforge.org/el6/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
priority=5
exclude=pure-ftpd optipng

[rpmforge-extras]
name = RHEL $releasever - RPMforge.net - extras
baseurl = http://apt.sw.be/redhat/el6/en/$basearch/extras
mirrorlist = http://mirrorlist.repoforge.org/el6/mirrors-rpmforge-extras
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge-extras
enabled = 0
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

[rpmforge-testing]
name = RHEL $releasever - RPMforge.net - testing
baseurl = http://apt.sw.be/redhat/el6/en/$basearch/testing
mirrorlist = http://mirrorlist.repoforge.org/el6/mirrors-rpmforge-testing
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge-testing
enabled = 0
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1


percona-release-0.1-3.noarch.rpm [found]
        package percona-release-0.1-3.noarch is already installed
Error: problem with percona-release-0.1-3.noarch.rpm install.
GeoIP database and library install...
Package GeoIP-1.6.5-1.el6.i686 already installed and latest version
Package GeoIP-devel-1.6.5-1.el6.i686 already installed and latest version
/usr/include/GeoIP.h
/usr/include/GeoIPCity.h
/usr/lib/libGeoIP.so
/usr/lib/pkgconfig/geoip.pc
/usr/bin/geoiplookup
/usr/bin/geoiplookup6
/usr/lib/libGeoIP.so.1
/usr/lib/libGeoIP.so.1.6.5
/usr/share/doc/GeoIP-1.6.5
/usr/share/doc/GeoIP-1.6.5/AUTHORS
/usr/share/doc/GeoIP-1.6.5/COPYING
/usr/share/doc/GeoIP-1.6.5/ChangeLog
/usr/share/doc/GeoIP-1.6.5/NEWS.md
/usr/share/doc/GeoIP-1.6.5/README.md
/usr/share/man/man1/geoiplookup.1.gz
/usr/share/man/man1/geoiplookup6.1.gz
GeoLiteCity database download ...
2016-02-15 12:37:50 URL:http://geolite.maxmind.com/download/geoip/database/GeoLi
teCity.dat.gz [12319715/12319715] -> "/usr/share/GeoIP/GeoLiteCity.dat.gz" [1]
cp: `/usr/share/GeoIP/GeoLiteCity.dat' and `/usr/share/GeoIP/GeoIPCity.dat' are
the same file

custom RPM installs

rpm -Uvh /svr-setup/rpms/re2c/re2c-0.14.3-1.el6.x86_64.rpm
error: Failed dependencies:
        libc.so.6()(64bit) is needed by re2c-0.14.3-1.x86_64
        libc.so.6(GLIBC_2.2.5)(64bit) is needed by re2c-0.14.3-1.x86_64
        libgcc_s.so.1()(64bit) is needed by re2c-0.14.3-1.x86_64
        libgcc_s.so.1(GCC_3.0)(64bit) is needed by re2c-0.14.3-1.x86_64
        libm.so.6()(64bit) is needed by re2c-0.14.3-1.x86_64
        libstdc++.so.6()(64bit) is needed by re2c-0.14.3-1.x86_64
        libstdc++.so.6(CXXABI_1.3)(64bit) is needed by re2c-0.14.3-1.x86_64
        libstdc++.so.6(GLIBCXX_3.4)(64bit) is needed by re2c-0.14.3-1.x86_64
        libstdc++.so.6(GLIBCXX_3.4.11)(64bit) is needed by re2c-0.14.3-1.x86_64
        libstdc++.so.6(GLIBCXX_3.4.9)(64bit) is needed by re2c-0.14.3-1.x86_64
Loaded plugins: fastestmirror, security
Setting up Update Process
Loading mirror speeds from cached hostfile
 * base: mirror0.babylon.network
 * epel: mirror0.babylon.network
 * extras: mirror0.babylon.network
 * remi: rpms.remirepo.net
 * rpmforge: www.mirrorservice.org
 * updates: mirror0.babylon.network
 * webtatic: uk.repo.webtatic.com
No Packages marked for Update
Loaded plugins: fastestmirror, priorities, security
Setting up Update Process
Loading mirror speeds from cached hostfile
 * base: mirror0.babylon.network
 * epel: mirror0.babylon.network
 * extras: mirror0.babylon.network
 * rpmforge: www.mirrorservice.org
 * updates: mirror0.babylon.network
 * webtatic: uk.repo.webtatic.com
1664 packages excluded due to repository priority protections
No Packages marked for Update
cp: cannot stat `/var/cache/yum/timedhosts.txt': No such file or directory
-rw-r--r-- 1 root root 30K Feb 15 12:38 /root/centminlogs/centminmod_yumtimes_15
0216-123504.log

PHP Upgrade - Would you like to continue? [y/n] y
----------------------------------------------------------------
Install which version of PHP? (version i.e. 5.4.45, 7.0.0, NGDEBUG)
PHP 7.0.0 is GA Stable but still may have broken PHP extensions.
NGDEBUG is PHP 7.1.0 minus incompatible PHP extensions
----------------------------------------------------------------
Enter PHP Version number you want to upgrade/downgrade to: 5.5.9

Type your version you want to install like 5.5.9

Want to update to latest php-fpm.conf ? (overwrites will auto backup existing ph
p-fpm.conf)
existing php.ini will be backed up at /usr/local/lib/php.ini-oldversion_150216-1
23504
existing php-fpm.conf will be backed up at /usr/local/etc/php-fpm.conf-oldversio
n_150216-123504
----------------------------------------------------------------
Update & overwrite your existing php-fpm.conf [y/n]:y
----------------------------------------------------------------

--------------------------------------------------------------------------------
---------
Detected PHP 5.5 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

Type y

...
----------------------------------------------------------------------
Libraries have been installed in:
   /svr-setup/imagick-3.4.0RC5/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------

Build complete.
Don't forget to run 'make test'.

Installing shared extensions:     /usr/local/lib/php/extensions/no-debug-non-zts
-20121212/
Installing header files:          /usr/local/include/php/
grep: /etc/centminmod/php.d/imagick.ini: No such file or directory

Copying imagick.ini > /etc/centminmod/php.d/imagick.ini

service php-fpm restart
Gracefully shutting down php-fpm  done
Starting php-fpm [15-Feb-2016 12:44:59] NOTICE: PHP message: PHP Warning:  PHP S
tartup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-n
on-zts-20121212/geoip.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20121
212/geoip.so: cannot open shared object file: No such file or directory in Unkno
wn on line 0
 done
*************************************************
* imagick PHP installed
*************************************************
Auto reinstalling previously detected geoip extension
compiling geoip PHP extension...
find . -name \*.gcno -o -name \*.gcda | xargs rm -f
find . -name \*.lo -o -name \*.o | xargs rm -f
find . -name \*.la -o -name \*.a | xargs rm -f
find . -name \*.so | xargs rm -f
find . -name .libs -a -type d|xargs rm -rf
find . -name \*.1 | xargs rm -f
rm -f libphp.la   modules/* libs/*
Configuring for:
PHP Api Version:         20121113
Zend Module Api No:      20121212
Zend Extension Api No:   220121212
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether ccache /usr/bin/gcc accepts -g... yes
checking for ccache /usr/bin/gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... ccache /usr/bin/gcc -E
checking for icc... no
checking for suncc... no
checking whether ccache /usr/bin/gcc and cc understand -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/m
ain -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/inc
lude/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-n
on-zts-20121212
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking for gawk... gawk
checking for geoip support... yes, shared
checking for geoip files in default path... found in /usr
checking for GeoIP_open in -lGeoIP... yes
checking for GeoIP_setup_custom_directory in -lGeoIP... yes
checking for GeoIP_set_charset in -lGeoIP... yes
checking for GeoIP_continent_by_id in -lGeoIP... yes
checking for GeoIP_addr_to_num in -lGeoIP... yes
checking whether GEOIP_NETSPEED_EDITION_REV1 is declared... yes
checking whether GEOIP_ACCURACYRADIUS_EDITION is declared... yes
checking for LGPL compatible GeoIP libs... found 1006005
checking for ld used by ccache /usr/bin/gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1966080
checking command to parse /usr/bin/nm -B output from ccache /usr/bin/gcc object.
.. ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if ccache /usr/bin/gcc supports -fno-rtti -fno-exceptions... no
checking for ccache /usr/bin/gcc option to produce PIC... -fPIC
checking if ccache /usr/bin/gcc PIC flag -fPIC works... yes
checking if ccache /usr/bin/gcc static flag -static works... no
checking if ccache /usr/bin/gcc supports -c -o file.o... yes
checking whether the ccache /usr/bin/gcc linker (/usr/bin/ld) supports shared li
braries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool
checking whether the ccache /usr/bin/g++ linker (/usr/bin/ld) supports shared li
braries... yes
checking for ccache /usr/bin/g++ option to produce PIC...
checking if ccache /usr/bin/g++ static flag  works... yes
checking if ccache /usr/bin/g++ supports -c -o file.o... yes
checking whether the ccache /usr/bin/g++ linker (/usr/bin/ld) supports shared li
braries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... unsupp
orted
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged
/bin/sh /svr-setup/geoip/libtool --mode=compile ccache /usr/bin/gcc  -I. -I/svr-
setup/geoip -DPHP_ATOM_INC -I/svr-setup/geoip/include -I/svr-setup/geoip/main -I
/svr-setup/geoip -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/l
ocal/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/
geoip/geoip.c -o geoip.lo
mkdir .libs
 ccache /usr/bin/gcc -I. -I/svr-setup/geoip -DPHP_ATOM_INC -I/svr-setup/geoip/in
clude -I/svr-setup/geoip/main -I/svr-setup/geoip -I/usr/local/include/php -I/usr
/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Z
end -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CO
NFIG_H -g -O2 -c /svr-setup/geoip/geoip.c  -fPIC -DPIC -o .libs/geoip.o
/bin/sh /svr-setup/geoip/libtool --mode=link ccache /usr/bin/gcc -DPHP_ATOM_INC
-I/svr-setup/geoip/include -I/svr-setup/geoip/main -I/svr-setup/geoip -I/usr/loc
al/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/us
r/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/e
xt/date/lib  -DHAVE_CONFIG_H  -g -O2   -o geoip.la -export-dynamic -avoid-versio
n -prefer-pic -module -rpath /svr-setup/geoip/modules  geoip.lo -lGeoIP
ccache /usr/bin/gcc -shared  .libs/geoip.o  -lGeoIP  -Wl,-soname -Wl,geoip.so -o
 .libs/geoip.so
creating geoip.la
(cd .libs && rm -f geoip.la && ln -s ../geoip.la geoip.la)
/bin/sh /svr-setup/geoip/libtool --mode=install cp ./geoip.la /svr-setup/geoip/m
odules
cp ./.libs/geoip.so /svr-setup/geoip/modules/geoip.so
cp ./.libs/geoip.lai /svr-setup/geoip/modules/geoip.la
PATH="$PATH:/sbin" ldconfig -n /svr-setup/geoip/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /svr-setup/geoip/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------

Build complete.
Don't forget to run 'make test'.

Installing shared extensions:     /usr/local/lib/php/extensions/no-debug-non-zts
-20121212/
a_customphp.ini
a_customphp.ini-bak_150216-123504
curlcainfo.ini
geoip.ini
igbinary.ini
imagick.ini
memcached.ini
memcache.ini
mongodb.ini
redis.ini
zendopcache.ini
service php-fpm restart
Gracefully shutting down php-fpm  done
Starting php-fpm  done

-------------------------------------------------------
Password protected tutorialspots.com/26187b67_opcache.php
-------------------------------------------------------
Username: opadmin
Password: xxxxxxxxxx
-------------------------------------------------------

1
***************************************************
* PHP upgraded and auto reinstalled PHP extensions
***************************************************

Now you have PHP 5.5.9

centmin php upgrade 559

Leave a Reply