我想允许将php.ini设置上的url_fopen设置为ON,但我无法在共享服务器上访问此文件,我如何使用.htaccess文件来对此进行处理,谢谢:))
如果您的主机出于安全原因禁用了此功能,则您可能无法覆盖它,否则将无法启用它。
You can change the values in your PHP code on the fly http://php.net/manual/en/function.ini-set.php
I agree with @Dan Grossman though - be careful what you're changing.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.