Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default 444 perm on configure.php required after cpanel upgrade

    Hi,

    Running Zen Cart 1.3.7.1. Everything working well.

    Then webhost upgraded cpanel (to v.11.17) including migration from Apache 1.3x to Apache 2.26 and upgrade to PHP 5.2.5.

    Immediately after the upgrade an error flag displayed in header of all Zen Cart store front pages, reporting configure file has write permissions enabled.

    No error displayed before to the cpanel/Apache/PHP upgrade.

    Error displayed:

    Error: Warning: I am able to write to the configuration file:
    /home/account/public_html/shop/includes/configure.php.
    This is apotential security risk - please set the right user
    permissions on this file (read-only, CHMOD 644 or 444 are typical).
    You may need to use your webhost control panel/file-manager to
    change the permissions effectively. Contact your webhost for assistance.
    I checked via FTP and permissions were indeed same as previous. (644). I reset again to 644 to make sure. But ZC still showed error flag.

    However shop worked just fine.

    So I set perms to 444 as error message recommended and error message went away.

    So my question is, what specifically changed in the system configuration to cause Zen Cart to now throw up the error message?

    That is why was ZC previously ok with 644, but now in order to remove error message 444 is required. If 644 was not correct why would that error not have been reported previously. Yet ZC works fine with either permission setting.

    I'm suspect it's an Apache 2.2x / PHP5.2x related. Just trying to gain a better understanding of mechanisms involved.

    Thanks for any insight.

    Woody

  2. #2
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: 444 perm on configure.php required after cpanel upgrade

    Check to see if suphp was enabled when the upgrade to php5 was made,

  3. #3
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: 444 perm on configure.php required after cpanel upgrade

    Bingo. That was it Merlin. Thanks.

    Now I need to study up on suphp and suhosin.

    When does the need for continuing education stop in this business? ;-)

 

 

Similar Threads

  1. Change permission of Includes/Configure.php from 444 to 644.
    By anticobello in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 6 Jun 2011, 04:21 AM
  2. Warning after upgrade - configure.php is writable
    By LyndaRay in forum Upgrading from 1.3.x to 1.3.9
    Replies: 11
    Last Post: 14 Apr 2011, 03:58 PM
  3. Urgent help required.. Website all blank after editing configure.php to add SSL
    By hamid84 in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 24 Mar 2010, 12:02 AM
  4. configure.php's CHMOD 444 is not recognized.
    By Yukiko in forum General Questions
    Replies: 7
    Last Post: 18 Mar 2008, 04:11 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR