Coba switch ke php4
[root@jaguar ~]# sh /script/phpm-installer php54m
- For help, type '/script/phpm-installer --help'
=== BEGIN 'php54m' (2014/10/16 06:59:58) install ===
- Install php general dependencies rpms... Please wait!
-- Check installed dependencies rpms
-- Install for not installed dependencies rpms
- Download all rpms (debug and devel will be deleted)... Please wait!
- Extract all rpms to '/opt/php54m'
- Disable certain modules (rename to .nonini) in '/etc/php54m/etc/' + 'php.d' and 'php-zts.d'
-- Disable 'dba' modules in '/etc/php54m/etc/php.d'
-- Disable 'dba' modules in '/etc/php54m/etc/php-zts.d'
-- Disable 'pdo_dblib' modules in '/etc/php54m/etc/php.d'
-- Disable 'pdo_dblib' modules in '/etc/php54m/etc/php-zts.d'
-- Disable 'pdo_odbc' modules in '/etc/php54m/etc/php.d'
-- Disable 'pdo_odbc' modules in '/etc/php54m/etc/php-zts.d'
-- Disable 'pdo_pgsql' modules in '/etc/php54m/etc/php.d'
-- Disable 'pdo_pgsql' modules in '/etc/php54m/etc/php-zts.d'
-- Disable 'pgsql' modules in '/etc/php54m/etc/php.d'
-- Disable 'pgsql' modules in '/etc/php54m/etc/php-zts.d'
-- Disable 'suhosin' modules in '/etc/php54m/etc/php.d'
-- Disable 'odbc' modules in '/etc/php54m/etc/php.d'
-- Disable 'odbc' modules in '/etc/php54m/etc/php-zts.d'
-- Disable 'mongo' modules in '/etc/php54m/etc/php.d'
-- Disable 'apc' modules in '/etc/php54m/etc/php.d'
-- Disable 'imagick' modules in '/etc/php54m/etc/php.d'
-- Disable 'interbase' modules in '/etc/php54m/etc/php.d'
-- Disable 'interbase' modules in '/etc/php54m/etc/php-zts.d'
-- Disable 'ioncube-loader' modules in '/etc/php54m/etc/php.d'
-- Disable 'memcache' modules in '/etc/php54m/etc/php.d'
-- Disable 'memcached' modules in '/etc/php54m/etc/php.d'
-- Disable 'mssql' modules in '/etc/php54m/etc/php.d'
-- Disable 'mssql' modules in '/etc/php54m/etc/php-zts.d'
-- Disable 'pdo_firebird' modules in '/etc/php54m/etc/php.d'
-- Disable 'pdo_firebird' modules in '/etc/php54m/etc/php-zts.d'
-- Enable 'mysqlnd' instead 'mysql' modules in '/etc/php54m/etc/php.d'
-- Enable 'mysqlnd' instead 'mysql' modules in '/etc/php54m/etc/php-zts.d'
-- Enable 'mysqlnd' instead 'mysql' modules in '/etc/php54m/etc/php.d'
-- Enable 'mysqlnd' instead 'mysql' modules in '/etc/php54m/etc/php-zts.d'
-- Enable 'mysqlnd' instead 'mysql' modules in '/etc/php54m/etc/php.d'
-- Enable 'mysqlnd' instead 'mysql' modules in '/etc/php54m/etc/php-zts.d'
-- Enable 'mysqlnd' instead 'mysql' modules in '/etc/php54m/etc/php.d'
-- Enable 'mysqlnd' instead 'mysql' modules in '/etc/php54m/etc/php-zts.d'
-- Enable 'mysqlnd' instead 'mysql' modules in '/etc/php54m/etc/php.d'
-- Enable 'mysqlnd' instead 'mysql' modules in '/etc/php54m/etc/php-zts.d'
-- Disable 'xdebug' modules in '/etc/php54m/etc/php.d'
-- Disable 'xcache' modules in '/etc/php54m/etc/php.d'
-- Disable 'opcache' modules in '/etc/php54m/etc/php.d'
-- Disable 'opcache' modules in '/etc/php54m/etc/php-zts.d'
-- Disable 'lzf' modules in '/etc/php54m/etc/php.d'
-- Disable 'redis' modules in '/etc/php54m/etc/php.d'
-- Disable 'redis' modules in '/etc/php54m/etc/php-zts.d'
-- Disable 'enchant' modules in '/etc/php54m/etc/php.d'
-- Disable 'enchant' modules in '/etc/php54m/etc/php-zts.d'
- Copy certain files to '/opt/php54m/custom'
- Set .sh to 755
- Create .sh symlink
-- From '/opt/php54m/custom/php54m-cgi.sh' to '/usr/bin/php54m-cgi'
-- From '/opt/php54m/custom/php54m-cli.sh' to '/usr/bin/php54m-cli'
-- From '/opt/php54m/custom/php54m-ls.sh' to '/usr/bin/php54m-ls'
-- From '/opt/php54m/custom/php54m-fpm.sh' to '/usr/bin/php54m-fpm'
- Create symlink from /opt/php54m/usr/lib64 to /opt/php54m/usr/lib
=== END 'php54m' (2014/10/16 06:59:58) install ===
Note:
- See '/opt/php54m/install.log' for detail install process
- Example: copy 'xcache.nonini' to '_xcache.ini' for enable 'xcache' module
in '/etc/php54m/etc/php.d'
- For config setup only, run 'sh /script/phpm-config-setup php53m
[root@jaguar ~]# php -v
PHP 5.4.32 (cli) (built: Sep 4 2014 14:54:52)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
with XCache v3.2.0, Copyright (c) 2005-2014, by mOo
with XCache Optimizer v3.2.0, Copyright (c) 2005-2014, by mOo
with XCache Cacher v3.2.0, Copyright (c) 2005-2014, by mOo
with XCache Coverager v3.2.0, Copyright (c) 2005-2014, by mOo
[root@jaguar ~]# yum remove php54u-zend-guard.x86_64
Loaded plugins: fastestmirror, priorities, protectbase, replace
Setting up Remove Process
No Match for argument: php54u-zend-guard.x86_64
Loading mirror speeds from cached hostfile
* base: mirror.tocici.com
* extras: mirror.tocici.com
* mratwork-epel: mirrors.cat.pdx.edu
* mratwork-ius-stable: ord.mirror.rackspace.com
* updates: mirror.tocici.com
0 packages excluded due to repository protections
No Packages marked for removal
[root@jaguar ~]# sh /script/sysinfo
A. Kloxo-MR: 7.0.0.b-2014101504
B. OS: CentOS release 6.5 (Final) x86_64
C. Apps:
1. MySQL: mysql55-5.5.40-1.ius.el6.x86_64
2. PHP: php54-5.4.32-2.ius.el6.x86_64
3. Httpd: httpd-2.2.29-1.mr.el6.x86_64
4. Lighttpd: --uninstalled--
5. Hiawatha: hiawatha-9.8.0-f.2.mr.el6.x86_64
6. Nginx: --uninstalled--
7. Cache: --uninstalled--
8. Dns: nsd-4.1.0-3.mr.el6.x86_64
9. Qmail: qmail-toaster-1.03-1.3.38.mr.el6.x86_64
- with: courier-imap-toaster-4.1.2-1.3.16.mr.el6.x86_64
D. Php-type (for Httpd/proxy): php-fpm_event
E. Memory:
total used free shared buffers cached
Mem: 1024 878 145 0 0 613
-/+ buffers/cache: 265 758
Swap: 256 15 240
tapi ko di webserver configure di web ada
Multiple PHP Already Installed: php53m php54m
ngilangin php53m gimana yah?
Terus coba bikin page phpinfo
<?php
// Show all information, defaults to INFO_ALL
phpinfo();
?>
ko ga keluar apa2 cuman putih doank