{"id":1981,"date":"2014-12-01T21:07:47","date_gmt":"2014-12-01T08:07:47","guid":{"rendered":"http:\/\/www.zoyinc.com\/?p=1981"},"modified":"2014-12-01T21:41:29","modified_gmt":"2014-12-01T08:41:29","slug":"segmentation-faults-uploading-images-in-wordpress","status":"publish","type":"post","link":"http:\/\/www.zoyinc.com\/?p=1981","title":{"rendered":"Segmentation faults uploading images in WordPress"},"content":{"rendered":"<p>When I tried uploading images I started getting a &#8220;HTTP error&#8221;. Not all images but quite a lot and it wasn&#8217;t just big images or even the biggest images. I noticed this just after the automatic upgrade to WordPress 4.0.1, but having said that I hadn&#8217;t done an upload since I had to rollback my web server due to file corruption.<\/p>\n<p>I am running Apache 2.4 on Fedora 18 with PHP 5.4.17.<\/p>\n<p>Then I looked in the Apache logs (httpd) and saw:<\/p>\n<pre class=\"crayon:false;\">[Sun Nov 30 07:51:36.412660 2014] [core:notice] [pid 1194] AH00094: Command line: '\/usr\/sbin\/httpd -D FOREGROUND'\r\n[Sun Nov 30 07:53:54.850385 2014] [core:notice] [pid 1194] AH00052: child pid 1786 exit signal Segmentation fault (11)\r\n[Sun Nov 30 07:53:55.852319 2014] [core:notice] [pid 1194] AH00052: child pid 2192 exit signal Segmentation fault (11)\r\n[Sun Nov 30 09:05:15.905318 2014] [core:notice] [pid 1194] AH00052: child pid 2628 exit signal Segmentation fault (11)\r\n[Sun Nov 30 09:05:16.907217 2014] [core:notice] [pid 1194] AH00052: child pid 2666 exit signal Segmentation fault (11)<\/pre>\n<p>I couldn&#8217;t find anything especially helpful and eventually upgraded PHP to 5.4.23 which seemed to resolve the problem.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When I tried uploading images I started getting a &#8220;HTTP error&#8221;. Not all images but quite a lot and it wasn&#8217;t just big images or even the biggest images. I noticed this just after the automatic upgrade to WordPress 4.0.1, but having said that I hadn&#8217;t done an upload since I had to rollback my [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":902,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[85,5,10],"tags":[305,296,251,297],"class_list":["post-1981","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apache","category-fedora","category-wordpress","tag-apache","tag-fedora","tag-php","tag-wordpress"],"_links":{"self":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/1981","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1981"}],"version-history":[{"count":4,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/1981\/revisions"}],"predecessor-version":[{"id":1985,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/1981\/revisions\/1985"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/media\/902"}],"wp:attachment":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1981"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1981"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1981"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}