Met siang
Mau tanya, baru install kloxo-mr 6.5.1 (kloxomr-6.5.1.b-2014033004)
Fresh OS Centos 6 64bit
Tapi selalu berhenti dibagian ini aja:
[root@me ~]# sh /script/upcp -y
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
Excluding mirror: mirror.agmn.ca
* base: centos.mirror.iweb.ca
Excluding mirror: mirror.agmn.ca
* extras: centos.mirror.iweb.ca
* mratwork-epel: epel.mirror.constant.com
* mratwork-ius: archive.linux.duke.edu
Excluding mirror: mirror.agmn.ca
* updates: centos.mirror.iweb.ca
Setting up Update Process
No Packages marked for Update
*** Ready to begin setup. ***
- Note some file downloads may not show a progress bar so please,
do not interrupt the process.
- When it's finished, you will be presented with a welcome message and
further instructions.
Installing as "root" OK
SELinux disabled OK
Yum installed OK
...
...
Installed:
php52s.x86_64 0:5.2.17-11.mr.el6
Complete!
Execute fixlxphpexe for php52s...
/usr/bin/lxphp.exe: line 10: exec: /opt/php52s/usr/bin/php: cannot execute: No such file or directory
/usr/bin/lxphp.exe: line 10: /opt/php52s/usr/bin/php: No such file or directory
/usr/bin/lxphp.exe: line 10: exec: /opt/php52s/usr/bin/php: cannot execute: No such file or directory
/usr/bin/lxphp.exe: line 10: /opt/php52s/usr/bin/php: No such file or directory
/usr/bin/lxphp.exe: line 10: exec: /opt/php52s/usr/bin/php: cannot execute: No such file or directory
/usr/bin/lxphp.exe: line 10: /opt/php52s/usr/bin/php: No such file or directory
/usr/bin/lxphp.exe: line 10: exec: /opt/php52s/usr/bin/php: cannot execute: No such file or directory
/usr/bin/lxphp.exe: line 10: /opt/php52s/usr/bin/php: No such file or directory
/usr/bin/lxphp.exe: line 10: exec: /opt/php52s/usr/bin/php: cannot execute: No such file or directory
... Wait until finished (switch to php53s and restart services) ...
[root@me ~]#
setelah di cek /opt/php52s gak ada folder usr:
kalo di /opt/php53s ada:
Biar fix nya gimana ya? Makasih
==============================================
Gak tau nih bener apa gak, edit /usr/local/lxlabs/kloxo/init/php52s/php-cli.sh jadi
#!/bin/sh
php_rc='/opt/php52s/custom'
php_scan='/opt/php52s/etc/php.d'
#php_prog='/opt/php52s/usr/bin/php'
if [ ! -f /opt/php52s/usr/bin/php ]; then
php_prog='/opt/php52s/bin/php'
else
php_prog='/opt/php52s/usr/bin/php'
fi
export PHPRC=$php_rc
export PHP_INI_SCAN_DIR=$php_scan
exec $php_prog -c $php_rc $*