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-04-28, 10:54:06

Author Topic: PHP52 CLI not found  (Read 5959 times)

0 Members and 1 Guest are viewing this topic.

Offline xsilent

  • Valuable Member
  • *
  • Posts: 61
  • Karma: +0/-0
    • View Profile
PHP52 CLI not found
« on: 2013-03-26, 17:04:37 »
saya sudah menginstall php52-cli ke server kloxo dengan hasil:

[root@suka ~]# yum install php52-cli
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: yum.singlehop.com
 * extras: mirror.cogentco.com
 * kloxo-mr-epel: mirror.umd.edu
 * kloxo-mr-ius: archive.linux.duke.edu
 * updates: centos.mirror.netriplex.com
Excluding Packages from Kloxo-MR - centalt - i386
Finished
0 packages excluded due to repository protections
Setting up Install Process
Package php52-cli-5.2.17-6.ius.el5.i386 already installed and latest version
Nothing to do

tapi setelah saya cek di website saya, ternyata masih not found

PHP CLI
PHP CLI is used to peform video conversion in a background process. Learn more
php is not found
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lxlabs/ext/php/lib/dom.so' - /usr/local/lxlabs/ext/php/lib/dom.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lxlabs/ext/php/lib/pdo.so' - /usr/local/lxlabs/ext/php/lib/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lxlabs/ext/php/lib/pdo_sqlite.so' - /usr/local/lxlabs/ext/php/lib/pdo_sqlite.so: undefined symbol: php_pdo_unregister_driver in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lxlabs/ext/php/lib/xmlreader.so' - /usr/local/lxlabs/ext/php/lib/xmlreader.so: undefined symbol: php_dom_create_object in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lxlabs/ext/php/lib/xsl.so' - /usr/local/lxlabs/ext/php/lib/xsl.so: undefined symbol: php_dom_create_object in Unknown on line 0 PHP 5.2.17 (cli) (built: Apr 24 2012 15:28:18) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies


Sysinfo Server saya:

[root@suka ~]# sh /script/sysinfo

A. Kloxo-MR: 6.5.0.c.2013030401

B. OS: CentOS release 5.9 (Final) i686

C. Apps:
   1. MySQL: mysql55-5.5.30-1.ius.el5
   2. PHP: php52-5.2.17-6.ius.el5
   3. Httpd: httpd-2.2.23-3.el5
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.3.13-1.el5
   6. Qmail: qmail-toaster-1.03-1.3.22.mr.el5
   7. Dns: bind-9.9.2-2.P1.el5

D. Php-type (for Httpd/proxy): suphp

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1024        230        793          0          0          0
   -/+ buffers/cache:        230        793
   Swap:            0          0          0


Mohon bantuannya...
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline zenkul

  • Global Moderator
  • Master
  • *****
  • Posts: 383
  • Karma: +3/-0
    • View Profile
    • home & decor
Re: PHP52 CLI not found
« Reply #1 on: 2013-03-26, 17:15:18 »
kelihatan-nya driver belum masuk di "etc/php.d"

coba cek

kalau untuk memasukan driver standar (instan) ini

Code: [Select]
cd /usr/local/lxlabs/kloxo/httpdocs/htmllib/lib/pserver/driver
wget https://github.com/mustafaramadhan/kloxo/raw/dev/kloxo/httpdocs/htmllib/lib/pserver/driver/mysqldb__mysqllib.php --no-check-certificate
http://forum.mratwork.com/viewtopic.php?f=9&t=916

lalu tinggal di cek lagi
« Last Edit: 1970-01-01, 01:00:00 by Guest »
easy, secure and speed up web panel ===> Kloxo-MR

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: PHP52 CLI not found
« Reply #2 on: 2013-03-26, 17:31:14 »
coba jalankan 'php -v' dan 'php -m'. muncul error tidak.

Masalah anda bukan di php-cli tapi module php tidak dikenal.

Coba lakukan 'yum replace php52 --replace-with=php' dan kemudian kembalikan ke 'yum replace php --replace-with=php52'
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline xsilent

  • Valuable Member
  • *
  • Posts: 61
  • Karma: +0/-0
    • View Profile
Re: PHP52 CLI not found
« Reply #3 on: 2013-03-26, 18:03:11 »
Saya sudah coba cara pertama dan hasilnya:

[root@suka driver]# wget https://github.com/mustafaramadhan/klox ... sqllib.php --no-check-certificate
--2013-03-26 18:58:04--  https://github.com/mustafaramadhan/klox ... sqllib.php
Resolving github.com... 207.97.227.239
Connecting to github.com|207.97.227.239|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.github.com/mustafaramadhan/ ... sqllib.php [following]
--2013-03-26 18:58:07--  https://raw.github.com/mustafaramadhan/ ... sqllib.php
Resolving raw.github.com... 199.27.72.133
Connecting to raw.github.com|199.27.72.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7671 (7.5K) [text/plain]
Saving to: `mysqldb__mysqllib.php.2'

100%[======================================>] 7,671       --.-K/s   in 0s

2013-03-26 18:58:07 (43.3 MB/s) - `mysqldb__mysqllib.php.2' saved [7671/7671]


Lalu cara yang kedua


[root@suka driver]# php -v
PHP 5.2.17 (cli) (built: Apr 24 2012 15:28:18)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies

[root@suka driver]# php -m
[PHP Modules]
bz2
calendar
ctype
curl
date
dom
exif
filter
ftp
gd
gettext
gmp
hash
iconv
imap
json
libxml
mbstring
mime_magic
openssl
pcntl
pcre
PDO
pdo_sqlite
posix
pspell
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
zip
zlib

[Zend Modules]

[root@suka driver]#


yang replace itu sudah saya jalankan pak tapi tetap not found cli nya
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: PHP52 CLI not found
« Reply #4 on: 2013-03-26, 18:11:18 »
php-cli (juga php-cgi) itu sudah ikut ketika anda install dengan 'yum install php' karena termasuk 'build-in'. Module seperti 'xcache' adalah tidak 'build-in' dan harus diinstall terpisah melalui 'yum install php-xcache' misalnya.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline xsilent

  • Valuable Member
  • *
  • Posts: 61
  • Karma: +0/-0
    • View Profile
Re: PHP52 CLI not found
« Reply #5 on: 2013-03-26, 18:25:45 »
sya sudah install php xcache pak.. jadi gimana pak langkah selanjutanya..

oh ya sya baru saja cek

[root@suka driver]# yum list php*|grep installed
Error: No matching Packages to list
[root@suka driver]#
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: PHP52 CLI not found
« Reply #6 on: 2013-03-26, 18:30:50 »
Quote from: "xsilent"
sya sudah install php xcache pak.. jadi gimana pak langkah selanjutanya..

oh ya sya baru saja cek

[root@suka driver]# yum list php*|grep installed
Error: No matching Packages to list
[root@suka driver]#
Coba 'yum list installed php*'
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


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

Page created in 0.045 seconds with 18 queries.

web stats analysis