+ Reply to Thread
Results 1 to 7 of 7

Thread: PHP Server Error

  1. #1
    Join Date
    Dec 2007
    Posts
    4

    Default PHP Server Error

    Hi, I'm just setting up my PHP and databases, and any pages I try to use actual PHP in (just an open and close <?php ?> or <? ?> - not even any real code) throws a 500 Internal Server Error. A .php file with no code will work fine, so I don't think I have a MIME problem.

    I've installed the PHP5 default php.ini file, and I'm a little lost at what to try next. Anyone have suggestions?

  2. #2
    Join Date
    Nov 2007
    Location
    Ipswich
    Posts
    29

    Default

    what are you exactly tring to set up?
    Kevin George Web Design©
    http://www.kgwd.co.uk

    Kevin George Web Hosting©
    http://www.kgwdhost.com

  3. #3
    Join Date
    Dec 2007
    Posts
    4

    Default

    Just a standard web server. I'm using it to build some test projects.

  4. #4
    Join Date
    Nov 2007
    Location
    Ipswich
    Posts
    29

    Default

    do you have php activated on yoor account???
    Kevin George Web Design©
    http://www.kgwd.co.uk

    Kevin George Web Hosting©
    http://www.kgwdhost.com

  5. #5
    Join Date
    Dec 2007
    Posts
    4

    Default

    I think so. Where would I check?

  6. #6
    Join Date
    Nov 2007
    Location
    Ipswich
    Posts
    29

    Default

    in software and services there should be an icon saying php config you should have one check in the box
    Kevin George Web Design©
    http://www.kgwd.co.uk

    Kevin George Web Hosting©
    http://www.kgwdhost.com

  7. #7

    Default

    If you are trying to set this all up on your Hostmonster account, there should be no reason you have to install a php.ini file for any reason. It should already be there.

    Installing a PHP5 php.ini file if you have an account that is using PHP4 will definately throw errors your way. If your account was missing an ini file, then you should contact support and ask them to correct the problem.

    ~regards, and welcome to the community!
    He is no fool that gives what he cannot keep to gain what he cannot lose. - Jim Elliot
    4ChristMinistry.org - Web development tutorials and Community forum.
    Demos - Kicking the tires on some popular software.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts