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, 00:57:22

Author Topic: Is suphp okay now?  (Read 11586 times)

0 Members and 1 Guest are viewing this topic.

Offline Anik

  • Senior Member
  • *
  • Posts: 189
  • Karma: +0/-0
    • View Profile
    • http://www.feirox.com
Is suphp okay now?
« on: 2013-01-25, 22:38:42 »
Before in kloxo MR suphp was not working (about 4-5 months ago). php was giving output as the source code.
So is it now working?
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Having Kloxo-MR useful? Then support the development. Consider buying a server from the author. http://hostspectra.com

Offline Viking

  • Senior Member
  • *
  • Posts: 315
  • Karma: +0/-0
    • View Profile
Re: Is suphp okay now?
« Reply #1 on: 2013-01-25, 23:36:16 »
Quote from: "Anik"
Before in kloxo MR suphp was not working (about 4-5 months ago). php was giving output as the source code.
So is it now working?
It works
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Anik

  • Senior Member
  • *
  • Posts: 189
  • Karma: +0/-0
    • View Profile
    • http://www.feirox.com
Re: Is suphp okay now?
« Reply #2 on: 2013-01-26, 00:05:04 »
Thanks. i will try and let know here.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Having Kloxo-MR useful? Then support the development. Consider buying a server from the author. http://hostspectra.com

Offline lupetalo

  • Senior Member
  • *
  • Posts: 182
  • Karma: +0/-0
    • View Profile
Re: Is suphp okay now?
« Reply #3 on: 2013-01-30, 14:28:23 »
For me it never worked on Kloxo MR...
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Anik

  • Senior Member
  • *
  • Posts: 189
  • Karma: +0/-0
    • View Profile
    • http://www.feirox.com
Re: Is suphp okay now?
« Reply #4 on: 2013-01-30, 17:09:24 »
so how it can be fixed?
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Having Kloxo-MR useful? Then support the development. Consider buying a server from the author. http://hostspectra.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Is suphp okay now?
« Reply #5 on: 2013-01-30, 18:34:38 »
Quote from: "Anik"
so how it can be fixed?
Using suphp on 'primary php' must be disabling 'secondary php' (using suphp) first.

Suphp os very rigid related to ownership and permissions of files and dirs. Running 'sh /script/fix-chownchmod'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Anik

  • Senior Member
  • *
  • Posts: 189
  • Karma: +0/-0
    • View Profile
    • http://www.feirox.com
Re: Is suphp okay now?
« Reply #6 on: 2013-01-30, 18:43:00 »
Quote from: "MRatWork"
Using suphp on 'primary php' must be disabling 'secondary php' (using suphp) first.
I tried this trick in early version of kloxo MR but it never worked. Now i will do a full backup and then try to change back to suphp and will update about it here.

Quote from: "MRatWork"
Suphp os very rigid related to ownership and permissions of files and dirs. Running 'sh /script/fix-chownchmod'.

yes i know, but suphp is still the lightest php module i have ever got. It even worked for me on a very low end box where all others (like php-fpm) failed. So i just want to give it a try to see it now works on klos MR or not.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Having Kloxo-MR useful? Then support the development. Consider buying a server from the author. http://hostspectra.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Is suphp okay now?
« Reply #7 on: 2013-01-30, 18:52:09 »
Quote from: "Anik"
Quote from: "MRatWork"
Using suphp on 'primary php' must be disabling 'secondary php' (using suphp) first.
I tried this trick in early version of kloxo MR but it never worked. Now i will do a full backup and then try to change back to suphp and will update about it here.

Quote from: "MRatWork"
Suphp os very rigid related to ownership and permissions of files and dirs. Running 'sh /script/fix-chownchmod'.

yes i know, but suphp is still the lightest php module i have ever got. It even worked for me on a very low end box where all others (like php-fpm) failed. So i just want to give it a try to see it now works on klos MR or not.

Instead using suphp as 'primary php', why not using 'secondary php' (using suphp by default). So, you have 2 php version and 2 php-type.

Running website with suphp just modified .htaccess on website directory root.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Is suphp okay now?
« Reply #8 on: 2013-01-30, 18:58:32 »
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Anik

  • Senior Member
  • *
  • Posts: 189
  • Karma: +0/-0
    • View Profile
    • http://www.feirox.com
Re: Is suphp okay now?
« Reply #9 on: 2013-01-30, 19:05:05 »
Actually i want to use suphp because the whole last year i used it and i don't have any single problem with it.
now after changing to php-fpm (event) i get hell lot of trouble. connection reset problem, i need to restart it manually over time, 500 error, resource allocation error, config trouble etc.
So i want to have a tension free life, :) thats all.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Having Kloxo-MR useful? Then support the development. Consider buying a server from the author. http://hostspectra.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Is suphp okay now?
« Reply #10 on: 2013-01-30, 19:19:46 »
Quote from: "Anik"
Actually i want to use suphp because the whole last year i used it and i don't have any single problem with it.
now after changing to php-fpm (event) i get hell lot of trouble. connection reset problem, i need to restart it manually over time, 500 error, resource allocation error, config trouble etc.
So i want to have a tension free life, :) thats all.
Using nginx-proxy or just httpd?.

Better make a new thread about your issue and we can start again discuss about it.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Anik

  • Senior Member
  • *
  • Posts: 189
  • Karma: +0/-0
    • View Profile
    • http://www.feirox.com
Re: Is suphp okay now?
« Reply #11 on: 2013-01-30, 19:46:22 »
nginxproxy.

yes i want to create. just give me a idea about what title i will give to it.  :)
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Having Kloxo-MR useful? Then support the development. Consider buying a server from the author. http://hostspectra.com

Offline Anik

  • Senior Member
  • *
  • Posts: 189
  • Karma: +0/-0
    • View Profile
    • http://www.feirox.com
Re: Is suphp okay now?
« Reply #12 on: 2013-02-02, 14:26:14 »
just finished checking with every possible combination in latest kloxo-MR. but suphp did not worked. Still it refuses to execute the php code.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Having Kloxo-MR useful? Then support the development. Consider buying a server from the author. http://hostspectra.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Is suphp okay now?
« Reply #13 on: 2013-02-02, 15:11:43 »
Quote from: "Anik"
just finished checking with every possible combination in latest kloxo-MR. but suphp did not worked. Still it refuses to execute the php code.
Inform 'cat /var/log/httpd/suphp_log' and 'dir /etc/httpd/conf.d'.

Also inform here for 'service httpd restart'.

FYI, different approach for suphp for primary and secondary php.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Anik

  • Senior Member
  • *
  • Posts: 189
  • Karma: +0/-0
    • View Profile
    • http://www.feirox.com
Re: Is suphp okay now?
« Reply #14 on: 2013-02-02, 15:43:50 »
Code: [Select]
[root@feirox ~]# cat /var/log/httpd/suphp_log
cat: /var/log/httpd/suphp_log: No such file or directory
[root@feirox ~]# dir /etc/httpd/conf.d
README            php.nonconf     ruid2.nonconf   welcome.conf
fastcgi.nonconf   proxy_ajp.conf  ssl.conf        ~lxcenter.conf
php.conf.rpmsave  rpaf.conf       webalizer.conf
[root@feirox ~]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]

Tested with suphp_event, apache, php53u & php52
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Having Kloxo-MR useful? Then support the development. Consider buying a server from the author. http://hostspectra.com

 


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

Page created in 0.032 seconds with 23 queries.

web stats analysis