Hello," r. @) M: X5 T3 U/ @) [
0 H F0 E0 q, Y, v7 `+ [At this time your installation directory is producing internal server errors due to improper server permissions
/ o, E0 {0 s* E2 ~2 f, S: _
4 L; p$ _8 x) Y% l# I7 J/ vAt 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:! p3 Q/ Z; y* g. s( A
# ?1 M) m) a) x
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).# k5 v$ p2 R) W* f1 A
# F6 H( s% m, E$ R* w2. 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.
' h& e( C9 Y* W2 c4 P" @! Y1 k$ w1 y1 v& H
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.
, T J- P7 E5 D8 c. Y6 o6 q$ w" e+ q. i5 I
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.
( n5 o7 ?" H( p% ?& ?' H w. ^3 L0 v
4 T) _+ P) ? m% JBecause 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:) \4 E$ ]2 j0 P, O% w' P% F
! `6 K+ K/ K8 T+ b; esuPHP_ConfigPath /home/username/public_html
y( s0 `6 c0 A0 j7 L+ W
6 s9 E+ w+ {4 I: _Please let us know if you have any questions or require further assistance.
8 A% c4 `6 T8 {) q6 b. Y, z7 C( a4 Y& M+ o1 K, w
--
- o5 A+ O/ ^; dKind Regards,
* o( e3 i" @3 e Z# c
# u6 h2 b% P$ D/ J" Q6 j1 ]1 ZTommy Wong2 j$ X( i6 y2 G# _! o
Phone: 1-714-521-8150 |
|