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 » Wed Apr 21, 2021 6:50 am

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: 15183
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

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

Post by Thorsten » Wed Apr 21, 2021 3:00 pm

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 » Thu Apr 22, 2021 5:43 am

php -v results in PHP 7.3.11

Thorsten
Posts: 15183
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

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

Post by Thorsten » Thu Apr 22, 2021 5:44 am

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 » Thu Apr 22, 2021 7:13 am

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 » Thu Apr 22, 2021 7:15 am

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: 15183
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

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

Post by Thorsten » Thu Apr 22, 2021 7:34 am

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: 15183
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

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

Post by Thorsten » Thu Apr 22, 2021 7:35 am

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 » Thu Apr 22, 2021 7:56 am

once i added LoadFile "c:/php7/ext/libssh2.dll" to httpd.conf it worked, curl now loads.

Thorsten
Posts: 15183
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

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

Post by Thorsten » Thu Apr 22, 2021 11:43 am

Hi,

awesome!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Post Reply