Page 1 of 2 12 LastLast
Results 1 to 15 of 24

Thread: Unregistering php

  1. #1
    Registered User
    Join Date
    Feb 2012
    Posts
    4
    cPanel/WHM Access Level

    Root Administrator

    Default Unregistering php

    hi, got this weird problem, php is both enabled in admin and on web owner account , now ive registered php with php manager, it works 100% but after 24H enkompass unregister the php for the site?

  2. #2
    Registered Member TGxANAHEiiMx's Avatar
    Join Date
    Dec 2011
    Location
    Wichita, KS
    Posts
    23
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Unregistering php

    I am having the same problem. I am able to change the PHP version in IIS settings in Server Manager, but like you said it reverts back. Reading about how Enkompass interacts with IIS and overwriting the applicationHost.config, however, I am unable to locate the enko_applicationhost.config which is what they recommend changing...

  3. #3
    cPanel Staff cPanelSalinas's Avatar
    Join Date
    Feb 2009
    Posts
    751

    Default Re: Unregistering php

    The enko_applicationhost.config is no longer implemented, starting with 2.4.0.13.

    You can drop additional PHP versions to this location, "C:\iis_config\PHP\". Enkompass will detect the php-cgi.exe file. You can then select a global version in SAI, or configure it by site in WSO.

    Setting the version directly in IIS Manager is not supported.

  4. #4
    Registered Member TGxANAHEiiMx's Avatar
    Join Date
    Dec 2011
    Location
    Wichita, KS
    Posts
    23
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Unregistering php

    Salinas,

    Thanks for your quick reply! I realize that changing the settings directly in IIS is not supported, however, one detail in your reply is interesting to me. You have a path of "C:\iis_config\PHP", for me the iis_config is on a share so it is a unc path. (\\servername\share\iisconfig). Enkompass is picking up the PHP versions I have there but when I navigate to the site it says, "Your PHP installation appears to be missing the MySQL extension which is required by WordPress." I have checked the php.ini and mysql is enabled. Could this be part of the issue? Thanks again!!!

  5. #5
    cPanel Staff cPanelSalinas's Avatar
    Join Date
    Feb 2009
    Posts
    751

    Default Re: Unregistering php

    Yes, that's correct, it should be a UNC path. Sorry about that!

    If you drop in a phpinfo page, does everything look correct?

  6. #6
    Registered Member TGxANAHEiiMx's Avatar
    Join Date
    Dec 2011
    Location
    Wichita, KS
    Posts
    23
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Unregistering php

    Sorry for the delayed reply! I will try that now...

  7. #7
    Registered Member TGxANAHEiiMx's Avatar
    Join Date
    Dec 2011
    Location
    Wichita, KS
    Posts
    23
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Unregistering php

    Salinas,

    So the info.php does not reveal much, which could be the problem...below is the only module for MySQL. I threw in the Additional Modules as well. This is weird because I have them enabled in the php.ini. Any ideas..? Thanks again Salinas! You guys are awesome!!!

    Unregistering php-snip1.png

    Unregistering php-snip2.png

  8. #8
    cPanel Staff cPanelSalinas's Avatar
    Join Date
    Feb 2009
    Posts
    751

    Default Re: Unregistering php

    Do you have the link to PHP version you are trying to implement (I'm assuming you obtained it from php.net)?

  9. #9
    Registered Member TGxANAHEiiMx's Avatar
    Join Date
    Dec 2011
    Location
    Wichita, KS
    Posts
    23
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Unregistering php

    Quote Originally Posted by cPanelSalinas View Post
    Do you have the link to PHP version you are trying to implement (I'm assuming you obtained it from php.net)?

    http://windows.php.net/downloads/rel...32-VC9-x86.msi

  10. #10
    cPanel Staff cPanelSalinas's Avatar
    Join Date
    Feb 2009
    Posts
    751

    Default Re: Unregistering php

    Make sure this line is uncommented:

    ;extension_dir = "ext"

    Then restart IIS.

  11. #11
    Registered Member TGxANAHEiiMx's Avatar
    Join Date
    Dec 2011
    Location
    Wichita, KS
    Posts
    23
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Unregistering php

    It is uncommented, rebooted, same...just pm'd you the url if you want to look...thanks!

  12. #12
    cPanel Staff cPanelSalinas's Avatar
    Join Date
    Feb 2009
    Posts
    751

    Default Re: Unregistering php

    Okay, try this. Remove PHP 5.3.10 from Programs & Features. Grab the zip file from php.net;

    http://windows.php.net/downloads/rel...32-VC9-x86.zip

    Extract to \\SERVER\iis_config\PHP, update the php.ini file, and then restart IIS.

  13. #13
    Registered Member TGxANAHEiiMx's Avatar
    Join Date
    Dec 2011
    Location
    Wichita, KS
    Posts
    23
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Unregistering php

    Same...(sigh)...question: \\SERVER\iis_config\PHP, do you mean at the root of the local HDD? Currently it is on a shared drive...

  14. #14
    cPanel Staff cPanelSalinas's Avatar
    Join Date
    Feb 2009
    Posts
    751

    Default Re: Unregistering php

    Your setup looks fine. Did you uncomment this section?

    ; On windows:
    ; extension_dir = "ext"

  15. #15
    cPanel Staff cPanelSalinas's Avatar
    Join Date
    Feb 2009
    Posts
    751

    Default Re: Unregistering php

    And you uncommented the actual extensions?

Page 1 of 2 12 LastLast

Similar Threads

  1. Individual php.ini files for PHP FCGI and PHP CGI
    By Miraenda in forum cPanel & WHM Discussions
    Replies: 12
    Last Post: 07-08-2014, 11:15 AM
  2. Replies: 1
    Last Post: 04-06-2014, 09:35 AM
  3. PHP Handler: None and Default PHP Version (.php files) is empty - PHP 5.4.4
    By Brunomiova in forum cPanel & WHM Discussions
    Replies: 17
    Last Post: 08-12-2013, 03:31 PM
  4. Replies: 4
    Last Post: 05-10-2013, 02:07 AM
  5. php safe_mode on and /usr/lib/php/DB.php error
    By naox in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 10-09-2005, 05:49 PM
bargain