Skip to main content

how can enable additional phpini in php 5.4 for a user

Comments

3 comments

  • JacobPerkins
    Hi, If you want to allow your customers to use custom php.ini files, you will need to ensure you're running SuPHP as your PHP handler, and you'll need to add the following snippet into your htaccess file located at '/home/user':
    # Add the following to your .htaccess ########## Begin - use custom php.ini suPHP_ConfigPath /home/username/public_html order allow,deny deny from all ########## End - use custom php.ini
    0
  • mehdi
    hello again thank you for answer i enabled it and i have a question after enable this config can i disable or enable a php function for a user ? can you show me a example ? thanks
    0
  • cPanelMichael
    after enable this config can i disable or enable a php function for a user ?

    Hello :) Could you provide an example of what type of PHP function you wan to enable or disable? Are you referring to a PHP module or a function that's included in the disable_functions line in the php.ini file? Note you may find this thread helpful if your goal is to increase security:
    0

Please sign in to leave a comment.