I recently moved my website to a nginx server. My python code is running on the same machine on 8086 port, but my php curl module is not working. I don't know what I am doing wrong here.
I already installed php5-fpm
, but stil not able to resolve this issue. I can not see the error also because nginx simply shows me the blank screen. Btw. it is printing all the values before curl_init()
statement.
I can post my Nginx configuration also but i don't think so that is required.
你需要运行/etc/init.d/php5-fpm restart
If you are on Windows, make sure to follow the below steps:
php.ini-production
or php.ini-development
to php.ini
extension_dir = "ext"
extension=php_curl.dll
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.