PHP issue with directive
Hello,
i had issue where some websites did not worked showing PDO, Ioncube is missing, and really when i did command "php -m", these modules was not loaded, even in EasyApache it was enabled and i also rebuilt EasyApache again.
The cause was that i added this directive to php.ini:
[QUOTE][PATH=/home/awzfsnat/public_html]
disable_functions = "show_source, system, passthru, shell_exec, popen, proc_open, allow_url_fopen"
It is described there, it should allow one user site to have special disable_funcitons rules:
It is described there, it should allow one user site to have special disable_funcitons rules:
-
Have you considered using individual php.ini files within the account instead of making modifications to the global php.ini file? Have you verified there are no other alternatives to granting that single account the "exec" function? What exactly does the account need to do? Thank you. 0 -
I did not considered that, but it may work. But [COLOR="#008000">what worked at the end was adding the lines like: [QUOTE][PATH=/home/username/public_html] register_globals=On post_max_size=5000M
to the very end of /usr/local/lib/php.ini file.. Im using SuPHP handler atm.0 -
Hello, That is a valid solution for suPHP if you don't wish to allow individual php.ini files. I'm glad the above worked for you and thank you for posting the outcome/solution. 0
Please sign in to leave a comment.
Comments
3 comments