PHP problems

Status
Not open for further replies.

moparscaperules22

New Member
Messages
16
Reaction score
0
Points
0
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
 

Skizzerz

Contributors
Staff member
Contributors
Messages
2,928
Reaction score
118
Points
63
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.
 

moparscaperules22

New Member
Messages
16
Reaction score
0
Points
0
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:

Skizzerz

Contributors
Staff member
Contributors
Messages
2,928
Reaction score
118
Points
63
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.
 

moparscaperules22

New Member
Messages
16
Reaction score
0
Points
0
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.
 

Skizzerz

Contributors
Staff member
Contributors
Messages
2,928
Reaction score
118
Points
63
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)?
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
Hello,

Try CHMODding the public_html directory 750.
 

moparscaperules22

New Member
Messages
16
Reaction score
0
Points
0
how do i do so? im using filezilla

edit: ok so do you mean set all files in that directory to 750 or only the public_html? and chmodding is the permissions right?
 
Last edited:

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
chmod = setting permissions

You set just public_html to 750
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Do you have an .htaccess file in /sharer ? If so, post the contents here. (I am assuming your screenshot of public_html with an .htaccess file of 0b is accurate. )
 
Last edited:

moparscaperules22

New Member
Messages
16
Reaction score
0
Points
0
correct. The .htaccess in the public folder has nothing in it, it is 0 bytes and no i do not have one in sharer and never did and they worked before now it stopped out of no where? :(
 

moparscaperules22

New Member
Messages
16
Reaction score
0
Points
0
correct. The .htaccess in the public folder has nothing in it, it is 0 bytes and no i do not have one in sharer and never did and they worked before now it stopped out of no where? :(
 
Status
Not open for further replies.
Top