Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 1 of 2 12 LastLast
Results 1 to 15 of 27
  1. #1
    Regular Coder
    Join Date
    Dec 2008
    Posts
    120
    Thanks
    15
    Thanked 2 Times in 2 Posts

    Embeding PHP, MySQL and Apache?

    Hi,

    Let's say I have a small CMS script which is based on PHP, MySQL and Apache... is there anyway I can embed all these in a .exe file?

    desperately looking for this solution, as I have developed a script and clients are complaining and wanting to have the software locally installed :'(

  • #2
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    There is a project called bcompiler. It's labeled EXPERIMENTAL in the PHP manual.

    http://www.php.net/manual/en/intro.bcompiler.php

    Godspeed!

  • #3
    Regular Coder
    Join Date
    Dec 2008
    Posts
    120
    Thanks
    15
    Thanked 2 Times in 2 Posts
    Thanks Fumigator,

    Anyway we can use that bcompiler in windows?

  • #4
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    You are now as familiar with bcompiler as I am

  • #5
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Why do they want it locally installed?

    There are all in one packages of those programs like xampp. It would install what you need and then just drop your PHP scripts into web server root.
    OracleGuy

  • Users who have thanked oracleguy for this post:

    muneeba9071 (02-10-2010)

  • #6
    Regular Coder
    Join Date
    Dec 2008
    Posts
    120
    Thanks
    15
    Thanked 2 Times in 2 Posts
    oracleguy!!!!!!!! what an idea that is!!!!! xampp is what I was looking for .. Thanks a million

  • #7
    Regular Coder
    Join Date
    Dec 2008
    Posts
    120
    Thanks
    15
    Thanked 2 Times in 2 Posts
    Everything works perfectly!, now what I need is, I want a simple dedicated browser, where I want to open the http://localhost/index.php in it

    Is it possible? I have done one using Visual C# its called Gecko/XUL Runner something.

    help please

  • #8
    Regular Coder
    Join Date
    Dec 2009
    Location
    UK
    Posts
    495
    Thanks
    0
    Thanked 58 Times in 58 Posts
    Couldn't you just set the home page to http://localhost/ and also create a bookmark? Then they can use the browser as both a browser and an application for your cms
    My site: JayGilford.com
    Resources:
    PHP Pagination Class | Getting all page links | Handling PHP Errors properly
    If you like a users help, show your appreciation with the rep and thanks buttons :)

  • #9
    Regular Coder
    Join Date
    Dec 2008
    Posts
    120
    Thanks
    15
    Thanked 2 Times in 2 Posts
    Hi Jay,

    Thanks for your ideas, yes, I can do that but I think a dedicated browser would be much better, because if I change their homepage to localhost/cms then they might want to change it later on, bookmark will be better, but I am thinking of a dedicated browser because the address bar etc are are not needed :-S

  • #10
    Regular Coder
    Join Date
    Jul 2002
    Posts
    301
    Thanks
    7
    Thanked 2 Times in 2 Posts
    Take a look at:
    http://www.zzee.com/phpexe/

    Take a little time to read over the features. Most of the more interesting ones like shell execute slipped by me at first.

    It also has an internal SQLite engine. Definitely worth taking a close look at the help documentation. Not free but might be exactly what you need.

    Matt

  • #11
    Regular Coder
    Join Date
    Dec 2008
    Posts
    120
    Thanks
    15
    Thanked 2 Times in 2 Posts
    WOW matty, thats the one I need, but expensive..... can you help finding an alternative?

  • #12
    Regular Coder
    Join Date
    Jul 2002
    Posts
    301
    Thanks
    7
    Thanked 2 Times in 2 Posts
    All I can tell you is that I had similar needs. This was the best I could find. There are other compilers out there but few support PHP and SQLite, most use TCP meaning you can packet sniff the content right back and some look good but are not maintained (no updates since 2007).

    I was googling under "website compiler".

    Perhaps it is worth the price. Assuming your application is for work maybe they'll fund it. If you find an alternative, please do let me know.

    Now if you don't care about source code protection you may wish to double check up on Titanium from http://www.appcelerator.com/ I don't know if it has all teh features you need but it may come close.

  • #13
    Regular Coder
    Join Date
    Dec 2008
    Posts
    120
    Thanks
    15
    Thanked 2 Times in 2 Posts
    Hi Matty,

    Thanks for the ideas, I will see, I think it will be better to stick to xammpp and then use a software like "wise installation" or something to keep all files together and then what the user will do is to just install the software and run the xammp_start

    Is there anything easier than that?

  • #14
    Regular Coder
    Join Date
    Dec 2009
    Location
    UK
    Posts
    495
    Thanks
    0
    Thanked 58 Times in 58 Posts
    Will you be installing the software yourself? If so why not just add a different browser, set the homepage to localhost and then hide the address bar and any other toolbars you don't want to show. I know it's not perfect, but it would not cost you anything and is fairly simple to do
    My site: JayGilford.com
    Resources:
    PHP Pagination Class | Getting all page links | Handling PHP Errors properly
    If you like a users help, show your appreciation with the rep and thanks buttons :)

  • #15
    Regular Coder
    Join Date
    Dec 2008
    Posts
    120
    Thanks
    15
    Thanked 2 Times in 2 Posts
    Hi Jay,

    No I am not using the software myself, but customers will use it. Let's say I developed a expenses calculator which is 1 page script based on PHP and a bit of Ajax, so what I need is put all the xampp files in an installed, once the user install it it will goto Program Files/calculator and they will need to run the xampp_start

    Is there any easy way to get this done?


  •  
    Page 1 of 2 12 LastLast

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •