Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    Member
    Join Date
    Jun 2006
    Posts
    52

    Default PHP 5 Handler = None

    Got a bit of an annoying problem, but my server seems to work happily regardless.

    When I go into the php handler page for changing php4 or php5 to dso/cgi etc, the default php version is blank and the PHP 5 handler just says "None", but php 5 IS working, as my sites load aok.

    I tried rebuilding apache with php, using the default options, but it didn't seem to fix it

    Any thoughts?

  2. #2
    Member
    Join Date
    May 2011
    Posts
    35

    Default Re: PHP 5 Handler = None

    What version of PHP/Apache did you choose when you rebuilt Apache?

  3. #3
    Member
    Join Date
    Jun 2006
    Posts
    52

    Default Re: PHP 5 Handler = None

    Hiya, we chose the latest one

    Server Version: Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4
    Running PHP 5.2.17

  4. #4
    Member
    Join Date
    May 2011
    Posts
    35

    Default Re: PHP 5 Handler = None

    Hmm

    What options do you have under PHP4 if any?

    Perhaps try a rebuild with a different profile, like Suhosin or something
    Taylor Nelson | Managing Director
    Phone: 1300 136 346 | Fax: 1300 136 347

  5. #5
    Member
    Join Date
    Jun 2006
    Posts
    52

    Default Re: PHP 5 Handler = None

    Heh nay, just the same drop down option as PHP 5 (None)

    The current configuration shows:

    Default PHP Version (.php files) 5
    PHP 5 Handler dso
    PHP 4 Handler none

    Apache suEXEC on

    When I check what's available via the command prompt, it shows DSO and CGI, so no idea why WHM doesn't show it.

  6. #6
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: PHP 5 Handler = None

    Can you please see if the php.ini file has an error? Issue this command in root SSH:

    Code:
    php -v
    If there is an error, it will output when you issue that or show nothing. If that happens, then move the existing php.ini file over and recreate it:

    Code:
    mv /usr/local/lib/php.ini /usr/local/lib/php.ini.bak110613
    /scripts/php.ini
    At that point, you can do a diff on the files to see what differences they have:

    Code:
    diff /usr/local/lib/php.ini /usr/local/lib/php.ini.bak110613
    Then see if the handler is showing up properly in WHM > Apache Configuration > PHP and SuExec Configuration area to select.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  7. #7
    Member boonjackmedia's Avatar
    Join Date
    Apr 2010
    Location
    Cincinnati, OH USA
    Posts
    34

    Default Re: PHP 5 Handler = None

    Back when we quit running php 4 and 5 together I noticed this too, but after looking into it there wasn't any issue.

    My WHM might display the same way yours does... not sure what you're running.



    Basically the Alter Configuration section for the Apache PHP Handler on my screenshot above displays "None", because there isn't any other option available to select.

    Hope that helps you out there.
    Mike Sayre

    Blog | Portal

  8. #8
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: PHP 5 Handler = None

    Yours shouldn't show no option available to select actually. If it were working properly, it would show DSO and any other options you've compiled into EasyApache that should be selectable (DSO is always compiled in so it should always be available for PHP). The steps I've noted would be the way to determine why the handler isn't showing any available options.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  9. #9
    Member boonjackmedia's Avatar
    Join Date
    Apr 2010
    Location
    Cincinnati, OH USA
    Posts
    34

    Default Re: PHP 5 Handler = None

    Quote Originally Posted by cPanelTristan View Post
    Yours shouldn't show no option available to select actually. If it were working properly, it would show DSO and any other options you've compiled into EasyApache that should be selectable (DSO is always compiled in so it should always be available for PHP). The steps I've noted would be the way to determine why the handler isn't showing any available options.
    Well the WHM > PHP Editor hasn't worked (can't save) since late March... we edit it manually if any changes are needed.

    I noticed these quirks all started back when we ran a EA upgrade from PHP 5.2 to PHP 5.3 at that same time. After we found our php.ini was duplicating lines over and over, so we rebuilt the php.ini using those steps above you listed, and used the PHP 5.3 references.

    I believed the PHP Editor issue related to the PHP URL Re-Writer thread... and was waiting for that to be fixed.

    Talk about a can of worms, at least everything is running smooth, but I'm afraid there's too many moving parts here for me. Could you shoot me a ticket# and help take a peek under the hood?
    Mike Sayre

    Blog | Portal

  10. #10
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: PHP 5 Handler = None

    You can definitely open up a ticket, but the PHP Configuration Editor issues should be fixed in 11.30+ versions so long as you are now running that. We cannot open up a ticket via the forums for users, so the method to open a ticket would be simply to go to WHM > Support Center > Contact cPanel or using the link in my signature.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  11. #11
    Member boonjackmedia's Avatar
    Join Date
    Apr 2010
    Location
    Cincinnati, OH USA
    Posts
    34

    Default Re: PHP 5 Handler = None

    Ok, thanks Tristan. I'll open a ticket, we're running 11.30 build 32.
    Mike Sayre

    Blog | Portal

Similar Threads & Tags
Similar threads

  1. changing php handler from suPHP to FCGi gives permission problem
    By tombathgate in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-16-2012, 03:51 AM
  2. PHP 5 handler shows as None
    By hostnex in forum Security
    Replies: 7
    Last Post: 04-11-2011, 02:12 PM
  3. custom php.ini with php handler set as cgi
    By johny_gjx in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-16-2009, 03:54 AM
  4. best php handler
    By tomdchi in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-20-2008, 01:54 PM
  5. Problem with PHP: "Cannot find save handler files"
    By amaltemara in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-03-2008, 06:16 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube