Allow_url_include

In your php.ini, put the following line:

allow_url_include = 1

This enables remote includes.

NOTE: this requires allow_url_fopen =1 as well, so you may want to search through your php.ini and make sure that is enabled as well.
NOTE: You will need to copy your php.ini into the directory on your server where the script is which is calling this directory. For example, if you have a script in public_html/blog/ that needs this setting, then copy the php.ini into public_html/blog.

  • 0 کاربر این را مفید یافتند
آیا این پاسخ به شما کمک کرد؟

Related Articles

FastCGI for PHP

FastCGI for PHP FastCGI for PHP makes all your PHP applications run through mod_fcgid instead...

Protecting the php.ini file from being viewed

To prevent people to viewing your php.ini file via a browser a few lines need to be pasted into...

Configuring the PHP Environment With php.ini

The servers use a master php.ini file for all directories without a php.ini file in it. You will...

Upload_Max_Filesize

In a nutshell: Locate the php.ini file in the folder your upload script resides in. If none...

How do I enable PHP 5 for my PHP applications?

1. Login to your Control Panel and click the PHP Config icon. 2. Select PHP5 (Single php.ini)....