Package Apache/PHP/MySQL as a Downloadable?

I have recently developed a very specialized PHP script that takes a file uploaded through Apache, processes it using temporary tables in a MySQL database (no data is permanently recorded), and then produces a large amount of output data, which it displays.  It was set up this way because, originally, I intended this all to occur (logically) on a webserver.  Output statistics could be kept in an account, and information could be cross-referenced between reports.

Unfortunately, through some testing, I've realized that I don't have the resouces to make this happen as described reasonably and cost-effectively.  Server-side processing of uploaded data (usually in the 2-5MB range) can take over 10 minutes (it processes the file line by line, usually in the 20k to 100k line range, and then modifies the table for each line depending on its composition), on top of bandwidth costs, makes this seem more reasonable as a downloaded application.  I'd prefer not to waste the time re-writing this in another program with another data management system, so I'm trying to figure out if there's a way to convert this PHP application into a downloadable application (for Windows) with as little headache (and as low cost) as possible.
LVL 9
richdiesalProfessorAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Aamir SaeedCommented:
0
richdiesalProfessorAuthor Commented:
I believe that app is just an all-in-one install of PHP, MySQL and Apache.  Forcing every client to install a webserver, database and scripting language is probably a little outside of the scope of what should happen here.

If this is the only path to take, I need some sort of self-contained application, i.e. when the user downloads, installs and starts it, it will automatically open the first page of my PHP app.  When they close the application, MySQL, PHP and Apache close with it.
0
AnthonyP9618Commented:
I would look into XAMPP.  I use it locally on my machine for development work.  It saves a tremendous amount of time from having to install each one individually.  

The distribution for Windows 98, NT, 2000 and XP. This version contains: Apache, MySQL, PHP + PEAR, Perl, mod_php, mod_perl, mod_ssl, OpenSSL, phpMyAdmin, Webalizer, Mercury Mail Transport System for Win32 and NetWare Systems v3.32, JpGraph, FileZilla FTP Server, mcrypt, eAccelerator, SQLite, and WEB-DAV + mod_auth_mysql.

http://www.apachefriends.org/en/xampp-windows.html (Assuming you need for Windows).  

If not, http://www.apachefriends.org/en/xampp.html
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

RoonaanCommented:
I think you shouldn't look into php for clientbased applications at this stage.

There might be out-of-the-box installable php applications in the future, but for now I would not go to the length of trying to get a webserver running on every client, let alone create a customized install app.
0
richdiesalProfessorAuthor Commented:
Well, I'm willing to avoid that - I just need an alternative.  What's the best path, then, between "existing PHP application" and "standalone application for Windows"?
0
ERNesbittCommented:
PHP-gtk would allow you to run a php script, but that's just for PHP.  Any custom db stuff or anything dealing with Apache would not be available.
0
richdiesalProfessorAuthor Commented:
Well, I suppose I can change DB manipulation stuff to some complicated array handling.  The program could instead read data from a file, process it, and then produce another CSV.  Can I do that with PHP-gtk?  A PHP program running at the command line maybe?  I'm not familiar with it.
0
ERNesbittCommented:
Look at: http://gtk.php.net/

It's essentially a GTK+ framework that allows PHP scripts to run at the command line.  You can also create GUIs using Glade.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
richdiesalProfessorAuthor Commented:
Thanks - this sent me down a path that lead to www.roadsend.com, which can compile PHP scripts into executables.
0
ERNesbittCommented:
Cool.  Glad to help.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.