Jump to content

Recommended Posts

I get this error when trying to download a file from a URL using a script form PHPatm.

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 67107842 bytes) in *\index.php on line 1647

 

My php.ini settings are below:

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 60     ; Maximum execution time of each script, in seconds
max_input_time = 120	; Maximum amount of time each script may spend parsing request data
memory_limit = 128M      ; Maximum amount of memory a script may consume (8MB)

;;;;;;;;;;;;;;;;;;;;;;;;

; Maximum size of POST data that PHP will accept.
post_max_size = 64M

 

I am not sure if there is a maximum memory size for sockets or something.. Please help me out here.

Link to comment
https://forums.phpfreaks.com/topic/67566-socket-memory-limit/
Share on other sites

oh cmon, please help me?  The longer people can't upload by URL the mroe angry emails I get in my already full inbox.

 

NON SOLICITED LINK:  (To see the error) http://24.86.150.207/downloads/index.php (I have temporarily allowed url uploading to guests)

Link to comment
https://forums.phpfreaks.com/topic/67566-socket-memory-limit/#findComment-339398
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.