Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Exists installer written in pure php?
February 28, 2007, 6:13 pm
rate this thread
professional install system like eg. nsis installer. I found nothing.
Every web application written in php require eg. check valid php
version, loaded php modules, set files access, configure db connection
etc. If i want give end user zip that user uncompress in web folder and
run eg. install.php I write quickly, simple but buggy script that make
required things. I thing about make something uniwersal but if someone
that system written why rethink again.
Re: Exists installer written in pure php?
You could write your own installer (I just finished one for one of our
CMS's), but it can't be done in PHP... not unless PHP already is
preinstalled on the system. This is because PHP scripts don't run on any
system without the PHP engine preinstalled.
Other options include writing your installer in languages that compile
into native applications for the systems on which you like to execute
them. On Windows systems for instance, any .Net-compatible language will
do (C#, Java, VB, Delphi, etc.).
Once the computer is equipped to run PHP, you can use the command-line PHP
interpreter to run any script... including installation scripts. I learned
by experience that this is less easy than it seems :)
Don't know of any existing universal installers written in PHP. Sorry.
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/