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-18, 04:02:32

Author Topic: pho-fpm is all wrong!!  (Read 4255 times)

0 Members and 1 Guest are viewing this topic.

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
pho-fpm is all wrong!!
« on: 2014-03-29, 02:14:47 »
Php-fpm is all messed up.  It is loading /opt/53s ini file, which makes all the modules the wrong ones for php54 or php55u.  I can't even get my sites to run properly.

I switched to suphp_event, all is working.  But, there is no way to edit php.ini because it loads per site, in /home/httpd/[domain]/php.ini

THIS IS A MESS!

The php-fpm configs are all messed up.  DO NOT TELL ME IT IS MY SERVER.  It is the recent updates to 6.5.1b.


Christopher

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

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: pho-fpm is all wrong!!
« Reply #1 on: 2014-03-29, 02:26:07 »
Base dir restrictions are not configured in suphp_event!
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: pho-fpm is all wrong!!
« Reply #2 on: 2014-03-29, 02:28:26 »
From where you know php54-fpm/php55-fpm using php.ini from php53s?. Via running 'php -v'?
..:: 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: pho-fpm is all wrong!!
« Reply #3 on: 2014-03-29, 02:29:10 »
NO

From phpinfo()

Sites online, running well under suphp_event, but you have no basedir restriction (SECURITY BUG) and no way to edit the php.ini files per domain
« Last Edit: 2014-03-29, 02:31:05 by chrisf »
Christopher

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

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: pho-fpm is all wrong!!
« Reply #4 on: 2014-03-29, 02:44:40 »
The conflict is with the modules and include directory.

It is loading from wrong dir - its loading the php53s modules!
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: pho-fpm is all wrong!!
« Reply #5 on: 2014-03-29, 03:34:25 »
It's about 'default' php think about 'PHP_INI_SCAN_DIR' (ini file for each module).
..:: 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: pho-fpm is all wrong!!
« Reply #6 on: 2014-03-29, 03:52:08 »
THINK ABOUT THIS it doesn't work!  I keep telling you that this has been an ongoing problem.  PHP-FPM is NOT working properly.

HOW TO FIX?
Christopher

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

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.029 seconds with 21 queries.

web stats analysis