Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Aug 2010
    Posts
    79

    Default how to configure the apache to support overite the php.ini and .htaccess

    Hello,

    I have a server wont work the .htaccess and php.ini what I supposed to do in order to be supported? please note that the suphp is enabled.

    Sincerely,

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jun 2004
    Posts
    313
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default Re: how to configure the apache to support overite the php.ini and .htaccess

    You cannot use php_value/php_flag settings in the .htaccess file with SuPHP. You must use a user-level php.ini in the public_html/ of the account to define your custom settings.
    NDCHost (ProVPS): Xen VPS / Dedicated / Co-Location
    Contact us for your cPanel Licensing needs! We price match, provide better support, and take care of our customers!

  3. #3
    Member
    Join Date
    Aug 2010
    Posts
    79

    Default Re: how to configure the apache to support overite the php.ini and .htaccess

    which php handler you suggest to use between DSO, CGI instead of the suphp? as I know the suphp is more secured.

    PHP through mod_suphp. Using this option is probably the most flexible way of serving PHP requests and is generally very secure.
    Apache PHP Request Handling
    I'm Confused now please advice..

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jun 2004
    Posts
    313
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default Re: how to configure the apache to support overite the php.ini and .htaccess

    SuPHP is probably the best for cPanel environments. With it, you just need to tell users to user their own php.ini files for custom settings, pretty simple.

    E.g. /home/cpuser/public_html/php.ini
    NDCHost (ProVPS): Xen VPS / Dedicated / Co-Location
    Contact us for your cPanel Licensing needs! We price match, provide better support, and take care of our customers!

  5. #5
    Member
    Join Date
    Aug 2010
    Posts
    79

    Default Re: how to configure the apache to support overite the php.ini and .htaccess

    the php.ini should be placed in the public_html or it can be in any folder? Please note that the Current Configuration

    Option Configured Value
    Default PHP Version (.php files) 5
    PHP 5 Handler suphp
    PHP 4 Handler cgi
    Apache suEXEC on

  6. #6
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jun 2004
    Posts
    313
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default Re: how to configure the apache to support overite the php.ini and .htaccess

    It can be placed in a subdirectory of public_html/ but it will only affect the PHP settings for that directory and those below it.
    NDCHost (ProVPS): Xen VPS / Dedicated / Co-Location
    Contact us for your cPanel Licensing needs! We price match, provide better support, and take care of our customers!

  7. #7
    Member
    Join Date
    Aug 2010
    Posts
    79

    Default Re: how to configure the apache to support overite the php.ini and .htaccess

    so it high recommended to be in public_html instead of directories?

Similar Threads & Tags
Similar threads

  1. Recommendation on how to configure Apache/PHP
    By bubba143 in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 02-05-2010, 07:36 AM
  2. weird, cannot configure suhosin in php.ini?
    By wanrenqingkong in forum New User Questions
    Replies: 3
    Last Post: 11-09-2009, 04:02 AM
  3. Apache/PHP recompile, htaccess edited
    By marketer in forum New User Questions
    Replies: 1
    Last Post: 01-08-2009, 11:47 AM
  4. Please help - PHP values htaccess/php.ini
    By jeroman8 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-13-2008, 10:01 AM
  5. Replies: 4
    Last Post: 12-15-2007, 03:26 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube