Manual Installation - Error
Your hosting doesn't meet minimal requirements:
- disable_functions = exec,passthru,shell_exec,system - FAIL (must be without shell_exec,eval,assert,phpinfo,getenv,ini_set,mail,fsockopen,chmod,parse_ini_file,readfile)
This is a dedicated server, I have root access and have modified the php.ini files and no matter what I do, this error persists and I can't continue with fresh installation.
using WHM v82.0.14 (with root access) - cPanel Version 82.0 (build 14)
-
- · Kyle
- ·
When I ran into this I reached out to Cpanel because it looks like my files were in different areas then normal:
Issues have been fixed. Please refer the attached screenshot. I have added the following line in the file '/var/cpanel/userdata/vybz/vybz.live.php-fpm.yaml', restarted the PHP FPM and Apache services to fix the issue:
php_admin_value_disable_functions: { name: 'php_admin_value[disable_functions]', value: none }
-
-
- · Stefan Parvu
- ·
Hy guys,
Same probleme here. I do not see the attached screenshot.
" I have added the following line in the file '/var/cpanel/userdata/vybz/vybz.live.php-fpm.yaml' " - in what file?
Can you be more precise please. Thank you!
-
Stefan Parvu you could also contact your hosting provider through support my host fast comet have done so much for me set up my ssl helped me with a error where i couldn't access my site and also set up my php accelerator and optimized my site for faster load times they have like 10 dif support departments 1 of which Script Installation/Upgrades The Department is called deals with Softaculous scripts and any other website script i always get useful answers and only had 1 instance when i had to solve my problem my self out of 6-7 problems
anyways sorry for going on a tangent im tired been up all night lol id contact support from your hosting provider as it has always steered me in the right path
-
If you have root access - can ftp the server or ssh and use vi or nano to edit.
'/var/cpanel/userdata/vybz/vybz.live.php-fpm.yaml'
is actually - /var/cpanel/userdata/replace_with_acct_name/your_domain.tld.php-fpm.yaml
and add the following line -
php_admin_value_disable_functions: { name: 'php_admin_value[disable_functions]', value: none }
at the bottom of the file.
Hope this helps
-
- · Jym
-
·
In reply to Jym
J
- ·
I also had to go back in to WHM (root), not cPanel.
WHM > Software > MultiPHP Manager - Look for "Edit function list" click the expand arrow ">" and remove the disable function that is likely there by default.
-
- · CDnCO2004
-
·
In reply to Jym
J
- ·
Thank you Jym. That was exactly the right answer!!
-
- · VeteranBrigades
- ·
I just had this problem and this thread helped me fix it. Thank you!
-
Additional information regarding this issue for Namecheap VPS hosting: in WHM, go to the left side panel -> MultoPHP Manager -> User Domain Settings -> PHP-FPM Settings. Delete all of the offending functions by clicking the "x" on each of them ( shell_exec, eval, assert, phpinfo, and the rest). Save the settings.
Now, on the left side panel -> Restart Services -> PHP-FPM service for Apache -> restart. Then also restart HTTP Server (Apache).
Reload your UNI page.
The issue is that on some hosts, the PHP.ini stuff is held in a different area (like the others have explained). It's weird, but just go with the flow.