Desktop project with PHP and no Server

You must Login before you can answer or comment on any questions.

Hey everybody, maybe my question is dumb, but i need to know that.

When i compile my desktop app with php code inside. After that i give the application to others. Do the other clients have to install a webserver on their desktop, to execute/display my app the right way? I know when i wan't to see the project in the browser than i have to use a server, but for the desktop app there has to be a other way, or?

I couldn't find any explanation about this and i hope you can understand what i mean. Thx for all replies.

2 Answers

Markus,

No, they do not. Webkit back ends the apps on desktop and the php support is included with the Titanium Desktop SDK. You do not need any type of web server on the backend.

— answered 2 years ago by Alan DuBoff
answer permalink
14 Comments
  • Ok good, thx for the reply. I tried everything, but it doesn't work for me. I have mac lion with thevdesktop sdk 1.1 and 1.2 rc5. When i compile my app, the php code doesn't work, but the strange thing is, that i can see the php code in the syntax. How can i solve that problem?

    — commented 2 years ago by Markus Haslinger

  • Markus,

    Lion will need 1.2.0.RC6d to work, AFAIK. You can't run 1.1.0 on Lion.

    1. get the 1.2.0.RC6d for OSX

    2. check the wiki document for Using Titanium Desktop with PHP so that you understand the proper syntax to use.

    3. pull Documentation-Examples from github (in the appcelerator folder) to see how to use Titanium with PHP.

    — commented 2 years ago by Alan DuBoff

  • Ok thx. I'll give a try. I really hope it works for me.

    — commented 2 years ago by Markus Haslinger

  • Show 11 more comments

Ok, I tried it with the RC4, but now I get a total different problem/error.

dyld: Symbol not found: _iconv
Referenced from: /usr/lib/libcups.2.dylib
Expected in: /Users/max/Library/Application Support/Titanium/modules/osx/php/1.2.0.RC4/libiconv.2.dylib
in /usr/lib/libcups.2.dylib

— answered 1 year ago by Markus Haslinger
answer permalink
8 Comments
  • RC4 didn't fix the php problem though.

    You should get RC6e and see if that works for you.

    1.2.0.RC6e for osx

    — commented 1 year ago by Alan DuBoff

  • BTW, not sure why you tried RC4, I told you to try RC6d above.

    — commented 1 year ago by Alan DuBoff

  • Just to be clear though, you should get RC6e now.

    — commented 1 year ago by Alan DuBoff

  • Show 5 more comments

Your Answer

Think you can help? Login to answer this question!