Jump to content

Compile PHP/HTML(css&javascript) as an executable file

turquato
Go to solution Solved by madknight3,

Maybe one of these options will do what you need.

Hey guys.

 

Is it possible to create a standalone installer (.exe) file with PHP/HTML5/CSS3/JavaScript/MySQL?

If so, can you provide links to certain applications that might help me create an executable file with the above mentioned codebase?

 

Any help is greatly appreciated.

ECS G31T-M7 V1.0 | Q8200 | Kingston 4GB(2x2GB) | 64GB Samsung 1.8" SSD | jOptron 230watts 

 

 

 

 

 

 

Ryzen 5 2600

Asus B450-F Strix

Corsair Vengeance Pro RGB 3000mhz

Seasonic M12ii 620watts Bronze

Adata XPG SX8200 PRO

MSI Gaming X RX 580

NZXT S340

Link to comment
Share on other sites

Link to post
Share on other sites

You could look here : http://stackoverflow.com/questions/9046675/convert-a-php-script-into-a-stand-alone-windows-executable

 

I haven't tried any of them though. For what reason(s) do you want to create a desktop app with PHP? It would be best to use a language like C#, VB.Net, Python, which are more appropriate for that which have a better support of desktop apps.

Link to comment
Share on other sites

Link to post
Share on other sites

... It would be best to use a language like C#, VB.Net, Python, which are more appropriate ...

 

Seconded

Speedtests

WiFi - 7ms, 22Mb down, 10Mb up

Ethernet - 6ms, 47.5Mb down, 9.7Mb up

 

Rigs

Spoiler

 Type            Desktop

 OS              Windows 10 Pro

 CPU             i5-4430S

 RAM             8GB CORSAIR XMS3 (2x4gb)

 Cooler          LC Power LC-CC-97 65W

 Motherboard     ASUS H81M-PLUS

 GPU             GeForce GTX 1060

 Storage         120GB Sandisk SSD (boot), 750GB Seagate 2.5" (storage), 500GB Seagate 2.5" SSHD (cache)

 

Spoiler

Type            Server

OS              Ubuntu 14.04 LTS

CPU             Core 2 Duo E6320

RAM             2GB Non-ECC

Motherboard     ASUS P5VD2-MX SE

Storage         RAID 1: 250GB WD Blue and Seagate Barracuda

Uses            Webserver, NAS, Mediaserver, Database Server

 

Quotes of Fame

On 8/27/2015 at 10:09 AM, Drixen said:

Linus is light years ahead a lot of other YouTubers, he isn't just an average YouTuber.. he's legitimately, legit.

On 10/11/2015 at 11:36 AM, Geralt said:

When something is worth doing, it's worth overdoing.

On 6/22/2016 at 10:05 AM, trag1c said:

It's completely blown out of proportion. Also if you're the least bit worried about data gathering then you should go live in a cave a 1000Km from the nearest establishment simply because every device and every entity gathers information these days. In the current era privacy is just fallacy and nothing more.

 

Link to comment
Share on other sites

Link to post
Share on other sites

Maybe one of these options will do what you need.

thank you madknight3, will check it out.

ECS G31T-M7 V1.0 | Q8200 | Kingston 4GB(2x2GB) | 64GB Samsung 1.8" SSD | jOptron 230watts 

 

 

 

 

 

 

Ryzen 5 2600

Asus B450-F Strix

Corsair Vengeance Pro RGB 3000mhz

Seasonic M12ii 620watts Bronze

Adata XPG SX8200 PRO

MSI Gaming X RX 580

NZXT S340

Link to comment
Share on other sites

Link to post
Share on other sites

You could look here : http://stackoverflow.com/questions/9046675/convert-a-php-script-into-a-stand-alone-windows-executable

 

I haven't tried any of them though. For what reason(s) do you want to create a desktop app with PHP? It would be best to use a language like C#, VB.Net, Python, which are more appropriate for that which have a better support of desktop apps.

Marxtai, thank you for the link I will look into it.

 

To be honest, I am trying to compare the .exe programs generated with a PHP vs C#, VB.Net & Python codebase. I also have not tried of C# & Python, and I only have a bit of experience with VB.Net.

ECS G31T-M7 V1.0 | Q8200 | Kingston 4GB(2x2GB) | 64GB Samsung 1.8" SSD | jOptron 230watts 

 

 

 

 

 

 

Ryzen 5 2600

Asus B450-F Strix

Corsair Vengeance Pro RGB 3000mhz

Seasonic M12ii 620watts Bronze

Adata XPG SX8200 PRO

MSI Gaming X RX 580

NZXT S340

Link to comment
Share on other sites

Link to post
Share on other sites

html is becoming an increasingly viable way to do UI for desktop applications. (Just look at the Spotify app for OS X/Windows, an average user would not know that it's just HTML) But using MySQL for a desktop app is extremely overkill. I'd suggest using SQLite instead, it's probably going to be faster and will definitely be more light weight and easier to work with. You should only use a SQL server if you are going to have multiple instances of the application that need to access the same data.

 

(sorry if I explained too much, i don't know what your experience level is)

Link to comment
Share on other sites

Link to post
Share on other sites

No.

 

6D47YBd.png

 

Web technologies can and are being used in desktop applications. Python is a great example of this, even though it is an interpreter used literally everywhere. Forget using PHP on desktop though.

Speedtests

WiFi - 7ms, 22Mb down, 10Mb up

Ethernet - 6ms, 47.5Mb down, 9.7Mb up

 

Rigs

Spoiler

 Type            Desktop

 OS              Windows 10 Pro

 CPU             i5-4430S

 RAM             8GB CORSAIR XMS3 (2x4gb)

 Cooler          LC Power LC-CC-97 65W

 Motherboard     ASUS H81M-PLUS

 GPU             GeForce GTX 1060

 Storage         120GB Sandisk SSD (boot), 750GB Seagate 2.5" (storage), 500GB Seagate 2.5" SSHD (cache)

 

Spoiler

Type            Server

OS              Ubuntu 14.04 LTS

CPU             Core 2 Duo E6320

RAM             2GB Non-ECC

Motherboard     ASUS P5VD2-MX SE

Storage         RAID 1: 250GB WD Blue and Seagate Barracuda

Uses            Webserver, NAS, Mediaserver, Database Server

 

Quotes of Fame

On 8/27/2015 at 10:09 AM, Drixen said:

Linus is light years ahead a lot of other YouTubers, he isn't just an average YouTuber.. he's legitimately, legit.

On 10/11/2015 at 11:36 AM, Geralt said:

When something is worth doing, it's worth overdoing.

On 6/22/2016 at 10:05 AM, trag1c said:

It's completely blown out of proportion. Also if you're the least bit worried about data gathering then you should go live in a cave a 1000Km from the nearest establishment simply because every device and every entity gathers information these days. In the current era privacy is just fallacy and nothing more.

 

Link to comment
Share on other sites

Link to post
Share on other sites

Web technologies can and are being used in desktop applications. Python is a great example of this, even though it is an interpreter used literally everywhere. Forget using PHP on desktop though.

 

I was talking about PHP. I'm sure a desktop application could be made, it certainly runs on the commandline.

 

But doing such a thing would be silly.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×