Thanks for the response! The simplest code that will lead to a 500 error is:
Code:
<?php
$ch = curl_init("http://api.flickr.com/services/feeds/photos_public.gne?id=39102179@N04&lang=en-us&format=rss_200");
$xml = curl_exec($ch);
?>
The exact error is:
500 Error
An internal server error has occurred. Please try your request again momentarily.
- File or directory permissions are set too high: Files should be 0644, directories 0755.
- Problem with your .htaccess file.
- A syntax error in a CGI script.
I have set all file and folder permissions to the requirements (originally some files were left at the default 755 that is given when a new file is created). I haven't touched the .htaccess file and to my knowledge there are no syntax errors in CGI scripts.
When I replace the url that is being retrieved with that of a local file (eg. "./file.txt") it works fine.