• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[ACC] Probleme with cURL

sylo

New Member
Joined
Aug 7, 2013
Messages
5
Reaction score
1
Hi everybody,
I did a lot of search on this forum but i didnt find my answer.
Im using UNISERV and when i try to enable paypal i got this error on my website :

Lua:
php cURL is not enabled. It is required to for paypal or captcha services.
1. Find your php.ini file.
2. Uncomment extension=php_curl
Restart web server.

If you don't want this then disable paypal & use_captcha in config.php.

The probleme is i dont find the php.ini file into my computer. Maybe i can download it from an external link or anything else.

Thanks in advance for your comment.

Sincerely.
 
open uniserver/core/php71 or php 51 whatever the number is so idk which php conf file works for you so i will ask you to do the same for the 3 files
php_development
php_production
php_test

find extension=php_curl.dll
it should be written like this #extension=php_curl.dll
remove (#) and save the 3 of them this should solve your issue

EDIT- OR

open php-cli and add this line between the extensions
extension=php_curl.dll
 
open uniserver/core/php71 or php 51 whatever the number is so idk which php conf file works for you so i will ask you to do the same for the 3 files
php_development
php_production
php_test

find extension=php_curl.dll
it should be written like this #extension=php_curl.dll
remove (#) and save the 3 of them this should solve your issue

EDIT- OR

open php-cli and add this line between the extensions
extension=php_curl.dll

HI,
Thanks for your fast answer.
In your first methode with the 3 files no one of them got the extension=php_curl.dll line.
So i tried your second way and its still not working.
Here is the code into my php-cli

Lua:
[PHP]
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; PHP PHP 7.4.0 CLI  php-cli.ini    ;
; Uniform Server PHP CLI php-cli.ini ;
; PHP Installed as Apache module     ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

extension=curl
extension=php_curl.dll
extension=mysqli
extension=openssl
extension=gd2
extension=pdo_mysql
extension=mbstring

extension_dir = "extensions"
;error_reporting = E_ALL | E_STRICT
error_reporting = E_ALL
date.timezone = "Europe/London"

sendmail_path = "${US_ROOTF}/core/msmtp/msmtp.exe --file=${US_ROOTF}/core/msmtp/msmtprc.ini  -t"

[COM_DOT_NET]
extension=com_dotnet
 
HI,
Thanks for your fast answer.
In your first methode with the 3 files no one of them got the extension=php_curl.dll line.
So i tried your second way and its still not working.
Here is the code into my php-cli

Lua:
[PHP]
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; PHP PHP 7.4.0 CLI  php-cli.ini    ;
; Uniform Server PHP CLI php-cli.ini ;
; PHP Installed as Apache module     ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

extension=curl
extension=php_curl.dll
extension=mysqli
extension=openssl
extension=gd2
extension=pdo_mysql
extension=mbstring

extension_dir = "extensions"
;error_reporting = E_ALL | E_STRICT
error_reporting = E_ALL
date.timezone = "Europe/London"

sendmail_path = "${US_ROOTF}/core/msmtp/msmtp.exe --file=${US_ROOTF}/core/msmtp/msmtprc.ini  -t"

[COM_DOT_NET]
extension=com_dotnet
then add them between the extensions in think your main should be php-test anyway add them in the 3 files if you couldn't find it paste it
extension=php_curl.dll
 
then add them between the extensions in think your main should be php-test anyway add them in the 3 files if you couldn't find it paste it
extension=php_curl.dll

Btw i tried everything you said and i still got the same error.
Does your way is for Linux ? Because im running it on windows.

Thanks
 
open uniserver
start apache and mysql and then goto this link
check the path of Loaded Configuration File then do the steps i told you
iam using php-production.ini so i can add extension=php_curl.dll there check which file you are using and add this (extension=php_curl.dll) under any another extension
 
open uniserver
start apache and mysql and then goto this link
check the path of Loaded Configuration File then do the steps i told you
iam using php-production.ini so i can add extension=php_curl.dll there check which file you are using and add this (extension=php_curl.dll) under any another extension

Ok ill give a try and come back to you to tell you if its working.

Thanks !
 
HI,
Thanks for your fast answer.
In your first methode with the 3 files no one of them got the extension=php_curl.dll line.
So i tried your second way and its still not working.
Here is the code into my php-cli

Lua:
[PHP]
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; PHP PHP 7.4.0 CLI  php-cli.ini    ;
; Uniform Server PHP CLI php-cli.ini ;
; PHP Installed as Apache module     ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

extension=curl
extension=php_curl.dll
extension=mysqli
extension=openssl
extension=gd2
extension=pdo_mysql
extension=mbstring

extension_dir = "extensions"
;error_reporting = E_ALL | E_STRICT
error_reporting = E_ALL
date.timezone = "Europe/London"

sendmail_path = "${US_ROOTF}/core/msmtp/msmtp.exe --file=${US_ROOTF}/core/msmtp/msmtprc.ini  -t"

[COM_DOT_NET]
extension=com_dotnet
You aren't supposed to enable it in php-cli, CLI is the command line version of PHP, which shouldn't be what Uniserver uses. I don't know what Uniserver uses, but if I had to guess it's probably FastCGI. You can also check this documentation page: PHP (http://www.uniformserver.com/ZeroXI_documentation/php.html)
 
Back
Top