You are not logged in.
This is a fresh install with php 5.6.10.
I checked and curl is installed along with all the dependencies listed in the curl package documentation.
These are included in my php.ini:
extension=curl.so
curl.cainfo = "/etc/ssl/certs/cacert.pem"
Here is the code that generates the error:
# initialise the CURL library
$ch = curl_init();
Here is the error message:
Fatal error: Call to undefined function curl_init()
Any ideas?
- Jim
Last edited by jsalk (2015-06-29 18:07:56)
Offline
Did you restart the apache server ?
Offline
also check whats installed using a php file
<?php
phpinfo();
?>
Offline
Thanks. I had checked all of those things before to no avail. But I was able to solve the problem.
The solution turned out to be an inconsistency with the hostname and other configured items such as samba, avahi, minidlna, etc. Once I changed the hostname (for other reasons), the error was not longer received.
- Jim
Offline
Thanks for sharing the solution ...
Offline