0

I developed one project using YII framework. Now I want the project in single executable file.

Is it possible to create using yii or php libraries.

How to create .exe executable file for yii project.

And is it possible to convert project file to some format that if I install it any others

place that they can't read may be some encrypted format.

Abhi
  • 1,105
  • 2
  • 12
  • 29

2 Answers2

4

Short answer: Not possible.

Long answer: It depends.

You could install a web- and database server on his machine (or create an installer that does it) and run the application locally on his machine.

or

You keep the application on a server and just provide a launcher that opens his browser and points it to the URL of the application.

It might be a good idea to switch to SQLite instead of MySQL but depending on how your application is written it might require a lot of code and SQL Query changes.

PHP Desktop which allows you to create desktop apps in the same way as you build websites with php/html/js.

The convenient solution is not to convert the website to .exe. I think it will be better if you have portable server/php/mysql and make the website work from a usb or CD with autorun.

Vineet1982
  • 7,730
  • 4
  • 32
  • 67
2

there are many good options for the same and you can find them at PHP Compilers

I have used PHPLanger for the same