* jonathan higgins <jon...@ya...> [2005-09-04 00:40]:
> Greetings,
>
> I'm a little new at this and can't seem to figure how to get the phpesp database set up. I use a webhosting service that supports all necessary stuff. I even set up the Moodle (open source course management) all by my self with no problems or help. So I'm not sure why this is so difficult.
OK, here are some notes.
These notes should work for a fresh install on most Unix systems.
If you are on Windows, I can't help you- sorry!
If some steps have already been done you might have to skip over some parts.
First, get the software: Select a download from one of the mirrors at:
http://prdownloads.sourceforge.net/phpesp/phpESP-1.7.5.tar.gz
Change directory to the top level of your webserver data directory
(usually /usr/local/www/data or /usr/local/www/htdocs )
Untar the source there:
tar xvzf /path_to_download/phpESP-1.7.5.tar.gz
This creates a directory called phpESP and drops everything you need under there.
I've used permissions of the www user and group like this:
chown -R www:www phpESP
Next, (re)read the INSTALL document in the phpESP/doc directory, or check the website
at www.phpesp.org.
Next, your hosting provider will need to provide MySQL. There are scripts in the phpESP
distribution that create the actual database. Depending on your situation, you may
have to have the hosting provider run the create and populate script.
create script is at: scripts/db/mysql_create.sql
populate script is at: scripts/db/mysql_populate.sql
Check with your hosting provider if you have trouble with these steps. They create
the phpesp databaase and populate the database with the tables and data used
by phpESP.
>
> Basically, I don't know how or where to run the scripts to set up and population the database.
>
> Also, there is no 'perl' folder in my cig-bin. Can I just create one there.
You probably don't need that.
>
> Could anyone please give me the super-stupid layman step by step to getting phpESP up and running? The program is already on the webhost server www.mysite.com/phpesp.
Hmmm... the above statement makes it sound like the install has already been done.
Well, try to reach the management page at:
http://www.mysite.com/phpesp/admin/manage.php
If you get an error, (re)read the INSTALL doc above. You might have to start from scratch
with a fresh install. It *does work* if all the steps are followed.
If you get a login page, try logging into the management interface with
username root and password esp.
Once you are in, change the password. There's a menu item on the management interface page.
>
> Furthermore, if your help will include me running those scripts, then do the extensions need to be changed? There are txt files. What new extensions do I give them. Where do I put them in the directory structure before i run them?
No extensions need to be changed. See the INSTALL doc.
Hope this helps. It's way too late to think very clearly.
Jim B.
|