Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

php/cpanel error

Discussion in 'General Discussion' started by monkeyman25, Jul 3, 2004.

  1. monkeyman25

    monkeyman25 Member

    Joined:
    Jun 6, 2004
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    151
    I have recently setup a dedicated server. Now when ever you try to go to a .php file or a directory with index.php i get a DNS error saying Could Not Find Server. I dont know if this has to do with cpanel or not but i hope someone can help me.:D
     
  2. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    191
    Do these pages have connections to a database in them? If they do, restart the database server (mysql or postgresql).
     
  3. monkeyman25

    monkeyman25 Member

    Joined:
    Jun 6, 2004
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    151
    nope. any php file.
     
  4. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    191
    In that case I would suggest recompiling php and apache.
     
  5. monkeyman25

    monkeyman25 Member

    Joined:
    Jun 6, 2004
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    151
    how do i do that
     
  6. Sheldon

    Sheldon Well-Known Member

    Joined:
    Jun 7, 2004
    Messages:
    378
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Canada
    either via whm "Update Apache"

    or by command line

    /scripts/easyapache

    choose option 1 or 4 (both are nice options)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice