Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Sep 2001
    Posts
    75

    Question need help after easyapache update

    I ran the easyapache (selected option 2) last night.

    This morning one of my customers calls that his scripts are not working. Specifically the $PHP_AUTH_USER and $PHP_AUTH_PW variables.

    I am also getting a warning on one of my osCommerce sites since the update: Warning: I am able to write to the configuration file: /home/supprod/public_html/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

    Can someone point me in the right direction?

  2. #2
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default Re: need help after easyapache update

    Originally posted by ladydi711
    I ran the easyapache (selected option 2) last night.

    This morning one of my customers calls that his scripts are not working. Specifically the $PHP_AUTH_USER and $PHP_AUTH_PW variables.

    I am also getting a warning on one of my osCommerce sites since the update: Warning: I am able to write to the configuration file: /home/supprod/public_html/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

    Can someone point me in the right direction?
    Did you try to manually select the php modules and compile it ??
    :: Anand ::

    ssh root@
    who the hell is root ???

    Cpanelappz Support Forums are up now. Register Today
    http://forums.cpanelappz.com

    WHM/cPanel API : http://whmapi.cpanelappz.com
    Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
    Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com

  3. #3
    Member
    Join Date
    Sep 2001
    Posts
    75

    Default

    For now I've re-run easyapache and used option 1 (no phpsuexec). It seems that phpsuexec is the "problem", but I do not have enough experience to fully understand why.

    At some point I would like to re-visit this... but it makes me a bit gun-shy about updates

  4. #4
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Originally posted by ladydi711
    For now I've re-run easyapache and used option 1 (no phpsuexec). It seems that phpsuexec is the "problem", but I do not have enough experience to fully understand why.

    At some point I would like to re-visit this... but it makes me a bit gun-shy about updates
    Well there have been times when phpsuexec has broken scripts. As i know phpsuexec is not 100% compatible with all scripts.

    Probably you should hire someone else to do it for you and meanwhile check on that script's forums/ support where things went wrong.
    :: Anand ::

    ssh root@
    who the hell is root ???

    Cpanelappz Support Forums are up now. Register Today
    http://forums.cpanelappz.com

    WHM/cPanel API : http://whmapi.cpanelappz.com
    Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
    Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Aug 2001
    Posts
    443

    Default

    I am also getting a warning on one of my osCommerce sites since the update: Warning: I am able to write to the configuration file: /home/supprod/public_html/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.
    Once you enable phpsuexec, scripting issues of this nature are the same as dealing with any CGI script. The permissions (and ownership) must be set properly. The above message likely means that the config script is probably 777 or 644, and needs to be reset so that only the script owner can write to it. This avoids the potential for abuse of the config and disruption of the site (or server).

    That said, phpsuexec is not for everyone, and can be a headache to deal with post-enabling. If you're going that route, you should plan it well in advance, have some ready-made answers available for certain types of issues (people who use php overrides in their .htaccess files will need to switch to php.ini, for instance), and be ready to deal with things that break afterwards - since something always breaks, usually due to permissions/ownership needing to be changed.
    Annette
    Hosting Matters, Inc.
    http://www.hostmatters.com

  6. #6
    Member Nico's Avatar
    Join Date
    Dec 2001
    Location
    Edmond, OK
    Posts
    233

    Default

    The latest Apache update killed httpd on our server today.

    pid file /usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

    Config test shows no errors - reboot did not change and a recompile from SSH and WHM both result in httpd not starting.

    Any ideas?

  7. #7
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Aug 2001
    Posts
    443

    Default

    What does tailing /usr/local/apache/logs/error_log show when you restart apache and try to access a site on the server? The unclean shutdown item is fairly common on cPanel servers and in itself is not indicative of a problem with apache per se.
    Annette
    Hosting Matters, Inc.
    http://www.hostmatters.com

  8. #8
    Member Nico's Avatar
    Join Date
    Dec 2001
    Location
    Edmond, OK
    Posts
    233

    Default

    It's fixed now. That's all it showed in the error_log... A recompile from expert mode got it going. Thanks to Adam Wien with Cpanel support.

  9. #9
    Member
    Join Date
    Sep 2001
    Posts
    75

    Default

    Originally posted by anand
    Well there have been times when phpsuexec has broken scripts. As i know phpsuexec is not 100% compatible with all scripts.

    Probably you should hire someone else to do it for you and meanwhile check on that script's forums/ support where things went wrong.
    Thanks for all comments on this. I did find the osCommerce problem; that was an easy permissions issue to find.

    The $PHP_AUTH_USER and $PHP_AUTH_PW variables being blank is one I couldn't figure. It is a custom app (by my customer!) so he is the only "forum" support. Removing phpsuexec made it all better

    But now, acording to my glaring red WHM, it looks like I need to do another easyapache update!

    Thanks again,
    Diane

Similar Threads & Tags
Similar threads

  1. EasyApache Update Problem
    By OscarWilde in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-05-2011, 03:22 AM
  2. error when update using easyapache (Apache Update)
    By izwan00 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-07-2008, 06:25 PM
  3. Problems after easyapache update
    By pglock in forum New User Questions
    Replies: 2
    Last Post: 02-13-2008, 09:57 AM
  4. easyapache crashes during update
    By RobM in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-30-2007, 09:34 AM
  5. easyapache needs update for new flags
    By websnail.net in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-14-2007, 07:02 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube