Hey, I felt I should share this with you...
When you are new to PHP and you are a mind boggler like me who wants things to happen fast for his career and all that…then you may find yourself thinking “I don’t want to host this site anywhere but right here in my room” that means you want to run your own small/personal hosting company.
As a developer, you may then test-run a simple download script larger than 8MB in size, only to get an error when you attempt to open the file on a suitable application.
Little issues like this can make you spend a good Sunday morning sweating especially when you have a deadline to beat for an application; well I guess with the open-source spirit don’t sweat it, just get to your ‘php.ini’ file and look for the line “Resource Limits”
You would find these three lines just change the last line to a size of your choice.
max_execution_time = 30 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)
Hey, you are gradually on the way to making an apache server configured and capable of running successfully on a live environment.
…Cheers!
No comments:
Post a Comment