My configuration:
- Host: 1&1.com
- MySql: 5.0
- Php: 5
- Apache: ?
- .htaccess file: DirectoryIndex index.html index.p and AddType x-mapp-php5 .php
- Hostname: www.archerysolano.com
- CMS directory: cms[li]
Using PUTTY, I tried to run index.html in both the cms and install directories. I recieved an "access denied" error. I changed the permissions on both files to 755. The error logs on 1&1.com are restricted.
When I execute cms/index.php using PuTTY, I get the following:
./index.php: ?php: No such file or directory
./index.php: line 24: syntax error near unexpected token `dirname(_'
./index.php: line 24: `$dirname = dirname(__FILE__);'
When I execute cms/install/index.php, I get:
./index.php: ?php: No such file or directory
Usage: global [-ailnrstTvx] pattern
global -c[sv] [prefix]
global -f[anrstvx] files
global -g[ailntvx] pattern
global -I[ailntvx] pattern
global -p[rv]
global -P[ailntvx] [pattern]
global -u[v]
./index.php: =: command not found
./index.php: =: command not found
./index.php: line 24: syntax error near unexpected token `set_magic_quotes_runtime(false)'
./index.php: line 24: `set_magic_quotes_runtime(false);'
What do I need to do next?