View Issue Details

IDProjectCategoryView StatusLast Update
0016849phpList 3 applicationphpListpublic07-07-15 08:28
Reporterjulienl Assigned To 
Status newResolutionopen 
Product Version3.0.2 
Target VersionFuture developments 
Summary0016849: Plugin download impossible with open_basedir
DescriptionWhen open_basedir is active, plugin download is impossible.

For example with :
it redirects to :

When open_basedir is on, curl redirect don't work :
TagsNo tags attached.



27-08-13 11:34

administrator   ~0052219

anyone able to contribute the patches to make it work?


27-08-13 16:00

updater   ~0052222

Last edited: 27-08-13 16:06

View 2 revisions

Should file_get_contents() now be the default way of retrieving a URL, and only use curl if http wrappers are not enabled. Redirects are handled by the http wrappers.

You can test for a wrapper being enabled through stream_get_wrappers().

if (in_array('http', stream_get_wrappers())) {
    echo 'http:// support enabled.';
} else {
    echo 'http:// support not enabled.';

Additionally the php option allow_url_fopen needs to be set to 1.