New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
5.3 seriously?
http://php.net/supported-versions.php
wp and joomla core should nt be affected it should be the plugins... My first opinion
You should check if there were plugins/modules that require previous versions.
In such case disable them temporarily and try again.
i disabled all plugins it didnt work here is the website url www.smartmarket.co.za
even the login page for cpanel crashed
So which are you using?
im using the ip address to access cpanel when i use cp.smartmarketmarket.co.za i can't access the cpanel
Whats the output of php - v on the server? How did you update the PHP?
You need to edit some Kloxo code so it better detects the PHP's version. Edit
In /usr/local/lxlabs/kloxo/httpdocs/htmllib/lib/lib.php
Change
function find_php_version() { global $global_dontlogshell; $global_dontlogshell = true; $ret = lxshell_output("rpm", "-q", "php"); $ver = substr($ret, strlen("php-"), 3); $global_dontlogshell = false; return $ver; }
to:
function find_php_version() { global $global_dontlogshell; $global_dontlogshell = true; $ret = shell_exec('php -r \'echo phpversion();\' 2>nul'); $ver = substr($ret, 0, 3); $global_dontlogshell = false; return $ver; }
PHP 5.3.3 (cli) (built: Oct 31 2014 09:52:36)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
Did you edit the file per my post?
try smartmarketmarket.co.za/cpanel
Kloxo-MR using "php -v|grep 'PHP'|grep '(built:'|awk '{print $2}'" instead "rpm -q php" or "php -r 'echo phpversion();'".
It's because 'phpversion()' not work in 'multiple php' model in Kloxo-MR.
I'm trying to edit that file the problem is after clicking ssh terminal i get this message a plugin is needed to display this content.how can i access this root usr/local/lxlabs/kloxo/httpdocs/htmllib/lib/lib.php?
which tool can i use?
File manager in Kloxo panel.
its empty
its only Maildir
winscp or filezilla, couple of 'em out there
You're best to edit it in SSH with nano or VI
Alexander
how do i install nano in kloxo
yum install nano -y
Loaded plugins: fastestmirror, protectbase, replace
Loading mirror speeds from cached hostfile
* addons: www.ftp.saix.net
* base: www.ftp.saix.net
* epel: ftp.nluug.nl
* extras: www.ftp.saix.net
* updates: centos.joinweb.co.il
http://centos.alt.ru/repository/centos/5/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
0 packages excluded due to repository protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package nano.x86_64 0:1.3.12-1.1 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
Installing:
nano x86_64 1.3.12-1.1 base 482 k
Transaction Summary
Install 1 Package(s)
Upgrade 0 Package(s)
Total download size: 482 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : nano 1/1
Installed:
nano.x86_64 0:1.3.12-1.1
Complete
so how do i open it nano ?
sh: nano//usr/local/lxlabs/kloxo/httpdocs/htmllib/lib/lib.php: No such file or directory
Error opening terminal: unknown.
pls help me
Try: nano /usr/local/lxlabs/kloxo/httpdocs/htmllib/lib/lib.php
There are many docs on the net on how to use nano. I suggest you get used to looking for basic things such as this.
when i try that i get thes message "Error opening terminal: unknown"
"
@ktwala149 like I said use winscp/filezilla log in as root, search for files from there
@ktwala149 What are you using to SSH into the server?