have a php script that runs for a few minutes. It creates a lot (up to 10000) of small (2-20K) files on the server.
For some reason, after approximately 90 seconds, I always get a 500 Internal Server Error. I thought it might be some php.ini problem, so I edited some values there:
max_execution_time = 1000
max_input_time = 1000
default_socket_timeout = 1000
memory_limit = 400M
post_max_size = 100M
file_uploads = On
upload_max_filesize = 100M
I also checked to see if these new settings occurred by using phpinfo(), and have seen that they did take effect.
What else can I do/change in order to make my script work?
PHP5.5 Windows Server 2008 R2, SP1, Unfortunately, only 600 MB of physical memory Nothing in errors_log.