Thread:Project:Support desk/Help cannot upload images

Hi when I try and upload an image I get the following error:

Error setting curl options. Backtrace:
 * 1) 0 /var/www/html_wiki/includes/filerepo/ForeignAPIRepo.php(383): CurlHttpRequest->execute
 * 2) 1 /var/www/html_wiki/includes/filerepo/ForeignAPIRepo.php(166): ForeignAPIRepo::httpGet('http://commons....')
 * 3) 2 /var/www/html_wiki/includes/filerepo/ForeignAPIFile.php(42): ForeignAPIRepo->fetchImageQuery(Array)
 * 4) 3 [internal function]: ForeignAPIFile::newFromTitle(Object(Title), Object(ForeignAPIRepo))
 * 5) 4 /var/www/html_wiki/includes/filerepo/FileRepo.php(90): call_user_func(Array, Object(Title), Object(ForeignAPIRepo))
 * 6) 5 /var/www/html_wiki/includes/filerepo/ForeignAPIRepo.php(85): FileRepo->newFile(Object(Title), false)
 * 7) 6 /var/www/html_wiki/includes/filerepo/FileRepo.php(122): ForeignAPIRepo->newFile(Object(Title))
 * 8) 7 /var/www/html_wiki/includes/filerepo/RepoGroup.php(157): FileRepo->findFile(Object(Title), Array)
 * 9) 8 /var/www/html_wiki/includes/GlobalFunctions.php(3257): RepoGroup->findFile(Object(Title), Array)
 * 10) 9 /var/www/html_wiki/includes/upload/UploadBase.php(1140): wfFindFile(Object(Title))
 * 11) 10 /var/www/html_wiki/includes/upload/UploadBase.php(491): UploadBase->checkOverwrite(Object(User))
 * 12) 11 /var/www/html_wiki/includes/specials/SpecialUpload.php(452): UploadBase->verifyTitlePermissions(Object(User))
 * 13) 12 /var/www/html_wiki/includes/specials/SpecialUpload.php(202): SpecialUpload->processUpload
 * 14) 13 /var/www/html_wiki/includes/SpecialPageFactory.php(458): SpecialUpload->execute(NULL)
 * 15) 14 /var/www/html_wiki/includes/Wiki.php(240): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
 * 16) 15 /var/www/html_wiki/includes/Wiki.php(640): MediaWiki->performRequest
 * 17) 16 /var/www/html_wiki/includes/Wiki.php(547): MediaWiki->main
 * 18) 17 /var/www/html_wiki/index.php(57): MediaWiki->run
 * 19) 18 {main}

I have 1) reviewed all steps in https://www.mediawiki.org/wiki/Manual:Configuring_file_uploads  - directory permissions are all ok.   - phpinfo is showing                      Configure Command	--without-curl                     cURL support	enabled    - Not sure is this is my issue, but I do not know how to change Configure Command to --with-curl ?    - I can see the curl.so in the modules directory 2) searched google for answers and the support desk

I am running my wiki on AWS Linux server

PHP Version - PHP 5.3.27 (cli) (built: Jul 12 2013 22:04:28) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies

DB MySQL Version - mysql(5.6.13)

Mediawiki version - 1.18.1

Any ideas how I can get file upload working ?

Many thanks

Mark