Start a new topic

trying to call php file in CrushFTP

CodeGrinder @ Wed Apr 09 17:29:49 EEST 2014
I'm trying to make a call to php file, to retrieve some MySQL data and it keeps timing out. I tested the code outside of Crush it worked fine, so I am wondering if the Crush webserver supports php?

I am making the call using the jquery ajax function, and I have placed all the javascript code within the custom javascript section on the users profile.
1 Comment

spinkb @ Thu Apr 10 04:58:25 EEST 2014
CrushFTP is not an app server. If you request that PHP page, it will be downloaded as the raw PHP text file, nothing more.

You need to use apache, and a PHP plugin for apache, or other web app server to run PHP.

Login to post a comment