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-27, 17:54:32

Author Topic: I can't use PHP56  (Read 2607 times)

0 Members and 1 Guest are viewing this topic.

Offline zokkie

  • Junior Member
  • *
  • Posts: 34
  • Karma: +0/-0
    • View Profile
I can't use PHP56
« on: 2017-03-08, 15:14:33 »
Hi Mustafa,

Since the last update of PHP7.1 I can not change PHP through php used to php56. PHP Branch can't change also. Here is my sysinfo:

A. Control Panel:
   - Kloxo-MR: 7.0.0.c-2017030201
   - Web: hiawatha-10.5.0-f.2.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.centos6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) x86_64
   - Hostname:
C. Services:
   1. MySQL: MariaDB-server-10.0.29-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php71w-cli-7.1.2-1.w6.x86_64
        - Multiple:
          * php54m-5.4.45-1.ius.centos6
          * php55m-5.5.38-1.ius.centos6
          * php56m-5.6.30-1.ius.el6
          * php70m-7.0.16-1.ius.el6
          * php71m-7.1.2-1.ius.el6
      - Used: --PHP Branch--
      - Multiple: disable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.5.0-f.2.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.45-1.el6.x86_64
     - Nginx: nginx-1.11.10-1.el6.ngx.x86_64
     - Apache: httpd24u-2.4.25-3.ius.el6.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: off
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.7-1.mr.el6.x86_64
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el6.x86_64
      - smtp: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - spam: bogofilter-1.2.4-1.el6.x86_64
   7. Stats: webalizer
D. Memory:
             total       used       free     shared    buffers     cached
Mem:          2048       1423        624          5          0        899
-/+ buffers/cache:        524       1523
Swap:         2048          1       2046
E. Disk Space:
Filesystem      Size  Used Avail Use% Mounted on
/dev/simfs      115G  8.2G  101G   8% /

Stopping php56m-fpm (PHP Used):                            [FAILED]
Starting php56m-fpm (PHP Used): [08-Mar-2017 18:34:42] ERROR: An another FPM instance seems to already listen on /opt/configs/php-fpm/sock/php-admin.sock
[08-Mar-2017 18:34:42] ERROR: FPM initialization failed


Thanks.
« Last Edit: 2017-03-08, 18:34:51 by zokkie »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: I can't use PHP56
« Reply #1 on: 2017-03-08, 18:36:21 »
Update with 'yum clean all; yum update -y; sh /script/cleanup'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline zokkie

  • Junior Member
  • *
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Re: I can't use PHP56
« Reply #2 on: 2017-03-09, 08:15:44 »
I had to return to Apache 2.2 and problem is solved and after with 'sh /script/cleanup'.


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: I can't use PHP56
« Reply #3 on: 2017-03-09, 08:36:04 »
No different between apache 2.2 and 2.4 for handling php-fpm.

It's php-fpm issue for restart process. If found this issue, try 'pkill -9 php-fpm; sh /script/restart; sh /script/restart-web'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline zokkie

  • Junior Member
  • *
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Re: I can't use PHP56
« Reply #4 on: 2017-03-09, 10:38:37 »
OK, Mustafa. Thanks. Solved.

 


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

Page created in 0.045 seconds with 22 queries.

web stats analysis