Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Aug 2006
    Location
    Orange CA
    Posts
    2

    Angry Need help with were to put php files

    I understand that the php file for my site are be in:
    /home/username/public_html/test/

    I have put a file called login.php in /home/username/public_html/test/ the username is the one account I have created in CPANEL. Browsing with IE 6.0.2x to the URL returns a blank page.

    When I copy the PHP files to /usr/local/apache/htdocs/test/ I can brows to the site all works ok.

    What do I need to get the site to work from /home/username/public_html/ ???

    Thank for any help.

    rgman

  2. #2
    Member
    Join Date
    Jun 2006
    Posts
    92

    Post

    You need to upload your PHP files under /home/username/public_html/firstpage.php
    directory. And browse php pages with following url:

    www.yourdomainname.com/firstpage.php


  3. #3
    Registered User
    Join Date
    Aug 2006
    Location
    Orange CA
    Posts
    2

    Question Still not working

    I moved the login.php file to the /home/username/public_html/ directory but it still will not work from there. It does work when the file is in /usr/local/apache/htdocs/test/

    When I brows to my url at www.mydomain.net/login.php and I get a page can not be found.

Similar Threads & Tags
Similar threads

  1. Replies: 13
    Last Post: 02-17-2012, 05:25 PM
  2. Individual php.ini files for PHP FCGI and PHP CGI
    By Miraenda in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 08-22-2011, 08:55 AM
  3. where to put index files?
    By navid120 in forum New User Questions
    Replies: 3
    Last Post: 04-23-2011, 10:05 PM
  4. SuPHP Question - making .html files behave as .php files
    By Doug E in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-02-2010, 09:47 AM
  5. Where to put the game files?
    By s2000hawaii in forum cPGS Discussions
    Replies: 2
    Last Post: 11-12-2008, 02:25 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube