codeigniter php.ini allow_url_fopen = 1

时间:2013-05-01 08:56:51

标签: php .htaccess codeigniter-2 cpanel

ini参数allow_url_fopen = 0到allow_url_fopen = 1 但是什么时候cpanel将自定义php.ini create和.htacsess设置为

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php?/$1 [L]

RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ /index.php?/$1 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond $1 !^(index\.php|images|sitemap.xml|php.ini|robots\.txt|css)
RewriteRule ^(.*)$ ./index.php/$1 [L]

</IfModule>
<IfModule mod_suphp.c>

suPHP_ConfigPath /home/myuser/public_html/

</IfModule>

和php.ini到

allow_url_fopen=1

但是页面没有加载或错误500?

1 个答案:

答案 0 :(得分:0)

这是你应该使用的正确的php.ini值...

allow_url_fopen =开启

希望有所帮助

相关问题