MRatWork Forum by Mustafa Ramadhan - Tidak Bisa Install Php selain 5.3

Sponsor:
Server and Web Integrator
Link:
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:

MRatWork Forum | Please login or register. | 2017-11-07, 22:42:49

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- Tidak Bisa Install Php selain 5.3

« previous next »

- Print

Pages: [1] Go Down

### Author Topic: Tidak Bisa Install Php selain 5.3 (Read 1826 times)

0 Members and 1 Guest are viewing this topic.

#### Wibowo

- Master
- Posts: 391
- Karma: +0/-0
- Gender:

##### Tidak Bisa Install Php selain 5.3

« on: 2014-10-10, 14:53:45 »
Saya baru sewa vps openvz
dan menemukan sedikit masalah di instalasi php
waktu coba install php54
setelah pilih php54 dari 'Php branch' muncul box di sebelah pojok kanan seperti ini
saya tunggu sampai 1 jam tapi di 'php used' masih tidak ada 'php54'
begitu juga saat install dengan multiple php
sampai satu jam tidak ada perubahan
sebelumnya saya pakai vps kvm tidak ada masalah
tapi begitu pindah pakai openvz ketemu problem ini
mohon bantuannya pak
trims
sysinfo vps saya
Code: [Select]

     sh /script/sysinfo

    A. Kloxo-MR: 7.0.0.b-2014100905

    B. OS: CentOS release 6.5 (Final) x86_64

    C. Apps:
       1. MySQL: mysql55-5.5.40-1.ius.el6.x86_64
       2. PHP: php53u-5.3.29-1.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: bind-9.9.5-1.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):

    E. Memory:
                    total       used       free     shared    buffers     cached
       Mem:          4064        961       3102          0          0        961
       -/+ buffers/cache:          0       4064
       Swap:            0          0          0

Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: Tidak Bisa Install Php selain 5.3

« Reply #1 on: 2014-10-10, 15:34:34 »
Mestinya di 'Multiple Php Already installed' akan terlihat daftar php yang tersedia. Sya memang menemukan keanehan bahwa proses ini tidak jalan di CentOS 6 64bit tapi jalan baik di CentOS 6 32bit dan semua CentOS 5. Bikin pusing kan?.
Lakukan saja secara manual dengan 'sh /script/phpm-installer php53m' (ganti php53m dengan php52m, php54m dan php55m jika ingin install yang lain).
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### Wibowo

- Master
- Posts: 391
- Karma: +0/-0
- Gender:

##### Re: Tidak Bisa Install Php selain 5.3

« Reply #2 on: 2014-10-10, 16:13:58 »
pantas di vps satu lagi saya pakai centos 6 32bit tidak ada masalah pak
biasanya setelah klik update di 'PHP Branch' atau 'Multiple PHP . . . . ' akan ada delay sekitar 30 detik sampai 2 menit
tapi setelah refresh, di samping Multiple PHP Already Installed ada list php-nya
sedangkan untuk kasus saya samasekali tidak ada delay
ini hasil install manual pak
Code: [Select]

    sh /script/phpm-installer php54m

    - For help, type '/script/phpm-installer --help'
    === BEGIN 'php54m' (2014/10/10 09:59:38) 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/10 09:59:38) 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

dan saya menemukan problem baru lagi
setelah instalasi manual, di Multiple PHP Already Installed memang ada php54m (kebetulan saya memang install php54m)
tapi waktu saya pilih php54m di php used
setelah tombol Update di klik, kemudian refresh, dropdown PHP Used kembali lagi ke --Use php branch--
saya cek di 'sh /script/sysinfo juga ternyata masih menggunakan php53
saya coba override dengan sh /script/php-branch outputnya seperti ini
Code: [Select]

    sh php-branch --select=php54

    - For help, type 'php-branch --help'

    - Php Branch replace
    -- Replace using 'yum replace php53u --replace-with=php54'
    -- Install missing 'php53u.x86_64                    5.3.29-1.ius.el6          @mratwork-ius-archive' mod                                                               ule if exists
    -- Install missing 'php54-cli.x86_64                5.3.29-1.ius.el6          @mratwork-ius-archive' modu                                                               le if exists
    -- Install missing 'php54-common.x86_64             5.3.29-1.ius.el6          @mratwork-ius-archive' modu                                                               le if exists
    -- Install missing 'php54-embedded.x86_64           5.3.29-1.ius.el6          @mratwork-ius-archive' modu                                                               le if exists
    -- Install missing 'php54-fpm.x86_64                5.3.29-1.ius.el6          @mratwork-ius-archive' modu                                                               le if exists
    -- Install missing 'php54-imap.x86_64               5.3.29-1.ius.el6          @mratwork-ius-archive' modu                                                               le if exists
    -- Install missing 'php54-intl.x86_64               5.3.29-1.ius.el6          @mratwork-ius-archive' modu                                                               le if exists
    -- Install missing 'php54-ldap.x86_64               5.3.29-1.ius.el6          @mratwork-ius-archive' modu                                                               le if exists
    -- Install missing 'php54-litespeed.x86_64          5.3.29-1.ius.el6          @mratwork-ius-archive' modu                                                               le if exists
    -- Install missing 'php54-mbstring.x86_64           5.3.29-1.ius.el6          @mratwork-ius-archive' modu                                                               le if exists
    -- Install missing 'php54-mcrypt.x86_64             5.3.29-1.ius.el6          @mratwork-ius-archive' modu                                                               le if exists
    -- Install missing 'php54-mysql.x86_64              5.3.29-1.ius.el6          @mratwork-ius-archive' modu                                                               le if exists
    -- Install missing 'php54-pdo.x86_64                5.3.29-1.ius.el6          @mratwork-ius-archive' modu                                                               le if exists
    -- Install missing 'php54-pear.noarch               1:1.9.4-3.ius.el6         @mratwork-ius-archive' modu                                                               le if exists
    -- Install missing 'php54-pecl-geoip.x86_64         1.0.8-1.ius.el6           @mratwork-ius-archive' modu                                                               le if exists
    -- Install missing 'php54-process.x86_64            5.3.29-1.ius.el6          @mratwork-ius-archive' modu                                                               le if exists
    -- Install missing 'php54-pspell.x86_64             5.3.29-1.ius.el6          @mratwork-ius-archive' modu                                                               le if exists
    -- Install missing 'php54-recode.x86_64             5.3.29-1.ius.el6          @mratwork-ius-archive' modu                                                               le if exists
    -- Install missing 'php54-snmp.x86_64               5.3.29-1.ius.el6          @mratwork-ius-archive' modu                                                               le if exists
    -- Install missing 'php54-soap.x86_64               5.3.29-1.ius.el6          @mratwork-ius-archive' modu                                                               le if exists
    -- Install missing 'php54-tidy.x86_64               5.3.29-1.ius.el6          @mratwork-ius-archive' modu                                                               le if exists
    -- Install missing 'php54-xml.x86_64                5.3.29-1.ius.el6          @mratwork-ius-archive' modu                                                               le if exists
    -- Install missing 'php54-xmlrpc.x86_64             5.3.29-1.ius.el6          @mratwork-ius-archive' modu                                                               le if exists

hasil sysinfo memang php yg dipakai berubah jadi php54
Code: [Select]

    sh sysinfo

    A. Kloxo-MR: 7.0.0.b-2014100905

    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: bind-9.9.5-1.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:          4064        969       3094          0          0        969
       -/+ buffers/cache:          0       4064
       Swap:            0          0          0

tapi di Webserver Configure, bagian php-used, masih --Use PHP Branch--
saya pilih php54m, kemudian Update, refresh, hasilnya kembali lagi ke --Use PHP Branch-- pak
ini kenapa ya pak?
trims
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: Tidak Bisa Install Php selain 5.3

« Reply #3 on: 2014-10-10, 16:23:50 »
Ya tidak tahu karena di beberapa servers yang saya uji (pakai CentOS 6 64bit) ternyata tidak ada masalah.
Bisa jadi sebenarnya proses install dengan 'phpm-installer' gagal. Anda bisa coba dulu dengan 'yum update; yum reinstall php54*'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### Wibowo

- Master
- Posts: 391
- Karma: +0/-0
- Gender:

##### Re: Tidak Bisa Install Php selain 5.3

« Reply #4 on: 2014-10-10, 16:45:37 »
Quote

> kalau vps ram 4GB pakai centos 32 bit bermasalah tidak pak?
> kalau tidak bermasalah, mungkin di vps ini saya pakai 32bit saja

=========edit===============edit==========edit=============edit=============
sudah solved pak, walaupun dengan cara yg sedikit 'aneh'
saya run 'sh /script/fix-all' dan 'sh /script/restart-all' beberapa kali,kemudian masuk lagi ke webserver config
dan bisa ganti 'PHP Used' ke 'php54m'
yg masih kurang tinggal fitur switch php di level client dan problem di atas tadi yg belum solved pak
kalo ada switch php di level client, keren itu
sudah seperti cpanel
« Last Edit: 2014-10-10, 18:43:10 by Wibowo »
Logged

#### Wibowo

- Master
- Posts: 391
- Karma: +0/-0
- Gender:

##### Re: Tidak Bisa Install Php selain 5.3

« Reply #5 on: 2014-10-10, 17:29:31 »
Quote

> saya coba tambah domain, kemudian coba akses lewat browser
> ternyata hasilnya 404 Not Found
> waktu saya cek log manager, di HTTPD Log
> sumber errornya dari folder lokasi file webnya pak
> Code: [Select]

>     [Fri Oct 10 11:05:42 2014] [error] [client ] File does not exist: /etc/httpd/htdocs
>     [Fri Oct 10 11:13:06 2014] [error] [client ] File does not exist: /etc/httpd/htdocs
>     [Fri Oct 10 11:13:35 2014] [error] [client ] File does not exist: /etc/httpd/htdocs
>     [Fri Oct 10 11:13:37 2014] [error] [client ] File does not exist: /etc/httpd/htdocs
>     [Fri Oct 10 11:13:54 2014] [error] [client ] File does not exist: /etc/httpd/htdocs
>     [Fri Oct 10 11:14:21 2014] [error] [client ] File does not exist: /etc/httpd/htdocs
>     [Fri Oct 10 11:14:21 2014] [error] [client ] File does not exist: /etc/httpd/htdocs
>     [Fri Oct 10 11:14:22 2014] [error] [client ] File does not exist: /etc/httpd/htdocs
>     [Fri Oct 10 11:14:25 2014] [error] [client ] File does not exist: /etc/httpd/htdocs
>     [Fri Oct 10 11:14:25 2014] [error] [client ] File does not exist: /etc/httpd/htdocs
>     [Fri Oct 10 11:14:25 2014] [error] [client ] File does not exist: /etc/httpd/htdocs
>     [Fri Oct 10 11:14:26 2014] [error] [client ] File does not exist: /etc/httpd/htdocs
>     [Fri Oct 10 11:15:45 2014] [error] [client ] File does not exist: /etc/httpd/htdocs
>     [Fri Oct 10 11:16:34 2014] [error] [client ] File does not exist: /etc/httpd/htdocs
>     [Fri Oct 10 11:17:03 2014] [error] [client ] File does not exist: /etc/httpd/htdocs

> bukannya kloxomr taruh file webnya di
> '/home/nama-user/folder-webnya'
> tapi ini kok target dari file yg tidak ada malah
> '/etc/httpd/htdocs'
> bukankah itu artinya HTTPD memiliki setting kalo file web ada di folder '/etc/httpd/htdocs'
> mohon koreksinya pak

===============================edit======================edit===========
masalah yg ini gak jadi pak
sudah beres
solusinya simple, re-install apache via 'Switch Program'
« Last Edit: 2014-10-10, 17:58:06 by Wibowo »
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: Tidak Bisa Install Php selain 5.3

« Reply #6 on: 2014-10-11, 02:58:53 »
Quote from: Wibowo on 2014-10-10, 16:45:37

> Quote

> > kalau vps ram 4GB pakai centos 32 bit bermasalah tidak pak?
> > kalau tidak bermasalah, mungkin di vps ini saya pakai 32bit saja

> =========edit===============edit==========edit=============edit=============
> sudah solved pak, walaupun dengan cara yg sedikit 'aneh'
> saya run 'sh /script/fix-all' dan 'sh /script/restart-all' beberapa kali,kemudian masuk lagi ke webserver config
> dan bisa ganti 'PHP Used' ke 'php54m'
> yg masih kurang tinggal fitur switch php di level client dan problem di atas tadi yg belum solved pak
> kalo ada switch php di level client, keren itu
> sudah seperti cpanel

Seberapa besar setiap client pakai php children bisa diset di 'resource plan' atau 'limit' untuk setiap client pada 'number of fastcgi childrens'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

- Print

Pages: [1] Go Up
« previous next »

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- Tidak Bisa Install Php selain 5.3

MRatWork Affiliates: BIGRAF(R) Inc. House of LMAR EFARgrafix

- Design By SMFSimple.com
- SMF 2.0.14 | SMF © 2017, Simple Machines

Page created in 0.035 seconds with 17 queries.

Mirror created by MasterkinG32.CoM