trouble installing php5
Posted by: rmblfish
Posted on: 2007-11-22 10:13:00
hi
hope some can help me out, newbie at this but desperatly need advice...
i need for some rssfeeds to get url file access etc wich is disabled as default by dreamhost one solution support told me was to install my own php5.
i tried following wiki, is this all i should do?
.........................................
Install/Compile PHP 5
1. Copy the PHP5_installscript into a text editor and replace YOUR DOMAIN HERE on the 4th line with your site's domain name. MAKE SURE YOU USE THE SAME CASE THAT APPEARS IN THE DIRECTORY LISTING (UPPER or lower).
2. Copy the new contents to your clipboard.
3. Log in to your account using SSH
4. Create a new file in your SSH by entering the command:
vim installscript
5. Hit i for insert mode, then right-click to paste your clipboard (the install script) contents, then hit Esc, type :wq (that's 'colon', 'w', 'q'), and press Enter to save and exit.
6. Make the file executable by entering the command:
chmod +x installscript
7. Run the script by entering the command:
./installscript
8. After it has finished you will need to edit your htaccess file appropriately. Add the following:
AddHandler phpFive .php
Action phpFive /cgi-bin/php.cgi
to a file called .htaccess and place it in the root folder of your domain you specified above (/home/YOUR USERNAME/YOUR DOMAIN HERE/.htaccess)
....................
the domain is http://www.annonstoppen.com/
i after installation uploaded a testfile with rssfeed but cant even webbrowse to it? doesnt seem to be there even though i ftp:ed it to that catalog...
i made a new .htaccess file with the 2 added lines wiki tells me about and ftp.ed it to root too but nothing helps...
anthing i must do with the domain itself in the Domain Management in my dreamhost panel?
any ideas overall what to do?