Closed Thread
Results 1 to 4 of 4

Thread: Error PHP

  1. #1
    scdias is offline x10Hosting Member scdias is an unknown quantity at this point
    Join Date
    Aug 2008
    Posts
    4

    Error PHP

    Open http://scdias.x10.mx/index1.php and show error "Internal Server Error"
    If open a html page (http://scdias.x10.mx/index2.html) all works fine
    The code that i have in index1.php is
    <?php
    echo $_SERVER['REMOTE_ADDR'];
    ?>

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,635

    Re: Error PHP

    Make sure the permissions for that file are set to 0644
    Nothing is always absolutely so.

  3. #3
    scdias is offline x10Hosting Member scdias is an unknown quantity at this point
    Join Date
    Aug 2008
    Posts
    4

    Re: Error PHP

    Quote Originally Posted by descalzo View Post
    Make sure the permissions for that file are set to 0644
    yes.
    the file permisson is 0644
    I create a index3.php with the same code and set the permission to 0777 and i get the same error

  4. #4
    scdias is offline x10Hosting Member scdias is an unknown quantity at this point
    Join Date
    Aug 2008
    Posts
    4

    Re: Error PHP

    I think that i have the problem resolved
    The public_html folder premission was set to 777 and i change to 755 and now is working

Closed Thread

Similar Threads

  1. Replies: 2
    Last Post: 06-25-2011, 08:42 AM
  2. Replies: 3
    Last Post: 02-16-2011, 09:42 AM
  3. Replies: 1
    Last Post: 08-20-2010, 03:26 AM
  4. Replies: 1
    Last Post: 03-03-2008, 10:58 AM
  5. Replies: 1
    Last Post: 09-01-2007, 02:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers