greenworld Posted April 15, 2006 Posted April 15, 2006 Hi; I like to know how to access a file (install.php) when it is uploaded in a folder before pulbic_html I have uploaded some file to a folder before public_html (root), now I have to install it, but I don't know to access the install file from browser. exp: if the install file is in a folder: /testfolder/install.php home/testfolder/public_html/ http://www.myweb.com/? thanks Quote
TCH-Bruce Posted April 15, 2006 Posted April 15, 2006 You would have to run it as a cron job or open a ticket with the help desk and ask them to run it for you. Quote
TCH-Bruce Posted April 15, 2006 Posted April 15, 2006 What is it you are trying to install? This isn't normal. The web server can only access files from your public_html folder and below unless they are include files being accessed by something in the public_html folder or below. Quote
greenworld Posted April 15, 2006 Author Posted April 15, 2006 it is a free script for RSS to html, called CaRP, in the instruction says it is better to be installed in a folder bihind public html, but the instruction to run the install file does not work, it says it should be called this way: http://www.mysweb.com/~testfoder/install.php thanks Quote
greenworld Posted April 15, 2006 Author Posted April 15, 2006 here is part of the installation: For a fresh installation, the following process is usually the simplest. Decide where you want to put the CaRP scripts on your webserver, and create a new folder for them if necessary. Recommendations: We recommend that the folder be named "carp". This will make it more likely that the setup assistant will be able to locate it automatically. If you are going to name it "carp", you may create it by simply uploading the "carp" folder from the installation archive and its contents (see next step). It is good security practice to install scripts like CaRP in a location that cannot be accessed directly by a web browser. For example, if your web folder is located at "/home/joe/public_html", a good location to install CaRP would be "/home/joe/carp" rather than "/home/joe/public_html/carp". However, if you see an error message about "safe mode", you may need to install CaRP inside your web directory. Upload all of the contents of the "carp" folder from the installation archive to the location chosen in the previous step. Upload carpsetup.php to your webserver (in a location where you'll be able to load it in your web browser). Recommendation: For simplicity, we recommend uploading it to your web root folder. For example, if your web folder is located at "/home/joe/public_html", upload it to there. Load carpsetup.php in your web browser. For example, if you uploaded it to "/home/joe/public_html/carpsetup.php" and your website address is http://www.webhost.com/~joe/, load http://www.webhost.com/~joe/carpsetup.php in your web browser. Follow the directions that are shown in that page. If you see a message about unsupported functions, that means that your web host has turned off support for functions which are necessary for CaRP to function. In that case, you will either need to contact your web host to see if they will re-enable those functions for you or install CaRP on a different server. Once you have successfully completed setup, delete carpsetup.php and carpsetupinc.php from your server. Quote
TCH-Bruce Posted April 15, 2006 Posted April 15, 2006 From reading that, upload the files to a folder called "carp" at the same level as "public_html". Upload the setup script to your "public_html" folder and access it using "h*tp://yourdomain.ext/carpsetup.php" If you are asked for a path during setup for where the carp folder is use >/home/your-cpanel-name/carp Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.