Something like wizards for Windows.
Ideally I'd like to create an installer which knew how to setup SQL tables, create all application files, set permissions and last but not least, delete the installer file.
Does anyone know of a project like this?
PHP installer
Moderator: General Moderators
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
Re: PHP installer
In executable form or what? Generally installers are application specifc, theyre not hard to make just look at any opensource software. You can create an sql file and just explode(';') on it, and send each query to mysql_query, you can chmod files with chmod() and chown()
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
Re: PHP installer
Basically I was hoping to create an installer by basically...
1. Marking config files/SQL files with placeholders
2. Having the installer package all files/folders/permissions for a given source tree
That way the installer would generate the FORM's and steps for installation and the FORM values would replace the placeholders, the installer would then iterate over SQL queries to create the tables and eventually copy files/folders, set permissions, etc.
1. Marking config files/SQL files with placeholders
2. Having the installer package all files/folders/permissions for a given source tree
That way the installer would generate the FORM's and steps for installation and the FORM values would replace the placeholders, the installer would then iterate over SQL queries to create the tables and eventually copy files/folders, set permissions, etc.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: PHP installer
Probably check out Phing. It's basically a Make tool for PHP.
You could use Ant if you're familiar with that too. I tend to use Ant for quite a lot of automation tasks.
You could use Ant if you're familiar with that too. I tend to use Ant for quite a lot of automation tasks.
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
Re: PHP installer
Phing...that was the friggen name I was lookin' thank you.
I'm not sure it's going to meet my requirements but that is what I was most interested in finding, thanks again.
I'm not sure it's going to meet my requirements but that is what I was most interested in finding, thanks again.