Initializing PHP script
I am attempting to install Word Press using a PHP script (install.php). The documentation says this can be done by opening said file from the browser, but the script won't initialize. The browser (and I've tried several) asks for an application to open the script. When I try this from the command line with root privileges I get:
./install.php: line 1: ?php: No such file or directory
./install.php: line 2: =: command not found
./install.php: line 3: syntax error near unexpected token `'../wp-config.php''
./install.php: line 3: `if (!file_exists('../wp-config.php')) '
Of course, I have made sure permissions on the file are appropriate, etc.
|