473,322 Members | 1,690 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Exists installer written in pure php?

rw
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
Feb 28 '07 #1
2 1339
On Wed, 28 Feb 2007 19:13:19 +0100, rw <wa********@gazeta.plwrote:
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/
Feb 28 '07 #2
rw
I want installer for working apache+php system of course, what is the
most popular option in basic ISP offer. Thanks for response, I still
plan write universal solution.
OmegaJunior wrote:
>
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/
Mar 1 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Thomas Guettler | last post by:
Hi, I need to copy a directory into an existing directory. shutil.copytree does complain that the directory already exists. I need something like "cp -rp": Copy recursively, overwrite if...
4
by: Bill Murray | last post by:
I am using VS.NET 2003 and trying to deploy a service program(c++) to a Windows 2000 Server system. I have also written a small DLL (USSsetup.dll) that is used to start/stop the service using a...
2
by: MENTAT | last post by:
Hi, I am trying to create an installer for my web application. So I added a web setup project to my solution (I am using VS.NET 2003). Been playing around with it since then and it basically...
0
by: Steve Barker | last post by:
Hi guys, I've recently written a .NET installer package. It installs a Windows application and some supporting DLLs. I’ve written these before and never had problems…. until now. This is...
15
by: Geiregat Jonas | last post by:
is using if(open("file",O_EXCL) != -1){ printf("File does exists")}else{printf("file does not exists"); } a good way of checking if a file exists or not, if not how should I do it ?
11
by: sur | last post by:
Hello, My problem is that File.Exists works fine if my file is on my local drive but returns false if its on any other drive. I think that the issue is probably file permissions and so I have...
4
by: Rob R. Ainscough | last post by:
The task is brain dead simple - Uninstall prior Windows Service and Install newer version of Windows Service Background: 1. My Windows Service written in .NET 1.1 and deployed via MSI (Windows...
1
by: dwelch91 | last post by:
c.l.p- I am undertaking writing an installer for a software package using Python. It is exclusively for Linux. Because this is an installer and has to run on numerous Linux distros, it is...
1
by: apondu | last post by:
Hi, I needed some help in the installer. I have a project and nw i decided to create a Installer for this project. I wanted to create a file in this Installer. I have a override function for...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.