{"id":137,"date":"2009-10-29T20:35:00","date_gmt":"2009-10-29T20:35:00","guid":{"rendered":"http:\/\/www.sandg-anime-reviews.net\/?p=137"},"modified":"2009-10-29T20:35:00","modified_gmt":"2009-10-29T20:35:00","slug":"php-5211-installation-problems","status":"publish","type":"post","link":"http:\/\/www.sandg-anime-reviews.net\/?p=137","title":{"rendered":"PHP 5.2.11 installation problems"},"content":{"rendered":"<p>Managed to install PHP version 5.2.11 on a development computer after several evenings of struggle. I previously used PHP 3 and PHP 4 and I don&#8217;t recollect any trouble in installing them.\u00c2\u00a0 PHP 5 suffers from too many options: CGI, ATAPI, FastCGI,\u00c2\u00a0 thread-safe, non-thread-safe&#8230; Having selected one of these, you have to select a manual install or an automatic .msi scripted install.\u00c2\u00a0 Then you have to select various options during the install.<\/p>\n<p>Then you find it doesn&#8217;t work.<\/p>\n<p>PHP forgot to tell you that the installer script doesn&#8217;t really complete the installation, and there are further cryptic options you have to find and set. You only find this out by trawling the Web for solutions. Thousands of frustrated people have been there before you.<\/p>\n<p>Then you find it still doesn&#8217;t work.<\/p>\n<p>I found several bugs in mine, as follows:<\/p>\n<p>1) php.ini file left over from previous attempt to install in another folder -not helpful!<\/p>\n<p>2) File not found error &#8211; caused by IIS pointing to wrong .php location.<\/p>\n<p>3) IIS doesn&#8217;t like spaces in path &#8211; so enclose path in &#8220;&#8221; quotes (e.g. &#8220;c:\/program files\/php\/php-cgi.exe&#8221;) if php directory is in Program Files.<\/p>\n<p>4) Silent time-out when accessing .php file: If you downloaded the cgi option (intentionally or otherwise) it works better if you point IIS at php-cgi.exe not php.exe.<\/p>\n<p>As you&#8217;ll have gathered, I&#8217;m not at all impressed by this.\u00c2\u00a0 Obviously this software\u00c2\u00a0 desperately needs a proper installer that will install a default version and configure it so that it WORKS, as well as offering experts the option to twiddle.\u00c2\u00a0 Open source at its worst. The developers clearly feel no pressure to make their product user-friendly.\u00c2\u00a0 They need a kick up the backside.\u00c2\u00a0\u00c2\u00a0 Microsoft php. anyone?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Managed to install PHP version 5.2.11 on a development computer after several evenings of struggle. I previously used PHP 3 and PHP 4 and I don&#8217;t recollect any trouble in installing them.\u00c2\u00a0 PHP 5 suffers from too many options: CGI, ATAPI, FastCGI,\u00c2\u00a0 thread-safe, non-thread-safe&#8230; Having selected one of these, you have to select a manual &hellip; <a href=\"http:\/\/www.sandg-anime-reviews.net\/?p=137\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;PHP 5.2.11 installation problems&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"http:\/\/www.sandg-anime-reviews.net\/index.php?rest_route=\/wp\/v2\/posts\/137"}],"collection":[{"href":"http:\/\/www.sandg-anime-reviews.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.sandg-anime-reviews.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.sandg-anime-reviews.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.sandg-anime-reviews.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=137"}],"version-history":[{"count":0,"href":"http:\/\/www.sandg-anime-reviews.net\/index.php?rest_route=\/wp\/v2\/posts\/137\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.sandg-anime-reviews.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=137"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.sandg-anime-reviews.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=137"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.sandg-anime-reviews.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=137"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}