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-07, 19:21:35

Author Topic: php54s conflicts with main php  (Read 1690 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
php54s conflicts with main php
« on: 2016-04-08, 14:17:21 »
It changes my /etc/php.ini to something else:

Quote
<tr><td class="e">Configuration File (php.ini) Path </td><td class="v">/etc </td></tr> <tr><td class="e">Loaded Configuration File </td><td class="v">/opt/php54s/custom/php.ini </td></tr> <h1>Configuration</h1>

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php54s conflicts with main php
« Reply #1 on: 2016-04-08, 14:31:44 »
I didn't found this issue.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: php54s conflicts with main php
« Reply #2 on: 2016-04-09, 15:57:38 »
It happens almost every day. It seems /opt/php54s/ is using EXPORT for php.ini path which affects all php versions.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php54s conflicts with main php
« Reply #3 on: 2016-04-10, 00:02:58 »
Find out /opt/phpXYz/custom/*.sh
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php54s conflicts with main php
« Reply #4 on: 2016-04-10, 00:15:30 »
Look like something wrong with wddx itself. Rename /opt/php54s/etc/php.d/wddx.ini to wddx.nonini and then restart Kloxo panel will be fix this issue.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: php54s conflicts with main php
« Reply #5 on: 2016-04-10, 20:40:31 »
Look like something wrong with wddx itself. Rename /opt/php54s/etc/php.d/wddx.ini to wddx.nonini and then restart Kloxo panel will be fix this issue.

cat /opt/php54s/custom/*.sh
#!/bin/sh

php_rc="/opt/php54s/custom/php.ini"
php_scan='/opt/php54s/etc/php.d'
php_prog='/opt/php54s/usr/bin/php-cgi'

export PHPRC=$php_rc
#export PHP_INI_SCAN_DIR=$php_scan

exec $php_prog -c $php_rc $*#!/bin/sh

php_rc='/opt/php54s/custom/php.ini'
php_scan='/opt/php54s/etc/php.d'
php_prog='/opt/php54s/usr/bin/php'

export PHPRC=$php_rc
#export PHP_INI_SCAN_DIR=$php_scan

exec $php_prog -c $php_rc $*#!/bin/sh

php_rc='/opt/php54s/custom/php.ini'
php_scan='/opt/php54s/etc/php.d'
php_prog='/opt/php54s/usr/sbin/php-fpm'

export PHPRC=$php_rc
#export PHP_INI_SCAN_DIR=$php_scan

exec $php_prog -c $php_rc $*#!/bin/sh

php_rc="/opt/php54s/custom/php.ini"
php_scan='/opt/php54s/etc/php.d'
php_prog='/opt/php54s/usr/bin/php-ls'

#export PHPRC=$php_rc
#export PHP_INI_SCAN_DIR=$php_scan

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: php54s conflicts with main php
« Reply #6 on: 2016-04-10, 20:41:40 »
Still nothing:

[root@onlinecity php54s]# mv /opt/php54s/etc/php.d/wddx.ini wddx.noini
[root@onlinecity php54s]# /etc/init.d/kloxo restart
Failed loading opcache.so:  opcache.so: cannot open shared object file: No such file or directory
* kloxo-phpcgi ('php54s' in 'cgi' mode): No need to start
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php54s conflicts with main php
« Reply #7 on: 2016-04-10, 20:54:44 »
Again, no issue in all my servers.

Can you use php from ius and webtatic instead remi in 'php branch' and 'multiple phps'?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: php54s conflicts with main php
« Reply #8 on: 2016-04-12, 19:47:08 »
Again, no issue in all my servers.

Can you use php from ius and webtatic instead remi in 'php branch' and 'multiple phps'?.

No, remi is always having the most up to date packages.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php54s conflicts with main php
« Reply #9 on: 2016-04-13, 00:16:07 »
There are something wrong wddx in php 5.4 and this bug no resolved until EOL. So rename wddx.ini in /opt/php54s/etc/php.d and /opt/php54m/etc/php.d
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: php54s conflicts with main php
« Reply #10 on: 2016-04-14, 12:04:28 »
wddx is not related to opcache

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php54s conflicts with main php
« Reply #11 on: 2016-04-14, 12:10:45 »
Opcache must be with 'zend_extension=/opt/php54m/usr/lib64/php/modules/opcache.so' for php54m. Adjustment for others.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: php54s conflicts with main php
« Reply #12 on: 2016-04-16, 18:27:12 »
It's like this already.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: php54s conflicts with main php
« Reply #13 on: 2016-04-16, 18:30:20 »
I've moved opcache.so from php54s to php70m and it works perfectly ;)

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.037 seconds with 16 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM