Hi Frendz,
i received this error

"Fatal error: Call to undefined function curl_init() in ....../xxxx.php

But its working fine in other system.

Recommended Answers

All 2 Replies

Member Avatar for diafol

From the php manual:

curl_init() has undefined behavior if you pass 'false' to it

So check what you're passing to it.

Also, are you sure curl is enabled? Check with phpinfo()

commented: useful post +3

From the php manual:

curl_init() has undefined behavior if you pass 'false' to it

So check what you're passing to it.

Also, are you sure curl is enabled? Check with phpinfo()

Yes, php_curl() is commented in php.ini. Now the problem is solved by uncomment the extension php_curl() in php.ini.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.