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-19, 13:01:08

Author Topic: php versions  (Read 8286 times)

0 Members and 1 Guest are viewing this topic.

Offline labpros

  • Valuable Member
  • *
  • Posts: 62
  • Karma: +0/-0
    • View Profile
php versions
« on: 2014-01-30, 02:28:17 »
Hi Mustafa,
the only php version that works for me is the php 5.3.27,
do i have to do somethnig else?


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php versions
« Reply #1 on: 2014-01-30, 02:32:46 »
Try run 'yum clean all; yum replace php53u --replace-with=php54' (with assumption current php-branch is php53u and want to php54).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline labpros

  • Valuable Member
  • *
  • Posts: 62
  • Karma: +0/-0
    • View Profile
Re: php versions
« Reply #2 on: 2014-01-30, 02:46:43 »
same, it doesn't work

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php versions
« Reply #3 on: 2014-01-30, 02:50:54 »
Look like package conflict in your vps.

Try running 'php53u --replace-with=php54' and inform here what you see.

Also inform here 'sh /script/sysinfo'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline labpros

  • Valuable Member
  • *
  • Posts: 62
  • Karma: +0/-0
    • View Profile
Re: php versions
« Reply #4 on: 2014-01-30, 03:06:58 »
The first command looks like installation of php 5.4 was right
and the

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

A. Kloxo-MR: 6.5.0.f-2014011001

B. OS: CentOS release 6.5 (Final) x86_64

C. Apps:
   1. MySQL: mysql-5.5.34-1.el6.x86_64
   2. PHP: php54-5.4.24-1.ius.el6.x86_64
   3. Httpd: httpd-2.2.26-1.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Nginx: --uninstalled--
   6. Qmail: qmail-toaster-1.03-1.3.34.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.14.mr.el6.x86_64
   7. Dns: bind-9.9.4-1.P2.el6.x86_64

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

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          2048       1791        256          0          0       1265
   -/+ buffers/cache:        525       1522
   Swap:         2048         82       1965

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php versions
« Reply #5 on: 2014-01-30, 03:23:20 »
What's reason to use suphp as php-type. Why not others.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline labpros

  • Valuable Member
  • *
  • Posts: 62
  • Karma: +0/-0
    • View Profile
Re: php versions
« Reply #6 on: 2014-01-30, 13:27:08 »
i have try other php types and still not working

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php versions
« Reply #7 on: 2014-01-30, 13:43:50 »
Try using php-fpm_event and then from ssh running 'sh /script/fixweb; sh /script/restart-web'.

Inform here what's you see.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline labpros

  • Valuable Member
  • *
  • Posts: 62
  • Karma: +0/-0
    • View Profile
Re: php versions
« Reply #8 on: 2014-01-30, 13:57:30 »
same, not working, only 5.3.27 is working for me

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php versions
« Reply #9 on: 2014-01-30, 14:06:18 »
Inform here what's you see when running 'sh /script/fixweb; sh /script/restart-web'.

Talking like 'same, not working, only 5.3.27 is working for me' not clear.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline labpros

  • Valuable Member
  • *
  • Posts: 62
  • Karma: +0/-0
    • View Profile
Re: php versions
« Reply #10 on: 2014-01-30, 14:31:38 »
Ok, now my configuration is php 5.3.27 and suphp

sh /script/fixweb returns

- For help, type '/script/fixweb --help'
- No argument supplied. Defaulting to localhost (master) servers

Fixing Web server config
- 'defaults' and 'php-fpm' at 'localhost'
- 'mydomain1.com' ('domain1') at 'localhost'
...
...
...

and
sh /script/restart-web returns

Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]




Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php versions
« Reply #11 on: 2014-01-30, 14:34:35 »
Ok. Switch to lighttpd and then switch back to apache. Also the trick for php-branch.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline labpros

  • Valuable Member
  • *
  • Posts: 62
  • Karma: +0/-0
    • View Profile
Re: php versions
« Reply #12 on: 2014-01-30, 17:17:13 »
php branch: 5.4
php type:fpm_event

i do
yum clean all; yum replace php54 --replace-with=php54
then
sh /script/fixweb; sh /script/restart-web
then
change to lighttdp and then to apache
and then again
sh /script/fixweb; sh /script/restart-web
and still not working.

Mustafa thanks for you help,
i am ok with php 5.3 i just wanted to inform you that in my system works only php 5.3.27





Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php versions
« Reply #13 on: 2014-01-30, 17:32:13 »
What about 'yum clean all; yum update'?. All update process running well?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline labpros

  • Valuable Member
  • *
  • Posts: 62
  • Karma: +0/-0
    • View Profile
Re: php versions
« Reply #14 on: 2014-01-30, 17:42:08 »
these are the results from

yum clean all; yum update

with php 5.3 on system


Code: [Select]
[root@vps ~]# yum clean all; yum update
Loaded plugins: fastestmirror, priorities, protectbase, replace
Cleaning repos: base extras mratwork-centalt mratwork-epel mratwork-ius
              : mratwork-ius-c5 mratwork-litespeed mratwork-litespeed-update
              : mratwork-release-neutral-arch mratwork-release-neutral-noarch
              : mratwork-release-version-arch mratwork-release-version-noarch
              : mratwork-varnish-3.0 updates vz-base vz-updates
Cleaning up Everything
Cleaning up list of fastest mirrors
Loaded plugins: fastestmirror, priorities, protectbase, replace
Determining fastest mirrors
 * base: mirror.proserve.nl
 * extras: ftp.nluug.nl
 * mratwork-epel: mirror.proserve.nl
 * mratwork-ius: ius.cu.be
 * updates: mirror.widexs.nl
base                                                     | 3.7 kB     00:00
base/primary_db                                          | 4.4 MB     00:00
extras                                                   | 3.4 kB     00:00
extras/primary_db                                        |  19 kB     00:00
mratwork-centalt                                         |  951 B     00:00
mratwork-centalt/primary                                 |  86 kB     00:00
mratwork-centalt                                                        269/269
mratwork-epel                                            | 4.2 kB     00:00
mratwork-epel/primary_db                                 | 5.9 MB     00:00
mratwork-ius                                             | 2.1 kB     00:00
mratwork-ius/primary_db                                  | 130 kB     00:00
mratwork-ius-c5                                          | 2.1 kB     00:00
mratwork-ius-c5/primary_db                               | 427 kB     00:00
mratwork-litespeed                                       |  951 B     00:00
mratwork-litespeed/primary                               |  35 kB     00:00
mratwork-litespeed                                                      179/179
mratwork-litespeed-update                                |  951 B     00:00
mratwork-litespeed-update/primary                        |  19 kB     00:00
mratwork-litespeed-update                                                 89/89
mratwork-release-neutral-arch                            |  951 B     00:00
mratwork-release-neutral-arch/primary                    |  856 B     00:00
mratwork-release-neutral-arch                                               1/1
mratwork-release-neutral-noarch                          |  951 B     00:00
mratwork-release-neutral-noarch/primary                  |  15 kB     00:00
mratwork-release-neutral-noarch                                           40/40
mratwork-release-version-arch                            |  951 B     00:00
mratwork-release-version-arch/primary                    |  44 kB     00:00
mratwork-release-version-arch                                             88/88
mratwork-release-version-noarch                          |  951 B     00:00
mratwork-release-version-noarch/primary                  |  957 B     00:00
mratwork-release-version-noarch                                             1/1
mratwork-varnish-3.0                                     |  951 B     00:00
mratwork-varnish-3.0/primary                             | 6.5 kB     00:00
mratwork-varnish-3.0                                                      22/22
updates                                                  | 3.4 kB     00:00
updates/primary_db                                       | 1.4 MB     00:00
vz-base                                                  |  951 B     00:00
vz-base/primary                                          | 1.3 kB     00:00
vz-base                                                                     3/3
vz-updates                                               |  951 B     00:00
vz-updates/primary                                       | 1.7 kB     00:00
vz-updates                                                                  4/4
0 packages excluded due to repository protections
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package apr.x86_64 0:1.3.9-5.el6_2 will be updated
---> Package apr.x86_64 0:1.4.8-1.mr.el6 will be an update
---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be updated
---> Package apr-util.x86_64 0:1.5.2-1.mr.el6 will be an update
---> Package apr-util-ldap.x86_64 0:1.3.9-3.el6_0.1 will be updated
---> Package apr-util-ldap.x86_64 0:1.5.2-1.mr.el6 will be an update
---> Package kloxomr.noarch 0:6.5.0.f-2014011001.mr will be updated
---> Package kloxomr.noarch 0:6.5.0.f-2014013001.mr will be an update
---> Package libxml2.i686 0:2.7.6-14.el6 will be updated
---> Package libxml2.x86_64 0:2.7.6-14.el6 will be updated
---> Package libxml2.i686 0:2.9.1-1.mr.el6 will be an update
---> Package libxml2.x86_64 0:2.9.1-1.mr.el6 will be an update
---> Package p11-kit.x86_64 0:0.18.5-2.el6 will be updated
---> Package p11-kit.x86_64 0:0.18.5-2.el6_5.2 will be an update
---> Package p11-kit-trust.x86_64 0:0.18.5-2.el6 will be updated
---> Package p11-kit-trust.x86_64 0:0.18.5-2.el6_5.2 will be an update
---> Package qmail-pop3d-toaster.x86_64 0:1.03-1.3.34.mr.el6 will be updated
---> Package qmail-pop3d-toaster.x86_64 0:1.03-1.3.35.mr.el6 will be an update
---> Package qmail-toaster.x86_64 0:1.03-1.3.34.mr.el6 will be updated
---> Package qmail-toaster.x86_64 0:1.03-1.3.35.mr.el6 will be an update
---> Package tzdata.noarch 0:2013i-1.el6 will be updated
---> Package tzdata.noarch 0:2013i-2.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package       Arch   Version             Repository                       Size
================================================================================
Updating:
 apr           x86_64 1.4.8-1.mr.el6      mratwork-release-version-arch    85 k
 apr-util      x86_64 1.5.2-1.mr.el6      mratwork-release-version-arch    76 k
 apr-util-ldap x86_64 1.5.2-1.mr.el6      mratwork-release-version-arch   9.0 k
 kloxomr       noarch 6.5.0.f-2014013001.mr
                                          mratwork-release-neutral-noarch 6.2 M
 libxml2       i686   2.9.1-1.mr.el6      mratwork-release-version-arch   611 k
 libxml2       x86_64 2.9.1-1.mr.el6      mratwork-release-version-arch   609 k
 p11-kit       x86_64 0.18.5-2.el6_5.2    updates                          94 k
 p11-kit-trust x86_64 0.18.5-2.el6_5.2    updates                          71 k
 qmail-pop3d-toaster
               x86_64 1.03-1.3.35.mr.el6  mratwork-release-version-arch    37 k
 qmail-toaster x86_64 1.03-1.3.35.mr.el6  mratwork-release-version-arch   691 k
 tzdata        noarch 2013i-2.el6         updates                         448 k

Transaction Summary
================================================================================
Upgrade      11 Package(s)

Total download size: 8.9 M
Is this ok [y/N]: y
Downloading Packages:
(1/11): apr-1.4.8-1.mr.el6.x86_64.rpm                    |  85 kB     00:00
(2/11): apr-util-1.5.2-1.mr.el6.x86_64.rpm               |  76 kB     00:00
(3/11): apr-util-ldap-1.5.2-1.mr.el6.x86_64.rpm          | 9.0 kB     00:00
(4/11): kloxomr-6.5.0.f-2014013001.mr.noarch.rpm         | 6.2 MB     00:00
(5/11): libxml2-2.9.1-1.mr.el6.i686.rpm                  | 611 kB     00:00
(6/11): libxml2-2.9.1-1.mr.el6.x86_64.rpm                | 609 kB     00:00
(7/11): p11-kit-0.18.5-2.el6_5.2.x86_64.rpm              |  94 kB     00:00
(8/11): p11-kit-trust-0.18.5-2.el6_5.2.x86_64.rpm        |  71 kB     00:00
(9/11): qmail-pop3d-toaster-1.03-1.3.35.mr.el6.x86_64.rp |  37 kB     00:00
(10/11): qmail-toaster-1.03-1.3.35.mr.el6.x86_64.rpm     | 691 kB     00:00
(11/11): tzdata-2013i-2.el6.noarch.rpm                   | 448 kB     00:00
--------------------------------------------------------------------------------
Total                                           2.7 MB/s | 8.9 MB     00:03
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   : p11-kit-0.18.5-2.el6_5.2.x86_64                             1/22
  Updating   : qmail-toaster-1.03-1.3.35.mr.el6.x86_64                     2/22
 Adding qmailtoaster users and groups.
groupadd: group 'nofiles' already exists
groupadd: group 'qmail' already exists
 Creating queue/lock/trigger named pipe.
 Compiling badmimetypes.
 Compiling badloadertypes.
 Making tlsserverciphers.
 Linking tlsserverciphers to tlsclientciphers.
 Making dh_keys.
Generating RSA private key, 512 bit long modulus
............++++++++++++
....++++++++++++
e is 65537 (0x10001)
Generating DH parameters, 512 bit long safe prime, generator 2
This is going to take a long time
...................................++*++*++*++*++*++*
Generating DH parameters, 1024 bit long safe prime, generator 2
This is going to take a long time
............................................................................................+........................................+..........+.........................................................+.......................................................+................................................................................+................................................+.............+.......++*++*++*
  Updating   : apr-1.4.8-1.mr.el6.x86_64                                   3/22
  Updating   : apr-util-1.5.2-1.mr.el6.x86_64                              4/22
  Updating   : apr-util-ldap-1.5.2-1.mr.el6.x86_64                         5/22
  Updating   : qmail-pop3d-toaster-1.03-1.3.35.mr.el6.x86_64               6/22
  Updating   : p11-kit-trust-0.18.5-2.el6_5.2.x86_64                       7/22
  Updating   : libxml2-2.9.1-1.mr.el6.x86_64                               8/22
  Updating   : tzdata-2013i-2.el6.noarch                                   9/22
  Updating   : libxml2-2.9.1-1.mr.el6.i686                                10/22
  Updating   : kloxomr-6.5.0.f-2014013001.mr.noarch                       11/22

 _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
 _/                                                                          _/
 _/  ..:: Kloxo-MR Web Panel ::..                                            _/
 _/                                                                          _/
 _/  Attention:                                                              _/
 _/                                                                          _/
 _/  Run 'sh /script/cleanup' for to make sure running well                  _/
 _/  or 'sh /script/cleanup-simple' (cleanup without fix services configs)   _/
 _/                                                                          _/
 _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

  Cleanup    : p11-kit-trust-0.18.5-2.el6.x86_64                          12/22
  Cleanup    : apr-util-ldap-1.3.9-3.el6_0.1.x86_64                       13/22
  Cleanup    : apr-util-1.3.9-3.el6_0.1.x86_64                            14/22
  Cleanup    : qmail-pop3d-toaster-1.03-1.3.34.mr.el6.x86_64              15/22
  Cleanup    : libxml2-2.7.6-14.el6                                       16/22
  Cleanup    : kloxomr-6.5.0.f-2014011001.mr.noarch                       17/22
  Cleanup    : tzdata-2013i-1.el6.noarch                                  18/22
  Cleanup    : qmail-toaster-1.03-1.3.34.mr.el6.x86_64                    19/22
  Cleanup    : apr-1.3.9-5.el6_2.x86_64                                   20/22
  Cleanup    : p11-kit-0.18.5-2.el6.x86_64                                21/22
  Cleanup    : libxml2-2.7.6-14.el6                                       22/22
  Verifying  : apr-util-1.5.2-1.mr.el6.x86_64                              1/22
  Verifying  : qmail-pop3d-toaster-1.03-1.3.35.mr.el6.x86_64               2/22
  Verifying  : tzdata-2013i-2.el6.noarch                                   3/22
  Verifying  : libxml2-2.9.1-1.mr.el6.x86_64                               4/22
  Verifying  : apr-1.4.8-1.mr.el6.x86_64                                   5/22
  Verifying  : apr-util-ldap-1.5.2-1.mr.el6.x86_64                         6/22
  Verifying  : kloxomr-6.5.0.f-2014013001.mr.noarch                        7/22
  Verifying  : libxml2-2.9.1-1.mr.el6.i686                                 8/22
  Verifying  : qmail-toaster-1.03-1.3.35.mr.el6.x86_64                     9/22
  Verifying  : p11-kit-0.18.5-2.el6_5.2.x86_64                            10/22
  Verifying  : p11-kit-trust-0.18.5-2.el6_5.2.x86_64                      11/22
  Verifying  : apr-util-ldap-1.3.9-3.el6_0.1.x86_64                       12/22
  Verifying  : p11-kit-trust-0.18.5-2.el6.x86_64                          13/22
  Verifying  : kloxomr-6.5.0.f-2014011001.mr.noarch                       14/22
  Verifying  : apr-util-1.3.9-3.el6_0.1.x86_64                            15/22
  Verifying  : tzdata-2013i-1.el6.noarch                                  16/22
  Verifying  : p11-kit-0.18.5-2.el6.x86_64                                17/22
  Verifying  : apr-1.3.9-5.el6_2.x86_64                                   18/22
  Verifying  : libxml2-2.7.6-14.el6.x86_64                                19/22
  Verifying  : qmail-toaster-1.03-1.3.34.mr.el6.x86_64                    20/22
  Verifying  : libxml2-2.7.6-14.el6.i686                                  21/22
  Verifying  : qmail-pop3d-toaster-1.03-1.3.34.mr.el6.x86_64              22/22

Updated:
  apr.x86_64 0:1.4.8-1.mr.el6
  apr-util.x86_64 0:1.5.2-1.mr.el6
  apr-util-ldap.x86_64 0:1.5.2-1.mr.el6
  kloxomr.noarch 0:6.5.0.f-2014013001.mr
  libxml2.i686 0:2.9.1-1.mr.el6
  libxml2.x86_64 0:2.9.1-1.mr.el6
  p11-kit.x86_64 0:0.18.5-2.el6_5.2
  p11-kit-trust.x86_64 0:0.18.5-2.el6_5.2
  qmail-pop3d-toaster.x86_64 0:1.03-1.3.35.mr.el6
  qmail-toaster.x86_64 0:1.03-1.3.35.mr.el6
  tzdata.noarch 0:2013i-2.el6

Complete!

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.051 seconds with 22 queries.

web stats analysis