Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2011
    Posts
    45
    Plugin Contributions
    0

    Default suPHP and .htaccess files > php.ini

    I'm using zen-cart-v1.3.9h, and have got it working and even got it to the point of integrating with PayPal (tested! works!) - and then, of course, we moved and had to shelve everything temporarily.

    Just catching a breather and trying to get back into the website and cart, and I get an e-mail from my website host that says:

    '[we are changing over to] suPHP, [and] we will change file and folder permissions for you. We will also be moving any special PHP directives that you have included in .htaccess files, into your own php.ini file. suPHP does not support PHP directives inside .htaccess files.'

    I got the part of my host's e-mail that talks about permissions, and can modify those easily, but does Zen Cart support php.ini files? If not, is there a workaround for suPHP's restriction on .htaccess?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: suPHP and .htaccess files > php.ini

    Not a Zen Cart issue.

    They're talking about anything you've added to your .htaccess files that starts with "php_value". Zen Cart doesn't use any of those (other than has a couple on the admin side as examples in v1.3.x), so anything they find there that needs moving is related to things you've customized for yourself or added by addons.

    As for permissions, simply setting the permissions to what suits the server's requirements is fine. Zen Cart doesn't care about permission "numbers". It only needs certain files set to "read-only" or certain folders set to "writable" ... so whatever "numbers" that equates to for your server, that's what you'll need to use.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Apr 2011
    Posts
    45
    Plugin Contributions
    0

    Default Re: suPHP and .htaccess files > php.ini

    Cool! I hadn't gotten that fancy with anything in those files. Thanks!

 

 

Similar Threads

  1. SuPHP and .htaccess?
    By Schtoo in forum General Questions
    Replies: 4
    Last Post: 27 Mar 2010, 01:16 PM
  2. Secure php files without using htaccess?
    By 6thday in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 9 Jan 2010, 07:54 AM
  3. XAMPP and PHP cURL in php.ini
    By Jack28 in forum General Questions
    Replies: 2
    Last Post: 21 Dec 2009, 02:46 AM

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