Installation issues - missing curl, fileinfo, and gd?

All about webserver configurations, PHP and databases.

Moderator: Thorsten

Post Reply
sspence65
Posts: 5
Joined: Wed Apr 21, 2021 6:44 am

Installation issues - missing curl, fileinfo, and gd?

Post by sspence65 »

I'm running PHP 7.3.11 on Win 10. Apache 2.4.41

Setup tells me those extensions are missing.

My php.ini has curl, fileinfo, and gd2 enabled. I checked the ext folder, and the dlls are there. They show up in phpinfo();

I verified I only have one php directory, only one php.ini on my system.
phpmyfaq install error.PNG
You do not have the required permissions to view the files attached to this post.
Thorsten
Posts: 15620
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Installation issues - missing curl, fileinfo, and gd?

Post by Thorsten »

Hi,

we're using the standard PHP functions to detect the extensions:

https://github.com/thorsten/phpMyFAQ/bl ... #L286-L299

Did you checked the CLI PHP version?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
sspence65
Posts: 5
Joined: Wed Apr 21, 2021 6:44 am

Re: Installation issues - missing curl, fileinfo, and gd?

Post by sspence65 »

php -v results in PHP 7.3.11
Thorsten
Posts: 15620
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Installation issues - missing curl, fileinfo, and gd?

Post by Thorsten »

Hi,

yes, did you tried php -m?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
sspence65
Posts: 5
Joined: Wed Apr 21, 2021 6:44 am

Re: Installation issues - missing curl, fileinfo, and gd?

Post by sspence65 »

changing extension_dir ="ext" to extension_dir = "c:\php7\ext" resolved the fileinfo and gd issue, but not the curl issue. extension=curl is uncommented and php_curl.dll exists in c:\php7\ext
sspence65
Posts: 5
Joined: Wed Apr 21, 2021 6:44 am

Re: Installation issues - missing curl, fileinfo, and gd?

Post by sspence65 »

php -m shows curl, fileinfo and gd. but still getting the curl error.
phpmyfaq install error.PNG
You do not have the required permissions to view the files attached to this post.
Thorsten
Posts: 15620
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Installation issues - missing curl, fileinfo, and gd?

Post by Thorsten »

Hi,

php -m fetches the configuration for the CLI, do you see curl support in an phpinfo() page?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15620
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Installation issues - missing curl, fileinfo, and gd?

Post by Thorsten »

phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
sspence65
Posts: 5
Joined: Wed Apr 21, 2021 6:44 am

Re: Installation issues - missing curl, fileinfo, and gd?

Post by sspence65 »

once i added LoadFile "c:/php7/ext/libssh2.dll" to httpd.conf it worked, curl now loads.
Thorsten
Posts: 15620
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Installation issues - missing curl, fileinfo, and gd?

Post by Thorsten »

Hi,

awesome!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply