MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: alexo on 2014-05-03, 21:16:59
-
Hello
Cann't find any option to switch to PHP 5.3+ in
Webserver Config - Config for pserver-localhost - Php Branch
Just
1. Php (as 5.1.6)
2. php 52 (as 5.2.17)
3. php 54 (as 5.4. 27)
[root@server ~]# rpm -qa |grep php
kloxomr-thirdparty-phpmyadmin-4.1.14-1.mr
php52-cli-5.2.17-101.mr.el5
php52-process-5.2.17-101.mr.el5
php52-gd-5.2.17-101.mr.el5
php54-pecl-imagick-3.1.2-1.ius.el5
php52-common-5.2.17-101.mr.el5
php52-bcmath-5.2.17-101.mr.el5
php52-5.2.17-101.mr.el5
php52-mcrypt-5.2.17-101.mr.el5
php52-xml-5.2.17-101.mr.el5
php52-mysql-5.2.17-101.mr.el5
php52-mbstring-5.2.17-101.mr.el5
php52s-5.2.17-12.mr.el5
php52-pdo-5.2.17-101.mr.el5
php52-pspell-5.2.17-101.mr.el5
php52-pgsql-5.2.17-101.mr.el5
How can i update to php5.3?
[root@server ~]# sh /script/sysinfo
A. Kloxo-MR: 6.5.0.f-2014042802
B. OS: CentOS release 5.10 (Final) i686
C. Apps:
1. MySQL: mysql55-5.5.37-1.ius.el5
2. PHP: php52-5.2.17-101.mr.el5
3. Httpd: httpd-2.2.27-1.el5
4. Lighttpd: --uninstalled--
5. Nginx: --uninstalled--
6. Qmail: qmail-toaster-1.03-1.3.38.mr.el5
- with: courier-imap-toaster-4.1.2-1.3.16.mr.el5
7. Dns: bind-9.9.5-1.el5
D. Php-type (for Httpd/proxy): php-fpm_event
E. Memory:
total used free shared buffers cached
Mem: 3072 985 2086 0 0 498
-/+ buffers/cache: 487 2584
Swap: 0 0 0
thx
-
KloxoMR 6.5.0f doesn't support 5.3+ running the control panel. Need to either update to dev version KloxoMR, or downgrade phpmyadmin.
Are you sure, that Kloxo doesn't support php5.3 ?
1-2 weeks ago there was php 5.3 in kloxo panel (Webserver Config - Php Branch ), but now for a reason that i don't know it disappeared.
-
Hi alexo,
Kloxo-MR is buggy.
I CONFIRM THAT THIS IS A BUG, amongst many others, AND - UNTIL TODAY - REFRAINED TO PLACE THIS IN THIS FORUM! Mustafa lives in his little world of craze and believes that everything is fine with version 6.5.0f.
People who have not seen such a problem will not understand this. But I know what you are talking about.
Do the following:
1) Try to switch to any other php version from the control panel if it allows, and wait until it is finished and there is a message in the TINY LITTLE CORNER BELOW that it is finished.
Reboot to make sure that the new php version comes into effect.
2) If the php version 5.3.xx does not appear in the list, then try to manually install it through yum.
I did the listing by yum list php*. Then I installed php 5.3.3, I think.
One you install php version, you _MUST_ reboot.
Try to install through command line and reboot.
At some point, this problem will be gone.
Also try FIRST sh /script/cleanup. This will also try to insert reqpective entries in the table and correct it.
because Mustafa does not chase after each and every problem in depth when a user reports and modifies his scripts, although he gives an excellent support, the sh /script/cleanup also remains buggy. Further, this script is a gigntic invention of Mustafa that really works fantastic when it works. It does work for muost of the areas but fails to work on certain combination of environments or situations.
-
Hello
1. I did as you adviced -
Try to switch to any other php version from the control panel if it allows, and wait until it is finished and there is a message in the TINY LITTLE CORNER BELOW that it is finished.
Reboot to make sure that the new php version comes into effect.
But nothing was changed ... there isn't any php5.3 version
2.
2) If the php version 5.3.xx does not appear in the list, then try to manually install it through yum.
I did the listing by yum list php*. Then I installed php 5.3.3, I think.
One you install php version, you _MUST_ reboot.
Can you give me right command to do this. I'm afraid to break anything.
thank you
-
Inform here 'yum list php*; dir -l /etc/yum.repos.d/; yum list mratwork*'
-
Check pls attached file - as it's too long cann't post it here.
thx
-
From ssh, try 'yum replace php52 --replace-with=php53u'.
-
:-(
Error: No Package Matching php53u
yum replace php52 --replace-with=php53u
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
* base: reflector.westga.edu
* extras: mirrors.advancedhosters.com
* mratwork-epel: ftp.linux.ncsu.edu
* mratwork-ius: iad.mirror.rackspace.com
* updates: mirror.rackspace.com
Excluding Packages in global exclude list
Finished
Excluding Packages from MRatWork - centalt - arch
Finished
Excluding Packages from MRatWork - Extra Packages for EL 5 - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 - arch
Finished
0 packages excluded due to repository protections
Replacing packages takes time, please be patient...
Error: No Package Matching php53u
-
Inform here 'cat /etc/yum.repos.d/mratwork.repo' and 'dir -l /etc/yum.repos.d'
-
dir -l /etc/yum.repos.d
total 44
-rw-r--r-- 1 root root 1926 Oct 8 2013 CentOS-Base.repo
-rw-r--r-- 1 root root 636 Oct 8 2013 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root 626 Oct 8 2013 CentOS-Media.repo
-rw-r--r-- 1 root root 7574 Oct 8 2013 CentOS-Vault.repo
-rw-r--r-- 1 root root 6210 Apr 30 14:15 mratwork.repo
-rw-r--r-- 1 root root 4714 Jan 29 07:24 mratwork.repo.rpmorig
-rw-r--r-- 1 root root 219 Jun 9 2012 vz.repo
-rw-r--r-- 1 root root 834 May 17 2013 webtatic.repo
[root@server ~]# cat /etc/yum.repos.d/mratwork.repo
-> attach file
-
I think because using webtatic where conflict with mratwork.repo. Try rename webtatic.repo to webtatic.nonrepo.
About 'switch to PHP 5.3+ in' in phpmyadmin, you need downgrade phpmyadmin with 'yum downgrade kloxomr-thirdparty-phpmyadmin' (maybe need 2-3 times). It's because Kloxo-MR 6.5.0.f still using php52s instead php53s/php54s in Kloxo-MR 6.5.1.b.
-
I think because using webtatic where conflict with mratwork.repo. Try rename webtatic.repo to webtatic.nonrepo.
About 'switch to PHP 5.3+ in' in phpmyadmin, you need downgrade phpmyadmin with 'yum downgrade kloxomr-thirdparty-phpmyadmin' (maybe need 2-3 times). It's because Kloxo-MR 6.5.0.f still using php52s instead php53s/php54s in Kloxo-MR 6.5.1.b.
1. Ok, i rename webtatic.repo to webtatic.nonrepo and run "yum replace php52 --replace-with=php53u" -> No result
2. yum downgrade kloxomr-thirdparty-phpmyadmin - Ok, now i have phpmyadmin access, but still don't have PHP 5.3+ and cann't update to 6.5.1.b to 201405102/201405104 .
Any solution - pls !
-
Try 'yum clean all' before 'yum replace'.
You need 'kloxo-thirdparty-phpmyadmin' version 4.0.10. So try 'yum downgrade' again until version 4.0.10.
Also need update mrtawork.repo with 'yum update mratwork*'.
-
Try 'yum clean all' before 'yum replace'.
You need 'kloxo-thirdparty-phpmyadmin' version 4.0.10. So try 'yum downgrade' again until version 4.0.10.
Also need update mrtawork.repo with 'yum update mratwork*'.
I did it - > 'yum clean all' before 'yum replace' -> and at the end i got
[root@server ~]# yum replace php52 --replace-with=php53u
Loaded plugins: fastestmirror, priorities, protectbase, replace
Determining fastest mirrors
mratwork-epel/metalink | 8.2 kB 00:00
* base: mirror.teklinks.com
* extras: mirror.cs.vt.edu
* mratwork-epel: epel.mirror.constant.com
* mratwork-ius-stable: iad.mirror.rackspace.com
* updates: mirror.raystedman.net
base | 1.1 kB 00:00
base/primary | 995 kB 00:00
base 2789/2789
extras | 2.1 kB 00:00
extras/primary_db | 164 kB 00:00
mratwork-centalt | 951 B 00:00
mratwork-centalt/primary | 101 kB 00:01
mratwork-centalt 292/292
mratwork-epel | 3.7 kB 00:00
mratwork-epel/primary_db | 3.2 MB 00:00
mratwork-google-mod-pagespeed | 951 B 00:00
mratwork-google-mod-pagespeed/primary | 5.3 kB 00:00
mratwork-google-mod-pagespeed 33/33
mratwork-ius-archive | 2.2 kB 00:00
mratwork-ius-archive/primary_db | 1.1 MB 00:00
mratwork-ius-stable | 2.1 kB 00:00
mratwork-ius-stable/primary_db | 106 kB 00:00
mratwork-litespeed | 951 B 00:00
mratwork-litespeed/primary | 36 kB 00:00
mratwork-litespeed 182/182
mratwork-litespeed-update | 951 B 00:00
mratwork-litespeed-update/primary | 19 kB 00:00
mratwork-litespeed-update 91/91
mratwork-release-neutral-noarch | 951 B 00:00
mratwork-release-neutral-noarch/primary | 20 kB 00:00
mratwork-release-neutral-noarch 62/62
mratwork-release-version-arch | 951 B 00:00
mratwork-release-version-arch/primary | 84 kB 00:00
mratwork-release-version-arch 233/233
mratwork-varnish-3.0 | 951 B 00:00
mratwork-varnish-3.0/primary | 9.4 kB 00:00
mratwork-varnish-3.0 38/38
updates | 1.9 kB 00:00
updates/primary_db | 422 kB 00:00
vz-base | 951 B 00:00
vz-base/primary | 1.7 kB 00:00
vz-base 5/5
vz-updates | 951 B 00:00
vz-updates/primary | 1.0 kB 00:00
vz-updates 3/3
Excluding Packages in global exclude list
Finished
Excluding Packages from MRatWork - centalt - arch
Finished
Excluding Packages from MRatWork - Extra Packages for EL 5 - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (archive) - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (stable) - arch
Finished
0 packages excluded due to repository protections
Replacing packages takes time, please be patient...
Error: No Package Matching php53u
Downgrade phpmyadmin to 4.0.10. and also run "yum update mratwork*".
and restart server
Now
1. there is 500 internal server error on all my sites
2. there isn't any php5.3 in kloxo panel
3. php -v - > php 5.2
-
If before part of my sites are down - now all my sites with "500 Internal Server Error" :-(
-
Read http://forum.mratwork.com/kloxo-mr-releases-and-announcements/(update)-please-update-to-6-5-0-f6-5-1-b-to-201405102201405104/