Re: Exists installer written in pure php?



On Wed, 28 Feb 2007 19:13:19 +0100, rw <was.robert@xxxxxxxxx> wrote:

I search web for system written in php, a minimal version of universal 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.
Rob

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/
.



Relevant Pages

  • Re: heredoc and array problems
    ... Check phpinfowhich ini file is in use. ... By default the installer comes with multiple different ini ... but if for example you compile your own PHP from the ... because the first script is parsed and executed ...
    (comp.lang.php)
  • Fedora 2 hard drive install
    ... Fedora Palm Questions - Resolved ... php + RPM ... > If you used nvidia's installer for the 6106 driver, you will> need to re-run the installer after the new xorg-x11 update. ...
    (Fedora)
  • Re: What FreeBSD users really want
    ... dogged by turn of the century hassle with our FreeBSD. ... Fundamental thing like system installer is still phenomenally arcane. ... PHP is by far the most popular computing language in the world. ... have a shell called PHP shell. ...
    (freebsd-questions)
  • Re: PHP, IIS, and ISAPI
    ... start the server I get an error. ... While the Windows installer is an easy way to make PHP work, ... Did you uncomment the appropriate extensions in your php.ini file? ...
    (comp.lang.php)
  • Re: What FreeBSD users really want
    ... > dogged by turn of the century hassle with our FreeBSD. ... Reinvent the installer and interface. ... Integrate a PHP shell into the core of the system. ...
    (freebsd-questions)