{"id":59,"date":"2009-05-16T15:22:47","date_gmt":"2009-05-16T21:22:47","guid":{"rendered":"http:\/\/rrbits.com\/epb\/?p=59"},"modified":"2011-02-06T17:40:00","modified_gmt":"2011-02-06T23:40:00","slug":"phpbb-304-doesnt-install-when","status":"publish","type":"post","link":"https:\/\/rrbits.com\/epb\/2009\/05\/16\/phpbb-304-doesnt-install-when\/","title":{"rendered":"phpBB 3.0.4 doesn&#8217;t install when&#8230;"},"content":{"rendered":"<p>In my testing to get phpBB 3.0.4 to install correctly with PHP 5.3.0RC2, I finally found the culprit causing it to abort during the requirements phase of installation!<!--more--><\/p>\n<p>$install-&gt;load()\u00a0 would create an install_install module and then load that, which eventually got to the get_available_dbms <span class=\"method-title\">function call which would then call <\/span> <span class=\"method-title\">can_load_dll if a particular DBMS extension was not available.\u00a0 Part of that function is a call to dl() to attempt to load a shared object during runtime. <\/span><\/p>\n<p><span class=\"method-title\"> Only problem is that dl() was not defined and thus it would encounter a fatal error.\u00a0 It wasn&#8217;t available in the php-cgi binary I built!\u00a0 Additionally, it wouldn&#8217;t display this fatal error because the call is made with error suppression.\u00a0 (I.E: @dl(&#8216;stuff&#8217;); )<br \/>\n<\/span><\/p>\n<pre><span class=\"method-title\">\/*So, I added this to code \r\n  install\/index.php to avoid this problem.*\/\r\nif(!function_exists('dl'))\r\n{\r\n   function dl($ext)\r\n   {\r\n      return false;\r\n   }\r\n}\r\n\r\n<\/span><\/pre>\n<p>So to conclude: phpBB 3.0.4 doesn&#8217;t install when dl() is not a defined function.\u00a0 Here is my configuration line for this build of PHP 5.3.0RC2<\/p>\n<p>.\/configure &#8216;&#8211;enable-fastcgi&#8217; &#8216;&#8211;with-zlib&#8217; &#8216;&#8211;with-bz2&#8217; &#8216;&#8211;with-mysql&#8217; &#8216;&#8211;enable-memory-limit&#8217; &#8216;&#8211;enable-exif&#8217; &#8216;&#8211;with-openssl&#8217; &#8216;&#8211;enable-mbstring&#8217; &#8216;&#8211;with-gd&#8217; &#8216;&#8211;with-mcrypt&#8217; &#8216;&#8211;enable-soap&#8217; &#8216;&#8211;enable-sockets&#8217; &#8216;&#8211;with-pear&#8217; &#8216;&#8211;with-curl&#8217; &#8216;&#8211;enable-force-cgi-redirect&#8217; &#8216;&#8211;prefix=\/php5.3.0RC2&#8217; &#8216;&#8211;enable-debug&#8217;<\/p>\n<p>Aside from this hiccup, most of the forum seems to be working as expected.\u00a0 (Though, there hasn&#8217;t been much testing of course.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my testing to get phpBB 3.0.4 to install correctly with PHP 5.3.0RC2, I finally found the culprit causing it to abort during the requirements phase of installation!<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-59","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/rrbits.com\/epb\/wp-json\/wp\/v2\/posts\/59","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rrbits.com\/epb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rrbits.com\/epb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rrbits.com\/epb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rrbits.com\/epb\/wp-json\/wp\/v2\/comments?post=59"}],"version-history":[{"count":4,"href":"https:\/\/rrbits.com\/epb\/wp-json\/wp\/v2\/posts\/59\/revisions"}],"predecessor-version":[{"id":290,"href":"https:\/\/rrbits.com\/epb\/wp-json\/wp\/v2\/posts\/59\/revisions\/290"}],"wp:attachment":[{"href":"https:\/\/rrbits.com\/epb\/wp-json\/wp\/v2\/media?parent=59"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rrbits.com\/epb\/wp-json\/wp\/v2\/categories?post=59"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rrbits.com\/epb\/wp-json\/wp\/v2\/tags?post=59"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}