简体   繁体   中英

cURL with Terminal for AWS Ec2

So I just switched from some network solutions hosting running some php files that return JSON. when I run the same curl terminal command to the new server it does not respond the php errors like it did before. What do I need to do to enable it so it returns the errors in the terminal with curl?

Update it appears it's returning a HTTP Error 500. How can I show the errors instead?

我想通了,我将/etc/php.ini编辑为display_errors = On;

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM