Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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.

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...