How to define multiple ini settings using php command line?

后端 未结 1 1127
甜味超标
甜味超标 2021-01-06 04:07

I am trying to allow the allow_url_fopen and rename functions temporarily for a script. I can do it with just one function, but not both.

S

相关标签:
1条回答
  • 2021-01-06 04:24

    You must only define a -d OPTION block for each setting you like to define.

    You need to run:

    php -d allow_url_fopen=on -d rename=on <file>

    0 讨论(0)
提交回复
热议问题