cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello :)

PHP customizations are made through .htaccess files with php_value or php_flag settings when using DSO.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello,

I am beginner. Can you please explain the steps.

Thanks
We will need more information in order to provide specific steps. For instance, what specific PHP configuration value are you attempting to modify? How do you normally access your website files (e.g. FTP or File Manager)?

Thank you.
 

sreeninair

Well-Known Member
Dec 23, 2013
100
0
16
cPanel Access Level
Root Administrator
Hello,

I need to modify most of the functions like disable functions, registerglobals, php memory, execution time. I have root access.

Thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
You can simply create the .htaccess file within the account's public_html directory. Then, add entries based on the values you want to modify. EX:

Code:
php_value memory_limit 100M
If you are not comfortable with this, you could switch to suPHP and simply use custom php.ini files within the accounts.

Thank you.