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

后端 未结 2 930
野趣味
野趣味 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 07:39

    Another possibility is that exec has been disable by PHP safe mode. From the referenced page, it looks like you could avoid this by putting the script you are exec-ing into the PHP "safe mode exec dir".

提交回复
热议问题