tjb1982
tjb1982

Reputation: 2259

Windows desktop icon for starting PHP application

I created a PHP application with Zend Framework that I would only ever like to run locally with an XAMPP installation.

I've never coded in anything but PHP, so I would like to know what technologies are involved in creating this functionality:

  1. User double-clicks a desktop icon.
  2. XAMPP starts
  3. Apache and MySQL start.
  4. Browser opens pointed to "localhost"

What technologies do I need to learn in order to accomplish this?

Upvotes: 1

Views: 1350

Answers (2)

Pekka
Pekka

Reputation: 449783

Unless you want to do this with a custom written application as @rlemon recommends, you should be able to do it with a batch file. It's the Windows version of script files.

Resources/hints to give you some ideas:

Upvotes: 1

Ramy Deeb
Ramy Deeb

Reputation: 593

I don't know any program that will start you the servers, and after they are up and running then launch the browser. What I've used is Mozilla Prism, this program gives you the ability to make a web site to show up in the desktop, quick launch or start menu like any other program.

You can enable/disable the back & forward button, the address bar and some other nice configs.

Upvotes: 1

Related Questions