Menu

BASIC HELP NEEDED

Help
Helge j
2000-10-31
2000-10-31
  • Helge j

    Helge j - 2000-10-31

    As a complete newbie to php I need some basic help:
    my site is hosted on an Apache server with MySQL and mod_perl.
    What I need to know is what folders and files need to be uploaded? All or just the ones in the public_html folder.

    I wold appreciate this basic help - thank u

     
    • Jason Wies

      Jason Wies - 2000-10-31

      First of all, read the installation instructions at https://sourceforge.net/docman/display_doc.php?docid=314&group_id=8677

      Your webserver needs PHP support, which most have (especially if you have MySQL and mod_perl).  To test if you have PHP support, simply create the file test.php with this content:
      <? phpinfo(); ?>
      Then try accessing test.php from the web.  If you get a big long page with information about PHP, you have it installed.  If not, you need to talk to your system adminstrator and point him/her to http://php.net .

      You will also need to know your MySQL username and password.  If you don't have one, talk to your sys admin.  If you have root, or if you can convince your administrator to add a new account for you for PHPWebHosting, just run 'mysql -uroot -p < /path/to/phpwebhosting/sql/user.sql'.  In fact, you can just point your admin to the INSTALL file and it describes every step.

      You did read the installation instructions, right?  I'm not going to repeat myself much.  The best way to do it is to upload the phpwebhosting tar file into your main directory (public_html usually) and untar it.  You should then have a phpwebhosting-version folder.  Rename it to phpwebhosting.  Then go through the installation file step by step.  Change the SQL settings in sql.inc, the path settings in main.inc.  Its mostly self explanatory, and there are comments in the files themselves that will help you with each option.

      Then it should work.  Consult the other post in this forum from today for help with permissions on your directories.  Note that this way of installing and setting up is pretty common with PHP applications.  Some are a bit nicer and offer web-based installation, which PHPWebHosting will do someday, but most make you change the SQL and path settings by hand.

      Hope this helps.  Reply if you need any more help.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.