Forum Moderators: coopster

Message Too Old, No Replies

Auto-install

How to?

         

henry0

6:19 pm on Aug 25, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Since quite... too long of a time!
I was preparing a final version of my CMS the PHP5 one is ready.
Still need to put together a PHP4 version (easy modif)

It is 45 MG and contains 58 folders, 810 files.
works in IE and FF

I would like getting the “exec” knowledge
I mean from a ZIP how one does create the autoexec that looks for existing setup and then auto-install, create DB etc...
Plus I need to find if the PHP on server will be 4 or 5.

Any place I should look for to clarify that process in my mind?

What should be the thread of process?

Thank you

jatar_k

4:50 pm on Aug 26, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I am guessing you would need to have some base info first.

user advised to unzip the program into a specific place on their host. They will probably need to chmod the directory before you can run your install script.

you could ask them to select whether they have php 4 or 5

as long as your script has the right perms then the setup of db is easy from there.

I wouldn't automate too much, put some of the responsibility on the user.