{"id":312,"date":"2015-04-18T13:40:40","date_gmt":"2015-04-18T04:40:40","guid":{"rendered":"http:\/\/manatails.net\/blog\/?p=312"},"modified":"2022-04-03T13:48:55","modified_gmt":"2022-04-03T04:48:55","slug":"installing-php-5-4-on-solaris-11","status":"publish","type":"post","link":"https:\/\/manatails.net\/blog\/2015\/04\/installing-php-5-4-on-solaris-11\/","title":{"rendered":"Installing PHP 5.4 on Solaris 11"},"content":{"rendered":"<p>$ wget -O php.tar.bz2 http:\/\/link\/to\/the\/php\/file<br \/>\n$ tar xvjf php.tar.bz2<br \/>\n$ cd php-5.4.*<br \/>\n$ .\/configure &#8211;with-apxs2=\/usr\/apache2\/2.2\/bin\/apxs &#8211;prefix=\/usr\/php\/5.4<br \/>\n$ gsed -ibak &#8216;s,\\-mt,,&#8217; Makefile<br \/>\n$ gsed -i.bak &#8216;s,\\-i \\-a \\-n php5 libphp5\\.la,-i -n php5 libphp5.la,&#8217; Makefile<br \/>\n$ gmake -j16<\/p>\n<p>make a copy of php\/php5.3.conf and rename it to php5.4.conf <\/p>\n<p>Replace in the file: 5.3 with 5.4<br \/>\nand replace the original module with: LoadModule php5_module libexec\/libphp5.so<\/p>\n<p>then change php.conf and redirect the includes to the new php5.4.conf file<\/p>\n","protected":false},"excerpt":{"rendered":"<p>$ wget -O php.tar.bz2 http:\/\/link\/to\/the\/php\/file $ tar xvjf php.tar.bz2 $ cd php-5.4.* $ .\/configure &#8211;with-apxs2=\/usr\/apache2\/2.2\/bin\/apxs &#8211;prefix=\/usr\/php\/5.4 $ gsed -ibak &#8216;s,\\-mt,,&#8217; Makefile $ gsed -i.bak &#8216;s,\\-i \\-a \\-n php5 libphp5\\.la,-i -n php5 libphp5.la,&#8217; Makefile $ gmake -j16 make a copy of php\/php5.3.conf and rename it to php5.4.conf Replace in the file: 5.3 with 5.4 and replace &hellip; <a href=\"https:\/\/manatails.net\/blog\/2015\/04\/installing-php-5-4-on-solaris-11\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Installing PHP 5.4 on Solaris 11<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[82,81,80],"class_list":["post-312","post","type-post","status-publish","format-standard","hentry","category-computer","tag-apache","tag-php","tag-solaris"],"_links":{"self":[{"href":"https:\/\/manatails.net\/blog\/wp-json\/wp\/v2\/posts\/312","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/manatails.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/manatails.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/manatails.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/manatails.net\/blog\/wp-json\/wp\/v2\/comments?post=312"}],"version-history":[{"count":3,"href":"https:\/\/manatails.net\/blog\/wp-json\/wp\/v2\/posts\/312\/revisions"}],"predecessor-version":[{"id":316,"href":"https:\/\/manatails.net\/blog\/wp-json\/wp\/v2\/posts\/312\/revisions\/316"}],"wp:attachment":[{"href":"https:\/\/manatails.net\/blog\/wp-json\/wp\/v2\/media?parent=312"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/manatails.net\/blog\/wp-json\/wp\/v2\/categories?post=312"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/manatails.net\/blog\/wp-json\/wp\/v2\/tags?post=312"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}