Hello,6 o/ i l7 y7 A) W1 L, E8 ^
$ [$ }) l7 G# I, q. y7 A; r2 d
At this time your installation directory is producing internal server errors due to improper server permissions; J2 a- Y( A& L
4 h: d8 j1 @ U/ MAt Lunarpages, our servers are setup to use suPHP to parse php pages as CGI instead of an Apache module. If you are running a PHP-based script on your site and are receiving a 500 and/or 404 errors on your pages, it is likely you have one or more of the following occurring:
( @$ B# n k" }, \( [3 ~( p
, W- p' o/ o) f, B: [0 |1. The permissions on some of the folders or files are 777 or 666. If this is the case, change them to either 755 (for folders) or 644 (for files)in Cpanel's File Manager (or using your local FTP client).# q: I* ~; s7 o7 t! w8 ?
( v, o! \- z2 C0 C2. The files and/or folders are not owned by you. Certain applications having been run under php as an apache module may have files owned by the apache user of nobody. An indication that you don't own the files would be if you are unable to change their file permissions. To correct this, please provide your username or domain name, and provide the location of the folder or files that need to have your ownership.- A9 r6 L- r$ e% [6 W
0 A& S- r" W% T; F: D) {* \1 I
3. Your .htaccess file has php_values or php_flags in it. This causes a 500 Internal server error when attempting to execute the script.# M' H J- J1 q$ E
# d! e8 s. y. e ~/ Y9 v
The php_values and php_flags will need to be removed from your .htaccess file (please make a backup of the .htaccess by copying its contents and saving it on your desktop as htaccess.txt). Take the contents removed from .htaccess and place it into a file you create called php.ini. Remember to remove the php_flag and php_value part before the directives as php.ini files do not require those in front of the values. You can always make the changes and ask us if the changed files are correct.
5 ?. H6 c5 V" `4 N
4 O# t+ {: }) k, M0 P% KBecause php.ini values are not shared across directories, you would need a separate php.ini file in each folder that has .htaccess or that requires the php_values or php_flags. In order to avoid doing this, you can place a line in the .htaccess file in your public_html folder to have all values in your public_html php.ini to be shared across all folder. This line would be the following:" b; _" a! `1 g! G* M
K5 U6 @' ^% {" f: A7 p' CsuPHP_ConfigPath /home/username/public_html1 ~& p, V9 A2 y; U
% r) S8 Y9 [( w# A2 E
Please let us know if you have any questions or require further assistance.
! b9 k7 ]5 r7 `" T1 p7 w( K; A( w7 _; A+ ]# p
-- 4 n. T& p( \) v- W( [
Kind Regards," |' ?; `2 N: T! g [# {
+ ~6 W( m$ }" W8 L! J$ \4 CTommy Wong
$ |, K e4 a$ a9 r! T( WPhone: 1-714-521-8150 |
|