Closed Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: PHP problems

  1. #1
    moparscaperules22 is offline x10Hosting Member moparscaperules22 is an unknown quantity at this point
    Join Date
    Mar 2011
    Posts
    16

    PHP problems

    hello the other day i used this program that had an ftp in it and i connected to my web host. I uploaded a .php site to it and i may have changed some permissions. Now my web host cannot have .php files in it like index.php for my home page. If i do i get the page 500, internal server error. None of my index's that are php and my scripts work and i need them too. I had to make my index's .html for them to work but i cannot do that for the scripts so please help too arrange this thanks.

    stoli user login: sharer
    ftp user: sharer@sharer.x10.mx
    ftp host: ftp.sharer.x10.mx
    site: sharer.x10.mx
    parked domain: thetrinityprogram.com

    please help thanks

  2. #2
    Skizzerz's Avatar
    Skizzerz is offline Contributors Skizzerz will become famous soon enough
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    2,153

    Re: PHP problems

    Hello,

    500 Internal Server Errors are caused by errors on your account that you can easily fix once you figure out what the error is. The common causes for 500 Internal Server Errors are below:
    1. Permissions. Files MUST be 644 and folders MUST be 755.
    2. Not specifying a RewriteBase when using RewriteRules in .htaccess.
    3. Trying to use php_flag or php_value in .htaccess.

    Please see our wiki page for more information.

  3. #3
    moparscaperules22 is offline x10Hosting Member moparscaperules22 is an unknown quantity at this point
    Join Date
    Mar 2011
    Posts
    16

    Re: PHP problems

    not the permissions changed EVERY file and directory to those even the cpanel folder, all the ones in my website, like tmp, public_ftp etc. and still not working.

    and the other 2 have no clue what to do.

    *EDIT: the scritps and index's.php where working before i uploaded and changed a permission and now im stuck and nothing is working except for .html
    Last edited by moparscaperules22; 07-04-2011 at 01:21 PM.

  4. #4
    Skizzerz's Avatar
    Skizzerz is offline Contributors Skizzerz will become famous soon enough
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    2,153

    Re: PHP problems

    Hello, please go into cPanel file manager and take a screenshot of your public_html folder, then upload it to tinypic or here as an attachment.
    As I said before, permissions are very strict. Folders MUST be 755 and files MUST be 644.

  5. #5
    moparscaperules22 is offline x10Hosting Member moparscaperules22 is an unknown quantity at this point
    Join Date
    Mar 2011
    Posts
    16

    Re: PHP problems

    k here. Still not working
    Attached Thumbnails Attached Thumbnails PHP problems-untitled.png  

  6. #6
    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: PHP problems

    Where are the .php files?
    Nothing is always absolutely so.

  7. #7
    moparscaperules22 is offline x10Hosting Member moparscaperules22 is an unknown quantity at this point
    Join Date
    Mar 2011
    Posts
    16

    Re: PHP problems

    well liek i said, had to make the index.php to index.html for all of them and the .php scripts and some other index.php's are in the sharer folder.

  8. #8
    Skizzerz's Avatar
    Skizzerz is offline Contributors Skizzerz will become famous soon enough
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    2,153

    Re: PHP problems

    Just one final question before I bump this up to people with more access to your account to resolve your problem
    Can you go one folder up and check the permissions of the public_html folder itself, as well as any .htaccess you may have in that folder (your home/root folder)?

  9. #9
    moparscaperules22 is offline x10Hosting Member moparscaperules22 is an unknown quantity at this point
    Join Date
    Mar 2011
    Posts
    16

    Re: PHP problems

    Public folder is 755 and the one .htaccess is in the public a soon as you enter it it is 644

  10. #10
    stpvoice's Avatar
    stpvoice is offline Community Support Rep stpvoice has a brilliant futurestpvoice has a brilliant futurestpvoice has a brilliant future
    Join Date
    Dec 2008
    Location
    United Kingdom
    Posts
    5,939

    Re: PHP problems

    Hello,

    Try CHMODding the public_html directory 750.


Closed Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 1
    Last Post: 07-26-2010, 09:05 AM
  2. Cpanel login problems and site problems
    By thegofadmin in forum Free Hosting
    Replies: 4
    Last Post: 07-26-2010, 01:59 AM
  3. Replies: 3
    Last Post: 06-05-2010, 09:37 PM
  4. Replies: 9
    Last Post: 11-09-2008, 01:42 PM
  5. cPanel Problems-Password problems
    By earnthenspend in forum Free Hosting
    Replies: 1
    Last Post: 04-21-2008, 07:52 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