tanertombas's avatar

stream_socket_sendto(): Broken pipe

I get an error when I upload a 14 MB file. it occurs at the time of request and does not allow me to take any action. I am changing php.ini settings in index.php. Small files are loading, but stream_socket_sendto (): Broken pipe in large files.

ini_set('file_uploads', 'On'); ini_set('upload_tmp_dir', '/tmp'); ini_set('upload_max_filesize', 24); ini_set('post_max_size', 32);

0 likes
2 replies
tanertombas's avatar

@CRONIX - We set it in php.ini but it was not working so we set it in .htaccess under public. This worked.

Please or to participate in this conversation.