The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need some Help

Discussion in 'General Discussion' started by 52niner, Oct 30, 2004.

  1. 52niner

    52niner Registered

    Joined:
    Oct 29, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    The server I got comes with PHP and mysql installed.

    I have no idea how to set the dang thing up so that the basic PHP page shows when I click the link to my website. Once I get there I will be ok but I've read some tutorials and I just don't get it.

    What I'm trying to do is in my cpanel to setup the mysql and the apache so I can view the dang PHP page and start working on my site. IS this making any sense to anyone?


    Thanks for any help I'm soo lost Jason
     
  2. dave9000

    dave9000 Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    891
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    arkansas
    cPanel Access Level:
    Root Administrator
    If I understand what your asking correct. You will need to add index.php to this section of your httpd.conf and then restart apache

    <IfModule mod_dir.c>
    DirectoryIndex index.html index.wml index.cgi index.shtml index.jsp index.js index.jp index.php4 index.php3 index.php index.phtml index.htm default.htm default.html home.htm
    </IfModule>
     
  3. mistress sally

    Joined:
    Nov 27, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    join the club jason

    join the club jason i put a pAGE UP ON FTP
    an it shows totally different colors cant get to apache lol
    if any 1 out theres lknows i'd like to know also
     
  4. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    make up a page phpinfo.php;

    add the lines :

    <?phpinfo();?>

    upload it to any domain and access it. let me know what u see.
     
Loading...

Share This Page