Using composer/Unirest php with Github problems

156 views Asked by At

My code works great on my local machine, but when I push my code to github, then download and unzip the folder and move it to my htdocs folder, it says class Unirest is not defined.

I even tried rerunning php composer.phar update/install and it still is saying Unirest is not defined. The code works fine when I push to a Paas, but when I take the .zip from github it won't run.

Any ideas why this is?

0

There are 0 answers