Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8138259
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T11:26:09+00:00 2026-06-06T11:26:09+00:00

I am running PHP code with the following code invovled: $ch = curl_init(); When

  • 0

I am running PHP code with the following code invovled:

$ch = curl_init();

When I get to this line, the following error is returned:

Fatal error: Call to undefined function curl_init() in C:\xampp\htdocs\myfiles\API\IPVIKING_API.php on line 79

Now I’ve found all the answers talking about enabling the curl extension in the php.ini file, and I’ve done that, following this question here: How to enable curl in xampp?.

My problem is I do not have these 3 files:

C:\Program Files\xampp\apache\bin\php.ini
C:\Program Files\xampp\php\php.ini
C:\Program Files\xampp\php\php4\php.ini

I instead have 2 files called

C:\Program Files\xampp\php\php.ini-development
C:\Program Files\xampp\php\php.ini-production

I’ve uncommented the

;extension=php_curl.dll

line in both of them, restarted both my browser and xampp, yet it still gives me the same error. Suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T11:26:10+00:00Added an answer on June 6, 2026 at 11:26 am

    Make an

    <?php phpinfo(); ?>
    

    there you can see which php.ini is loaded. In this file you uncomment the the extension line.

    When there is no php.ini in this path which is in the phpinfo this should be xampp/php/php.ini then rename one of the two files

    C:\Program Files\xampp\php\php.ini-development
    

    to

    C:\Program Files\xampp\php\php.ini
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am getting the following error when running on PHP 5.3.8 Deprecated: Function eregi_replace()
For some reason, on occasion, I get the following fatal error from my PHP
I have written following PHP code: $input=menu=1&type=0&; print $input.<hr>.ereg_replace('/&/', ':::', $input); After running above
I'm running the following code in PHP to generate the random list of movies
Im getting invalid argument error when running the following code. Im trying to change
I am trying to invoke sendmail via PHP's mail function by the following code:
I tried running the following code: (http://localhost/read.php) <html> <body> <?php $link = mysql_connect('localhost', 'root',
I am running following PHP code to interact with a MS Access database. $odbc_con
I'm running the following php code; $output = exec('D:\TESTDIR\unrar.exe e D:\TESTDIR\Icons.rar -ppassword'); echo $output;
The code: <?php class My_Test{ public $exists = 'yah'; public function test(){ return $this->exists;

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.