Phil Crane Posted September 9, 2007 Posted September 9, 2007 well i have a script im runnin on my forum that keeps timin out (white page) now on the forum imr unnign it on theres liek 6100 games i tested it on my test foruma nd i works (theres only 50 games ont hat one) at first i thougth it would be max execution or memory limit so i changed them to the below in php.ini: max_execution_time = 10000 memory_limit = 500mb Doing this has made no difference at all even after restarting the server. Is there soemthing im missing or something else i need to change because i cant even see any errors int he apache logs regarding the page timeout also is there a way i can view a mysql error log on the server as nothing is coming up int he cache folder either and it might possibly be sql
Phil Crane Posted September 9, 2007 Posted September 9, 2007 ok i just tried changin themt o this and stil lit times out so im completly lost now to what it is max_execution_time = 100000 memory_limit = 2048mb
bfarber Posted September 10, 2007 Posted September 10, 2007 Firstly, you'd want to do max_execution_time=0 memory_limit=2048M (it's not "mb" in the php.ini file, you just use capital "M"). However, it could be something else, since those would seem high enough to handle most things. Try adding to the top of your script ini_set('display_errors',1);error_reporting(E_ALL); Or turn error reporting on in php.ini when making the other edits. Also, remove any @ warning suppressors during testing.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.