> If your host is running suPHP instead of normal PHP then that is most
> > likely your problem.
>
> > From Lunarpages.com:
> > ---
> > Your .htaccess file has php_values or php_flags in it. This causes a
> > 500 Internal server error when attempting to execute the script.
>
> > 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
> > calledphp.ini. Remember to remove the php_flag and php_value part
> > before the directives asphp.inifiles do not require those in front
> > of the values. You can always make the changes and ask us if the
> > changed files are correct.
>
> > Becausephp.inivalues are not shared across directories, you would
> > need a separatephp.inifile 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_htmlphp.inito be shared across all
> > folder. This line would be the following:
>
> > suPHP_ConfigPath /home/username/public_html
> > ---
>
> > So, instead of "php_flag magic_quotes_gpc off" in your .htaccess file,
> > you would put:
>
> > magic_quotes_gpc = Off
>
> > ...in yourphp.inifile and:
- ocultar texto citado -
>
> > suPHP_ConfigPath /path/to/your/ini/file
>
> > ...in your .htaccess file
No comments:
Post a Comment