External Publication
Visit Post

Has curl_exec() been disabled in PHP? - need help pretty quickly

InfinityFree Forum [Unofficial] May 10, 2026
Source

Website URL

https://t3xtured.rf.gd/rtm/rzeszowgo/testcurl.php

Error Message

About 1 hour ago, curl_exec() in PHP was disabled. This function is critical for my website and code to work properly, so I need information about what happened and whether it can be re-enabled.

Other Information

I ran the following PHP test code and got these results:

curl_init => YES
curl_setopt => YES
curl_setopt_array => YES
curl_exec => NO
curl_close => YES
curl_error => YES
curl_getinfo => YES

I also checked ini_get("disable_functions") and received the following list:

chmod,php_uname,putenv,exec,phpinfo,system,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,pcntl_exec,socket_accept,socket_bind,socket_clear_error,socket_close,socket_connect,socket_create_listen,socket_create_pair,socket_create,socket_get_option,socket_getpeername,socket_getsockname,socket_last_error,socket_listen,socket_read,socket_recv,socket_recvfrom,socket_select,socket_send,socket_sendto,socket_set_block,socket_set_nonblock,socket_set_option,socket_shutdown,socket_strerror,socket_write,stream_socket_server,pfsockopen,disk_total_space,chown,diskfreespace,getrusage,get_current_user,set_time_limit,dl,listen,chgrp,link,symlink,proc_nice,proc_get_stats,proc_terminate,shell_exec,ssh2_exec,posix_getpwuid,posix_getgrgid,posix_kill,ini_restore,dbase_open,posix_mkfifo,sleep,imap_open,apache_child_terminate,apache_get_modules,apache_get_version,apache_getenv,apache_lookup_uri,apache_note,apache_request_headers,apache_response_headers,ini_get_all,apache_setenv,getallheaders,virtual,curl_multi_exec,curl_exec

As you can see, curl_exec has been disabled.

This function was working correctly earlier, and my website depends on it. I would appreciate a quick explanation of what happened and assistance with restoring access to curl_exec().

Discussion in the ATmosphere

Loading comments...