“exec() has been disabled for security reasons” & “Undefined variable”

后端 未结 2 954
野趣味
野趣味 2021-01-28 07:21

I found a cool MySQL backup script. It\'s working fine on some hosting companies. Now I\'m trying it on a different host running PHP Version 5.2.8.

I have a php.ini fi

2条回答
  •  耶瑟儿~
    2021-01-28 08:01

    Many hosts disable certain functions, and do not allow overriding them in custom php.ini's (just because PHP offers the ability to have a custom php.ini, does not mean that all PHP setups are necessarily configured to allow you to change that option via such).

    Chances are that host simply doesn't allow exec() period. Not much you can really do about that.

提交回复
热议问题