Php Business Logic Returning nothing

My Php business Logic works perfect on Debug Mode. The output on the terminal is as expected. But after i Deploy the code and make a call using JavaScriptApi the response is empty.

The Image bellow is a screenshot of the Debug Mode Result
http://support.backendless.com/public/attachments/380165c346eb0de40fafe54682c4eca6.png</img>

The Image bellow is a screenshot of Chrome After Deploy with empty responce.
http://support.backendless.com/public/attachments/cae791e16e0a9a784531f4bb567c2721.png</img>

Could you benchmark how long your script execution takes when in the debug mode? If it is more than 5 seconds, the code will not have time to complete the execution in production as the free tier is limited to 5 seconds.

It takes 2 - 3 seconds to execute

http://support.backendless.com/public/attachments/f2e538a646d38801d006526e01b24645.png</img>

I have another script which only echo’s Hello. Even that give me an empty output.

Hi, Tabish!

Unfortunately for the moment deploying custom logic in PHP is unavailable. This feature is under testing at the moment.
Regards,
Denys

Hi, Denys!

When will it be available?. Will Nodejs be a good option ?

For the moment production business logic available only for Java.
PHP and NodeJs is in our todo list and we currenly working on it.
You can invoke NodeJs scripts through file service as workaround.

Regards,

Denys