To work with remote files in PHP you need to enable
-
allow_url_fopen
-
allow_remote_files
-
both of above
-
none of above
A
Correct answer
Explanation
allow_url_fopen is the php.ini directive that enables PHP to open remote files using functions like fopen() with URLs. allow_remote_files is not a valid PHP directive. Option A is the correct configuration setting. Option B doesn't exist. Option C is incorrect because 'allow_remote_files' is not a real setting.