tags:

views:

40

answers:

0

hi , i created a virtual host where i would manage a separate project on the same machine. the problem is that when i attempt to make a curl request from the php code in the virtual host, i dont get any response.

How can i set the Curl library to work on the virtual host

Update: i ran the command on the command line :

curl new_Server.com/ --trace /home/nauman/Desktop/abc.txt

and it gave me the HTML response of index.php file. and the trace is copied to the abc.txt file