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:41:03

Author Topic: php53s does not really work  (Read 8140 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
php53s does not really work
« on: 2014-02-14, 22:13:38 »
phpinfo still shows php 5.2.17

Quote
ps aux | grep kloxo
root     30725  0.0  0.0 106112  1172 ?        S    16:06   0:00 /bin/sh /usr/bin/lxphp.exe /usr/local/lxlabs/kloxo/sbin/kloxo.php slave
lxlabs   30729  0.0  0.3 461660 12604 ?        Ss   16:06   0:00 /opt/php52s/bin/kloxo-phpcgi
root     30734  0.0  0.7 461976 28500 ?        S    16:06   0:00 /opt/php53s/usr/bin/php -c /usr/local/lxlabs/kloxo/init/php53s/php.ini /usr/local/lxlabs/kloxo/sbin/kloxo.php slave
lxlabs   30740  0.3  0.9 466368 38180 ?        S    16:06   0:02 /opt/php52s/bin/kloxo-phpcgi
lxlabs   30741  0.3  0.7 464632 29380 ?        S    16:06   0:02 /opt/php52s/bin/kloxo-phpcgi
lxlabs   30742  0.2  0.4 466216 18356 ?        S    16:06   0:01 /opt/php52s/bin/kloxo-phpcgi
lxlabs   30743  0.2  0.7 467652 31748 ?        S    16:06   0:01 /opt/php52s/bin/kloxo-phpcgi
lxlabs   30744  0.2  0.4 466136 16608 ?        S    16:06   0:01 /opt/php52s/bin/kloxo-phpcgi
lxlabs   30754  0.0  0.0 1039932 1672 ?        Ssl  16:06   0:00 /usr/sbin/kloxo-hiawatha -c /usr/local/lxlabs/kloxo/init
root     31406  0.0  0.0 103316   832 pts/3    S+   16:16   0:00 grep kloxo

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php53s does not really work
« Reply #1 on: 2014-02-15, 03:41:55 »
Need reboot or running 'killall -u lxlabs; sh /script/restart'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: php53s does not really work
« Reply #2 on: 2014-02-15, 04:38:47 »
Unable to install Mustafa, ran /script/php53s-install

at the end....

--> Running transaction check
---> Package hunspell.x86_64 0:1.2.8-16.el6 will be installed
--> Processing Conflict: php54-5.4.24-1.ius.el6.x86_64 conflicts php < 5.4
--> Finished Dependency Resolution
Error: php54 conflicts with php53s-5.3.28-2.mr.el6.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
ln: creating symbolic link `/opt/php53s/usr/lib': No such file or directory

Conflicting with php54?

Please advise
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php53s does not really work
« Reply #3 on: 2014-02-15, 04:56:44 »
Need 2014021501. Previous possible conflict.

Or try running 'yum install php53s*' and find out conflict.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php53s does not really work
« Reply #4 on: 2014-02-15, 04:58:49 »
If still conflict with php54, try change php-type to php53u first and after install php53s change back to php54.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: php53s does not really work
« Reply #5 on: 2014-02-15, 05:39:20 »
I switched php branch to php53u and /script/php53s-install completed successfully.

Tried to replace php53u with php54 and conflict error:

--> Processing Conflict: php54-5.4.24-1.ius.el6.x86_64 conflicts php < 5.4
--> Finished Dependency Resolution
Error: php54 conflicts with php53s-5.3.28-2.mr.el6.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Please advise, I am now unable to use php54 for web.
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php53s does not really work
« Reply #6 on: 2014-02-15, 05:52:25 »
What's happen when running 'yum clean all; yum update'. Usually with this trick we know conflict file(s).

I didn't found this issue in my test and productions servers.

Try 'yum install php53s* --disablerepo=mratwork-ius'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: php53s does not really work
« Reply #7 on: 2014-02-15, 06:28:11 »
php54 will not install.  Yum clean all yum update says no packages marked for update.

How can this NOT happen, all my servers are the same. php53s conflicts with php54.

5 servers, 5 times recreated.  I need php54.

I don't have 'test' servers anymore.
« Last Edit: 2014-02-15, 06:32:01 by chrisf »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php53s does not really work
« Reply #8 on: 2014-02-15, 06:53:43 »
Do you have any other repo beside CentOS and mratwork repo?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: php53s does not really work
« Reply #9 on: 2014-02-15, 07:10:03 »
CentOS-Base.repo       CentOS-Vault.repo  vz.repo
CentOS-Debuginfo.repo  mratwork.repo
CentOS-Media.repo      rsyslog.repo

The conflict is with mr ius repo.  I can not get php54 to install with php53s.  It will install with php53u as php branch, but I need php54.

rsyslog repo is for updated and improved syslog - nothing else.
« Last Edit: 2014-02-15, 07:21:06 by chrisf »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php53s does not really work
« Reply #10 on: 2014-02-15, 07:33:48 »
I will investigate this issue.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php53s does not really work
« Reply #11 on: 2014-02-15, 07:41:51 »
Modified /script/php53s-install and /usr/local/lxlabs/kloxo/pscript/php53s-install, from:
Code: [Select]
yum -y install php53s php53s-bcmath php53s-enchant php53s-fpm php53s-gd php53s-imap \
php53s-intl php53s-ldap php53s-litespeed php53s-mbstring php53s-mcrypt \
php53s-mysql php53s-pdo php53s-process php53s-pspell php53s-recode php53s-snmp \
php53s-soap php53s-tidy php53s-xml php53s-xmlrpc

to:
Code: [Select]
yum -y install php53s php53s-bcmath php53s-enchant php53s-fpm php53s-gd php53s-imap \
php53s-intl php53s-ldap php53s-litespeed php53s-mbstring php53s-mcrypt \
php53s-mysql php53s-pdo php53s-process php53s-pspell php53s-recode php53s-snmp \
php53s-soap php53s-tidy php53s-xml php53s-xmlrpc --skip-broken
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: php53s does not really work
« Reply #12 on: 2014-02-15, 07:50:40 »
Total download size: 1.8 M
Installed size: 4.5 M
Downloading Packages:
php53s-fpm-5.3.28-2.mr.el6.x86_64.rpm    | 1.8 MB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : php53s-fpm-5.3.28-2.mr.el6.x86_64            1/1
  Verifying  : php53s-fpm-5.3.28-2.mr.el6.x86_64            1/1

Installed:
  php53s-fpm.x86_64 0:5.3.28-2.mr.el6

Skipped (dependency problems):
  enchant.x86_64 1:1.5.0-4.el6
  hunspell.x86_64 0:1.2.8-16.el6
  libicu.x86_64 0:4.2.1-9.1.el6_2
  php53s.x86_64 0:5.3.28-2.mr.el6
  php53s-bcmath.x86_64 0:5.3.28-2.mr.el6
  php53s-cli.x86_64 0:5.3.28-2.mr.el6
  php53s-common.x86_64 0:5.3.28-2.mr.el6
  php53s-enchant.x86_64 0:5.3.28-2.mr.el6
  php53s-gd.x86_64 0:5.3.28-2.mr.el6
  php53s-imap.x86_64 0:5.3.28-2.mr.el6
  php53s-intl.x86_64 0:5.3.28-2.mr.el6
  php53s-ldap.x86_64 0:5.3.28-2.mr.el6
  php53s-litespeed.x86_64 0:5.3.28-2.mr.el6
  php53s-mbstring.x86_64 0:5.3.28-2.mr.el6
  php53s-mcrypt.x86_64 0:5.3.28-2.mr.el6
  php53s-mysql.x86_64 0:5.3.28-2.mr.el6
  php53s-pdo.x86_64 0:5.3.28-2.mr.el6
  php53s-process.x86_64 0:5.3.28-2.mr.el6
  php53s-pspell.x86_64 0:5.3.28-2.mr.el6
  php53s-recode.x86_64 0:5.3.28-2.mr.el6
  php53s-snmp.x86_64 0:5.3.28-2.mr.el6
  php53s-soap.x86_64 0:5.3.28-2.mr.el6
  php53s-tidy.x86_64 0:5.3.28-2.mr.el6
  php53s-xml.x86_64 0:5.3.28-2.mr.el6
  recode.x86_64 0:3.6-28.1.el6

Complete!

THAT MADE A MESS.  Did not work.
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php53s does not really work
« Reply #13 on: 2014-02-15, 07:55:59 »
Ok, may not work.

It's work with:

1. replace php54 to php53s with 'yum replace php54 --replace-with=php53u'
2. run ORIGINAL php53s-install
3. replace php53u to php54 with 'yum replace php53s --replace-with=php54 --skip-broken'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: php53s does not really work
« Reply #14 on: 2014-02-15, 07:57:26 »
Does not work.  php54 will not install.

It will replace the modules (ie: php54-mcrypt, mysql, etc) but will skip php54 due to conflict.  So you have a real mess now.

I just ran upcp -y and got everything working again with php54.  There is a conflict in the packages.
« Last Edit: 2014-02-15, 08:01:32 by chrisf »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

 


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

Page created in 0.044 seconds with 21 queries.

web stats analysis