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. 2017-11-08, 02:13:37

Author Topic: can't change PHP Branch  (Read 1977 times)

0 Members and 1 Guest are viewing this topic.

Offline letux

  • Valuable Member
  • *
  • Posts: 129
  • Karma: +0/-0
    • View Profile
can't change PHP Branch
« on: 2015-07-24, 19:21:40 »
i have some problems after install apache 2.4
1- can't change  PHP Branch from php55u to any another version.
2- after  Enable Multiple PHP As Secondary PHP apche gave me error
Code: [Select]
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 129 of /etc/httpd/conf/httpd.conf: Syntax error on line 4 of /etc/httpd/conf.d/fcgid2.conf: Cannot load modules/mod_fcgid.so into server: /etc/httpd/modules/mod_fcgid.so: cannot open shared object file: No such file or directory
                                                           [FAILED]
when disable Multiple PHP As Secondary PHP apche gave me
Code: [Select]
Stopping httpd:                                            [FAILED]
Starting httpd: httpd (pid 1160) already running
                                                           [  OK  ]

3-  Server Alias not working on just admin account and it make php down and i don't know why.

----------------------
Code: [Select]
# sh /script/sysinfo

A. Kloxo-MR: 7.0.0.b-2015072103
   - Web: hiawatha-9.13.0-f.6.mr.el6.x86_64
   - PHP: php54s-5.4.41-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.6 (Final) x86_64
   - Hostname: mogardfkra.com
C. Services:
   1. MySQL: MariaDB-server-10.0.20-1.el6.x86_64
   2. PHP:
      - Branch: php55u-cli-5.5.27-1.ius.el6.x86_64
      - Multiple:
        * php52m-5.2.17-102.mr.el6
        * php53m-5.3.29-1.ius.el6
        * php54m-5.4.43-1.ius.el6
        * php55m-5.5.27-1.ius.el6
        * php56m-5.6.11-1.ius.el6
      - Used: --Use PHP Branch--
   3. Httpd: httpd24u-2.4.12-5.ius.el6.x86_64
      - PHP Type: php-fpm_event
   4. Lighttpd: --uninstalled--
   5. Hiawatha: --unused--
   6. Nginx: nginx-1.9.3-1.el6.ngx.x86_64
   7. Cache: --uninstalled--
   8. Dns: bind-9.9.7-1.mr.el6.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:           996        812        183          0         47        408
   -/+ buffers/cache:        357        639
   Swap:            0          0          0
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/vda1        30G  5.1G   23G  18% /


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: can't change PHP Branch
« Reply #1 on: 2015-07-25, 09:18:24 »
Delete fcgid2.conf.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline letux

  • Valuable Member
  • *
  • Posts: 129
  • Karma: +0/-0
    • View Profile
Re: can't change PHP Branch
« Reply #2 on: 2015-07-25, 14:09:32 »
after delete fcgid2.conf
Code: [Select]
# sh /script/restart-web -y

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

Stopping nginx:                                            [  OK  ]
Starting nginx:                                            [  OK  ]
-------------------------------------------------------------------

Stopping httpd:                                            [FAILED]
Starting httpd: httpd (pid 1160) already running
                                                           [  OK  ]
 

and i still can't change PHP Branch from php55u to any another version, from control panel or terminal
terminal gave me
Code: [Select]
# yum replace php55u --replace-with=php54u
Loaded plugins: fastestmirror, priorities, protectbase, replace
Replacing packages takes time, please be patient...
Error: Package 'php55u' is not installed.
 


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: can't change PHP Branch
« Reply #3 on: 2015-07-25, 14:18:17 »
Try reinstall httpd with 'yum reinstall httpd* -y; sh /script/restart-web -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline letux

  • Valuable Member
  • *
  • Posts: 129
  • Karma: +0/-0
    • View Profile
Re: can't change PHP Branch
« Reply #4 on: 2015-07-25, 14:42:58 »
(Y)
and i still can't change PHP Branch from php55u to any another version, from control panel or terminal
terminal gave me
Code: [Select]
# yum replace php55u --replace-with=php54u
Loaded plugins: fastestmirror, priorities, protectbase, replace
Replacing packages takes time, please be patient...
Error: Package 'php55u' is not installed.

php55 missing the MySQL extension
Code: [Select]
Your PHP installation appears to be missing the MySQL extension which is required by WordPress.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: can't change PHP Branch
« Reply #5 on: 2015-07-25, 16:04:14 »
Instead using 'php branch', use phpm in 'php used'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


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

Page created in 0.046 seconds with 18 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM