Hi all. First post - pls. be gentle.
I’m on (GhostBSD) Freebsd13.1-STABLE and PHP Version => 8.0.25 and php80-curl-8.0.25
In PHP: curl_exec are some how disabled. The rest of curl library is working fine.
In phpinfo the curl_exec (and curl_multi_exec) together with other functions is marked as disabled in the phpinfo():
disable_functions => exec, passthru, shell_exec, system, proc_open, popen, curl_exec, curl_multi_exec, parse_ini_file, show_source => exec, passthru, shell_exec, system, proc_open, popen, curl_exec, curl_multi_exec, parse_ini_file, show_source
Checked the php.ini: no functions seems to be disabled by purpose.
...
disable_functions =
disable_classes =
Checked possible configuration options:
- Nothing (obvious) related to curl
===> No options to configure
However in: /usr/ports/lang/php80-extensions/ - there is options for supporting curl.
But php80-extensions isn't installed.
And the ext-20-curl.ini is the standart: extension=curl.so
Searching mostly brought me into suggestions to reinstall and /or enable curl in php.ini (that is actually don by use of the include directory) and I’m kind of moving in circles now. So I guess hat somewhere /somehow besides php.ini there exists an option for disabling individual functions. Just can’t figure out where.
As an attempt not to fill the page with dump I attached relevant information as files. Hope it works.
php.ini=> php_ini.txt
php_conf.txt => php.conf
Any thoughts.
I’m on (GhostBSD) Freebsd13.1-STABLE and PHP Version => 8.0.25 and php80-curl-8.0.25
In PHP: curl_exec are some how disabled. The rest of curl library is working fine.
In phpinfo the curl_exec (and curl_multi_exec) together with other functions is marked as disabled in the phpinfo():
disable_functions => exec, passthru, shell_exec, system, proc_open, popen, curl_exec, curl_multi_exec, parse_ini_file, show_source => exec, passthru, shell_exec, system, proc_open, popen, curl_exec, curl_multi_exec, parse_ini_file, show_source
Checked the php.ini: no functions seems to be disabled by purpose.
...
disable_functions =
disable_classes =
Checked possible configuration options:
cd /usr/ports/lang/php80/ && make config- Nothing (obvious) related to curl
cd /usr/ports/ftp/php80-curl && make config===> No options to configure
However in: /usr/ports/lang/php80-extensions/ - there is options for supporting curl.
But php80-extensions isn't installed.
And the ext-20-curl.ini is the standart: extension=curl.so
Searching mostly brought me into suggestions to reinstall and /or enable curl in php.ini (that is actually don by use of the include directory) and I’m kind of moving in circles now. So I guess hat somewhere /somehow besides php.ini there exists an option for disabling individual functions. Just can’t figure out where.
As an attempt not to fill the page with dump I attached relevant information as files. Hope it works.
php.ini=> php_ini.txt
php -i => php-i.txt(phpinfo) php -m => php-m.txtphp enabled modulesphp_conf.txt => php.conf
pkg info php80 => pkg_info_php80.txt pkg info php80-curl => pkg_info_php80-curl.txtAny thoughts.