putenv() has been disabled for security reasons

This PHP Function is disabled on some Servers by Default, so you have to activate it.

in aaPanel go to App Store > Installed > PHP > Settings > Disabled functions

looking for putenv and click on del


If you not using aaPanel open your php.ini and search for disable_functions and remove putenv

After that restart Apache and php-fpm or simply do a full server reboot

  • 8 Users Found This Useful
Was this answer helpful?

Related Articles

My Server has issues to Resolve Domains "Unknown host"

If your server has problems resolving domains Error "unkown host domain.com" (mostly with OVH...

Using YouTube login cookies to access restricted content

Use YouTube login cookies in the following scenarios: You want to download age-restricted...