{"id":582,"date":"2012-06-14T11:30:05","date_gmt":"2012-06-14T19:30:05","guid":{"rendered":"http:\/\/www.zenutech.com\/kb\/?p=582"},"modified":"2012-06-14T11:50:00","modified_gmt":"2012-06-14T19:50:00","slug":"php-uploadprogress-so-extension","status":"publish","type":"post","link":"https:\/\/www.zenutech.com\/kb\/article\/php-uploadprogress-so-extension\/","title":{"rendered":"Does Zenutech support PHP uploadprogress.so extension?"},"content":{"rendered":"<p>As of June 2012, we have added <a href=\"http:\/\/pecl.php.net\/package\/uploadprogress\/\" target=\"_blank\">PHP PECL&#8217;s extension uploadprogress.so<\/a> to all PHP 5.2 and PHP 5.3 servers.<\/p>\n<p>This addition mostly affect Zenutech clients wishing to use this feature as part of their Drupal installation.<\/p>\n<p>The extension uploadprogress.so by default uses the \/tmp\/ folder to upload temporary files. Since Zenutech has an enhanced security setup to prevent abuse, the \/tmp\/ is not writable by web hosting accounts.<br \/>\nTo circumvent this issue, we have overridden the default values for uploadprogress.so to the following:<\/p>\n<p>uploadprogress.file.contents_template\t\/home\/yourZenutechAccount\/.tmp\/upload_contents_%s<br \/>\nuploadprogress.file.filename_template\t\/home\/yourZenutechAccount\/.tmp\/upt_%s.txt<\/p>\n<p>This ensures that the files uploaded by the uploadprogress.so extension will be placed safely in your own&#8217;s account .tmp folder.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>uploadprogress.so is useful for Drupal installations<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,10],"tags":[234,276,277],"class_list":["post-582","post","type-post","status-publish","format-standard","hentry","category-linux-web-hosting","category-web-development","tag-drupal","tag-uploadprogress","tag-uploadprogress-so"],"_links":{"self":[{"href":"https:\/\/www.zenutech.com\/kb\/wp-json\/wp\/v2\/posts\/582","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zenutech.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zenutech.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zenutech.com\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zenutech.com\/kb\/wp-json\/wp\/v2\/comments?post=582"}],"version-history":[{"count":8,"href":"https:\/\/www.zenutech.com\/kb\/wp-json\/wp\/v2\/posts\/582\/revisions"}],"predecessor-version":[{"id":592,"href":"https:\/\/www.zenutech.com\/kb\/wp-json\/wp\/v2\/posts\/582\/revisions\/592"}],"wp:attachment":[{"href":"https:\/\/www.zenutech.com\/kb\/wp-json\/wp\/v2\/media?parent=582"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zenutech.com\/kb\/wp-json\/wp\/v2\/categories?post=582"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zenutech.com\/kb\/wp-json\/wp\/v2\/tags?post=582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}