Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
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:
Click Here
Please login or register. 2024-03-29, 14:22:39

Author Topic: [HELP] New Install Kloxo-MR 7 php gak jalan  (Read 3992 times)

0 Members and 1 Guest are viewing this topic.

Offline komvis

  • Newbie
  • Posts: 36
  • Karma: +0/-0
    • View Profile
[HELP] New Install Kloxo-MR 7 php gak jalan
« on: 2014-10-16, 08:40:40 »
Halo all, saya sudah coba install kloxomr7 seperti tutorial di http://www.servermom.org/kloxo-mr-basic-configuration/1851/, step by step ngikutin... semua sukses ga ada kendala, tapi pas coba liat versi php pake command php -v ga keluar apa²

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: 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: 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        763        260          0          0        497
   -/+ buffers/cache:        266        757
   Swap:          256          0        256

coba bikin phpinfo liat di web malah error 500

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@xxx.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

ada yg pernah ngalamin?

Rencananya mo saya pasang opencart, apakah ada rekomendasi bagusnya setingan pake apa? biar performa bagus..plus php pake versi apa nih? makasih sebelumnya...thanks
« Last Edit: 2014-10-16, 08:52:34 by komvis »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [HELP] New Install Kloxo-MR 7 php gak jalan
« Reply #1 on: 2014-10-16, 09:08:50 »
Coba install phpm (multiple php) dan pilih 'php53m' pada 'php used' di 'webserver configs'.

Kloxo-MR mendeteksi adanya php (yaitu php53u) dan semestinya pula 'php -v' akan memberikan info.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline komvis

  • Newbie
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Re: [HELP] New Install Kloxo-MR 7 php gak jalan
« Reply #2 on: 2014-10-16, 09:17:59 »
coba mengeksekusi ko keluar error gini ya mas mustafa:

Alert: Other install process still running [localhost]

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [HELP] New Install Kloxo-MR 7 php gak jalan
« Reply #3 on: 2014-10-16, 09:23:07 »
Jika anda menginstall phpm dari panel maka proses dilakukan dibelakang layar. Jika coba diulangi maka akan muncul pesan seperti anda tunjukkan. Proses akan cukup makan waktu.

Secara manual, bisa dilakukan dengan 'sh /script/phpm-installer php53m' (untuk php 5.3; click saja help untuk lebih jelas).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline komvis

  • Newbie
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Re: [HELP] New Install Kloxo-MR 7 php gak jalan
« Reply #4 on: 2014-10-16, 12:53:45 »
coba install secara manual..

[root@jaguar ~]# sh /script/phpm-installer php53m --force

- For help, type '/script/phpm-installer --help'
=== BEGIN 'php53m' (2014/10/16 06:51:09) 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/php53m'
error: not an rpm package
argument is not an RPM package
- Disable certain modules (rename to .nonini) in '/etc/php53m/etc/' + 'php.d' an                                                                                        d 'php-zts.d'
-- Disable 'eaccelerator' modules in '/etc/php53m/etc/php.d'
-- Disable 'pdo_dblib' modules in '/etc/php53m/etc/php.d'
-- Disable 'pdo_pgsql' modules in '/etc/php53m/etc/php.d'
-- Disable 'pgsql' modules in '/etc/php53m/etc/php.d'
-- Disable 'suhosin' modules in '/etc/php53m/etc/php.d'
-- Disable 'mongo' modules in '/etc/php53m/etc/php.d'
-- Disable 'apc' modules in '/etc/php53m/etc/php.d'
-- Disable 'imagick' modules in '/etc/php53m/etc/php.d'
-- Disable 'ioncube-loader' modules in '/etc/php53m/etc/php.d'
-- Disable 'memcache' modules in '/etc/php53m/etc/php.d'
-- Disable 'memcached' modules in '/etc/php53m/etc/php.d'
-- Disable 'mssql' modules in '/etc/php53m/etc/php.d'
-- Disable 'xdebug' modules in '/etc/php53m/etc/php.d'
-- Disable 'xcache' modules in '/etc/php53m/etc/php.d'
-- Disable 'lzf' modules in '/etc/php53m/etc/php.d'
-- Disable 'redis' modules in '/etc/php53m/etc/php.d'
- Copy certain files to '/opt/php53m/custom'
- Set .sh to 755
- Create .sh symlink
-- From '/opt/php53m/custom/php53m-cgi.sh' to '/usr/bin/php53m-cgi'
-- From '/opt/php53m/custom/php53m-cli.sh' to '/usr/bin/php53m-cli'
-- From '/opt/php53m/custom/php53m-ls.sh' to '/usr/bin/php53m-ls'
-- From '/opt/php53m/custom/php53m-fpm.sh' to '/usr/bin/php53m-fpm'
- Create symlink from /opt/php53m/usr/lib64 to /opt/php53m/usr/lib
=== END 'php53m' (2014/10/16 06:51:09) install ===

Note:
 - See '/opt/php53m/install.log' for detail install process
 - Example: copy 'xcache.nonini' to '_xcache.ini' for enable 'xcache' module
      in '/etc/php53m/etc/php.d'
 - For config setup only, run 'sh /script/phpm-config-setup php53m

[root@jaguar ~]# php -v
[root@jaguar ~]#

tetep gak mau bos? :(((((

Offline komvis

  • Newbie
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Re: [HELP] New Install Kloxo-MR 7 php gak jalan
« Reply #5 on: 2014-10-16, 13:09:13 »
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 :(
« Last Edit: 2014-10-16, 13:13:01 by komvis »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [HELP] New Install Kloxo-MR 7 php gak jalan
« Reply #6 on: 2014-10-16, 13:17:51 »
Saya pikir anda belum paham beda php biasa (istilahnya php-branch) dan phpm (multiple php).

Php branch adalah php yang kita install melalui mekanisme 'yum install'. Hanya ada 1 php branch yang terinstall. Untuk multiple adalah php yang diinstall melalui mekanisme khusus 'sh /script/phpm-installer) dan dimungkinkan lebih dari 1 phpm (artinya lebih dari 1 versi).

Untuk melihat info php branch adalah 'php -v', sedangkan phpm adalah 'php54m-cli -v' (untuk php 5.3 version).

PHPm tidak perlu dihapus karena tidak akan conflict dengan php biasa.

Jika anda menghadapi masalah dengan php biasa (baca php-branch), coba lakukan reinstall dengan 'yum reinstall php*'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline komvis

  • Newbie
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Re: [HELP] New Install Kloxo-MR 7 php gak jalan
« Reply #7 on: 2014-10-16, 16:15:55 »
:( sudah coba install ulang lagi dari awal, all configured perfectly, tinggal satu yg tetep ga mau running, php-nya :(

di setingan webserver configure sudah di set

PHP used:
php53m

php branch:
 php53u(as-5.3.29)

Multiple PHP Already Installed:   php53m


[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: 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: 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        267        756          0          0         63
   -/+ buffers/cache:        203        820
   Swap:          256          0        256

tapi kalo di check di shell php -v tetep gak munculin informasi apa²

help...

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [HELP] New Install Kloxo-MR 7 php gak jalan
« Reply #8 on: 2014-10-16, 16:49:44 »
Apa benar diagnosa anda bahwa 'php -v' tidak memberikan informasi. Jangan-jangan cuma salah ketik saja.

Saya belum pernah mengalami seperti ini baik di CentOS 5 32bit, 5 64bit, 6 32bit dan 6 64bit.

Informasikan 'yum list installed php*'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline komvis

  • Newbie
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Re: [HELP] New Install Kloxo-MR 7 php gak jalan
« Reply #9 on: 2014-10-16, 18:09:34 »
Iya mas mustafa, saya udah perhatikan detail instalasi, sudah cek n recheck tapi ko tetep kasusnya, mas mustafa ada guide instalasi dan setting php untuk kloxomr7 gak mas?  Udah jatuh hati ma kloxomr7 nih... saya coba bikin phpinfo juga blank putih doank tidakkeluar informasi apa2.... says juga coba ketik php di shell tapi cuman dpet pesan "php cannot startup" itu apanya ya mas, mihon pencerahannya...thx sebelumnya...

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [HELP] New Install Kloxo-MR 7 php gak jalan
« Reply #10 on: 2014-10-16, 19:07:00 »
Paling gampang melihat apakah semuanya sudah benar adalah mengakses http://webmail.domainanda.com/ atau http://cp.domainanda.com. Bila tampil daftar webmail apps atau cp list maka artinya semua sudah benar.

Informasikan hasil dari 'sh /script/fixweb' (tentunya anda sudah menyetting setidaknya 1 subdomain/domain.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline komvis

  • Newbie
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Re: [HELP] New Install Kloxo-MR 7 php gak jalan
« Reply #11 on: 2014-10-17, 00:56:27 »
[root@jaguar ~]# sh /script/fixweb

- For help, type '/script/fixweb --help' or '/script/fixweb -h'
- No argument supplied. Defaulting to localhost (master) servers

Fixing Web server config
- 'defaults' pages at 'localhost'
- remove all domains configs at 'localhost'
- 'idedekorasi.com' ('idedekorasi') at 'localhost'

*** Process Time: 00:00:00:00.675 (dd:hh:mm:ss:xxxxxx) ***

Saya heran yah kenapa domain gak bisa di akses :(

[root@jaguar ~]# dig idedekorasi.com

; <<>> DiG 9.9.5 <<>> idedekorasi.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 34980
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;idedekorasi.com.               IN      A

;; Query time: 0 msec
;; SERVER: 107.191.119.156#53(107.191.119.156)
;; WHEN: Fri Oct 17 05:52:32 WIB 2014
;; MSG SIZE  rcvd: 44

padahal sudah diarahkan ke ns... tadi malam sempat coba webmail.domain.com yang keluar internal error 500, knapa ya mas itu? :( help dong


Saya liat di /opt/configs/nsd/conf/master/ tidak tercreate file master domainnya yg seharusnya ada :((
« Last Edit: 2014-10-17, 00:59:17 by komvis »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [HELP] New Install Kloxo-MR 7 php gak jalan
« Reply #12 on: 2014-10-17, 04:26:30 »
Periksa domain memakai introdns.com.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.037 seconds with 22 queries.

web stats analysis