Installation Error

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
whattodo
Forum Newbie
Posts: 1
Joined: Mon Feb 02, 2004 10:20 pm

Installation Error

Post by whattodo »

Hi
i need help with installing script.
I have following instructions:

1) Set permissions for scripts to write into the "id_img", "id_wav", "id_avi", "tmp_wav", "tmp_avi" and "articles" directories in a convenient and secure way for your hosting account. It can be set like 777, or you can chown them to "nobody" and set 700 permissions.
2) Remove configuration file inc/header.inc.php if it exists.
3) Run "install/index.php" to create "inc/header.inc.php" file. On this step it will be useful to run "install/exec.php" to find out paths to the executables binaries on the server.
4) Move "periodic" directory out of http scope and set correct way to inc/header.inc.php in "cmd.php" and "notifies.php" in "require_once( "/path/to/header.inc.php" );" string. Put command "php -q /path/to/cmd.php" on cron to run it every midnight.
Put command "*/15 * * * * php -q /path/to/periodic/notifies.php" on cron to run it every 15 minutes.

However when trying to execute "install/index.php" i am getting this error:
Error executing associated application or assosiation not found.

I am not a programmer and do need help with installation.
Thank you for your help and time.
User avatar
markl999
DevNet Resident
Posts: 1972
Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)

Post by markl999 »

However when trying to execute "install/index.php" i am getting this error
I'm guessing you really are trying to 'execute' it in the windows sense of the word ;)
Execute in this case (i'm presuming) means open install/index.php in your browser (not with File->Open, but http://localhost/install/index.php for example).
Post Reply