I am still getting Internal Server Errors :( I have Silverstripe running on a GoDaddy Shared Linux Hosting Account with PHP 5.1.4 and MySQL 4.1. I think it has something to do with the PHP5 Memory Limit I'm not sure if GoDaddy is allowing the memory_limit to be changed. How can I determine if this is the case? And is there a way I can improve the performance of Silverstripe to fix this? Also why does Silverstripe have a higher memory limit than say Drupal for example?
This is my php5.ini file
===================================
allow_call_time_pass_reference = on
allow_url_fopen = on
expose_php = off
max_input_time = 160
variables_order = "EGPCS"
upload_tmp_dir = /tmp
precision = 14
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
session.save_path = "/tmp"
file_uploads = On
register_globals = off
upload_max_filesize = 700M
post_max_size = 1000M
max_execution_time = 300
memory_limit = 32M
this is my .htaccess file
===================================
### SILVERSTRIPE START ###
RewriteEngine On
RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$
RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* /sapphire/main.php5?url=%1&%{QUERY_STRING} [L]
### SILVERSTRIPE END ###
And I added this to sapphire/main.php
===================================
// I uncommented this line
ini_set("memory_limit","32M");
// I added this to redirect all requests for peterprins.biz to www.peterprins.biz to improve google ranking
if(!stristr($_SERVER["HTTP_HOST"], 'www')){
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.peterprins.biz" . $_SERVER["REQUEST_URI"]);
}