<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:series="http://unfoldingneurons.com/"
		>
<channel>
	<title>Comments on: Installing PHP 5.3 On Ubuntu</title>
	<atom:link href="http://www.brandonsavage.net/installing-php-5-3-on-ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brandonsavage.net/installing-php-5-3-on-ubuntu/</link>
	<description>The personal blog of Brandon Savage. Contains entries of a personal and professional nature focusing on PHP, Apple, LAMP, MySQL and Washington, DC.</description>
	<lastBuildDate>Fri, 03 Feb 2012 19:36:33 -0500</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Er Galvao Abbott</title>
		<link>http://www.brandonsavage.net/installing-php-5-3-on-ubuntu/#comment-2963</link>
		<dc:creator>Er Galvao Abbott</dc:creator>
		<pubDate>Mon, 22 Feb 2010 20:18:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=429#comment-2963</guid>
		<description>Oh, and another important thing: PECL modules won&#039;t install properly unless you install autoconf:

sudo apt-get install autoconf

(automake will be installed as a dependency of autoconf by default)

Galvao</description>
		<content:encoded><![CDATA[<p>Oh, and another important thing: PECL modules won&#8217;t install properly unless you install autoconf:</p>
<p>sudo apt-get install autoconf</p>
<p>(automake will be installed as a dependency of autoconf by default)</p>
<p>Galvao</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Er Galvao Abbott</title>
		<link>http://www.brandonsavage.net/installing-php-5-3-on-ubuntu/#comment-2962</link>
		<dc:creator>Er Galvao Abbott</dc:creator>
		<pubDate>Mon, 22 Feb 2010 20:17:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=429#comment-2962</guid>
		<description>Hey Brandon, I&#039;ve just realized the following:

PHP&#039;s interactive shell (php -a) won&#039;t work properly unless you:

1) sudo apt-get install libreadline6-dev
2) Include --with-readline in the configure line

Ref.: http://bugs.php.net/bug.php?id=48759

Cheers,

Galvao</description>
		<content:encoded><![CDATA[<p>Hey Brandon, I&#8217;ve just realized the following:</p>
<p>PHP&#8217;s interactive shell (php -a) won&#8217;t work properly unless you:</p>
<p>1) sudo apt-get install libreadline6-dev<br />
2) Include &#8211;with-readline in the configure line</p>
<p>Ref.: <a href="http://bugs.php.net/bug.php?id=48759" rel="nofollow">http://bugs.php.net/bug.php?id=48759</a></p>
<p>Cheers,</p>
<p>Galvao</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith</title>
		<link>http://www.brandonsavage.net/installing-php-5-3-on-ubuntu/#comment-2933</link>
		<dc:creator>Keith</dc:creator>
		<pubDate>Wed, 03 Feb 2010 12:44:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=429#comment-2933</guid>
		<description>Thanks for the advice! A useful feature I&#039;ve found in Ubuntu for building from source is the &quot;build-dep&quot; command for apt-get. Running:

sudo apt-get build-dep php5

Will install most of the dependencies above automatically.

On a side note, I haven&#039;t ever installed two version of PHP side-by-side before. If I started with an installation on PHP5 from the repos, and then install PHP 5.3 from source with --prefix=/usr/local, can I then toggle between the different versions for testing? Anyone know where the version of PHP5 from the repos installs to by default? 

Last question: it looks like the new install doesn&#039;t know where to find some of the existing modules (e.g. xdebug). From phpinfo(),

&quot;Scan this dir for additional .ini files&quot; is listed to (none).

Is this the option that needs to be set in order for the new install to find xdebug, etc? Any idea what needs to be changed in the above configure command? The modules from the repo install are located in: /usr/lib/php5/20060613+lfs/.

Any advice would be greatly appreciated :)

Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks for the advice! A useful feature I&#8217;ve found in Ubuntu for building from source is the &#8220;build-dep&#8221; command for apt-get. Running:</p>
<p>sudo apt-get build-dep php5</p>
<p>Will install most of the dependencies above automatically.</p>
<p>On a side note, I haven&#8217;t ever installed two version of PHP side-by-side before. If I started with an installation on PHP5 from the repos, and then install PHP 5.3 from source with &#8211;prefix=/usr/local, can I then toggle between the different versions for testing? Anyone know where the version of PHP5 from the repos installs to by default? </p>
<p>Last question: it looks like the new install doesn&#8217;t know where to find some of the existing modules (e.g. xdebug). From phpinfo(),</p>
<p>&#8220;Scan this dir for additional .ini files&#8221; is listed to (none).</p>
<p>Is this the option that needs to be set in order for the new install to find xdebug, etc? Any idea what needs to be changed in the above configure command? The modules from the repo install are located in: /usr/lib/php5/20060613+lfs/.</p>
<p>Any advice would be greatly appreciated :)</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pat Collins</title>
		<link>http://www.brandonsavage.net/installing-php-5-3-on-ubuntu/#comment-2863</link>
		<dc:creator>Pat Collins</dc:creator>
		<pubDate>Fri, 15 Jan 2010 16:22:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=429#comment-2863</guid>
		<description>I&#039;ve created some build scripts that will download and install PHP 5.3 and dependencies (uses Ruby and Rake to emulate the build dependencies) into a standalone folder, helpful for testing out custom PHP builds in an isolated environment. Check it out:

http://github.com/patcoll/buildphp</description>
		<content:encoded><![CDATA[<p>I&#8217;ve created some build scripts that will download and install PHP 5.3 and dependencies (uses Ruby and Rake to emulate the build dependencies) into a standalone folder, helpful for testing out custom PHP builds in an isolated environment. Check it out:</p>
<p><a href="http://github.com/patcoll/buildphp" rel="nofollow">http://github.com/patcoll/buildphp</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Not Relevant</title>
		<link>http://www.brandonsavage.net/installing-php-5-3-on-ubuntu/#comment-2681</link>
		<dc:creator>Not Relevant</dc:creator>
		<pubDate>Sun, 13 Dec 2009 20:14:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=429#comment-2681</guid>
		<description>for those of you experienceing the zend_parse_paramater error from apache2, while loading libphp5.so:

/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: undefined symbol: zend_parse_parameters 

take a look at the ./configure output.  if you get a message saying something similar to:

configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1 (found: none).

try installing bison: sudo apt-get install bison

then make distclean
then ./configure ...
then make
then make -i install

http://www.linuxforums.org/forum/redhat-fedora-linux-help/87975-configuring-php-work-apache.html</description>
		<content:encoded><![CDATA[<p>for those of you experienceing the zend_parse_paramater error from apache2, while loading libphp5.so:</p>
<p>/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: undefined symbol: zend_parse_parameters </p>
<p>take a look at the ./configure output.  if you get a message saying something similar to:</p>
<p>configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1 (found: none).</p>
<p>try installing bison: sudo apt-get install bison</p>
<p>then make distclean<br />
then ./configure &#8230;<br />
then make<br />
then make -i install</p>
<p><a href="http://www.linuxforums.org/forum/redhat-fedora-linux-help/87975-configuring-php-work-apache.html" rel="nofollow">http://www.linuxforums.org/forum/redhat-fedora-linux-help/87975-configuring-php-work-apache.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: teh b</title>
		<link>http://www.brandonsavage.net/installing-php-5-3-on-ubuntu/#comment-2670</link>
		<dc:creator>teh b</dc:creator>
		<pubDate>Sat, 12 Dec 2009 13:30:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=429#comment-2670</guid>
		<description>Thanks man,
your article was very helpful!</description>
		<content:encoded><![CDATA[<p>Thanks man,<br />
your article was very helpful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guillaume Plessis</title>
		<link>http://www.brandonsavage.net/installing-php-5-3-on-ubuntu/#comment-2412</link>
		<dc:creator>Guillaume Plessis</dc:creator>
		<pubDate>Mon, 30 Nov 2009 10:37:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=429#comment-2412</guid>
		<description>Many people here seems to be fans of installing PHP 5.3 from Dotdeb :) Then I let you know that PHP 5.3.1 packages are now available.

Fetching the source packages can also be a good start to build your own packages (Dotdeb packages are built for Debian, rebuilding them for Ubuntu is a good idea/training : apt-get build-dep php5 &amp;&amp; apt-get source -b php5 )</description>
		<content:encoded><![CDATA[<p>Many people here seems to be fans of installing PHP 5.3 from Dotdeb :) Then I let you know that PHP 5.3.1 packages are now available.</p>
<p>Fetching the source packages can also be a good start to build your own packages (Dotdeb packages are built for Debian, rebuilding them for Ubuntu is a good idea/training : apt-get build-dep php5 &amp;&amp; apt-get source -b php5 )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mariuz</title>
		<link>http://www.brandonsavage.net/installing-php-5-3-on-ubuntu/#comment-1862</link>
		<dc:creator>mariuz</dc:creator>
		<pubDate>Mon, 02 Nov 2009 16:00:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=429#comment-1862</guid>
		<description>I have written an followup but with firebird pdo driver and firebird 
driver http://wiki.firebirdsql.org/wiki/index.php?page=Installing+PHP+5.3.x+On+Ubuntu+Karmic+with+Firebird+PDO+support</description>
		<content:encoded><![CDATA[<p>I have written an followup but with firebird pdo driver and firebird<br />
driver <a href="http://wiki.firebirdsql.org/wiki/index.php?page=Installing+PHP+5.3.x+On+Ubuntu+Karmic+with+Firebird+PDO+support" rel="nofollow">http://wiki.firebirdsql.org/wiki/index.php?page=Installing+PHP+5.3.x+On+Ubuntu+Karmic+with+Firebird+PDO+support</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon Savage</title>
		<link>http://www.brandonsavage.net/installing-php-5-3-on-ubuntu/#comment-1828</link>
		<dc:creator>Brandon Savage</dc:creator>
		<pubDate>Sat, 31 Oct 2009 12:07:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=429#comment-1828</guid>
		<description>PHP emits a warning if you have not set a default time zone, which you clearly haven&#039;t.

Please consider reading the manual, which describes this problem, before posting questions demanding help. 

http://php.net/manual/en/function.date-default-timezone-set.php</description>
		<content:encoded><![CDATA[<p>PHP emits a warning if you have not set a default time zone, which you clearly haven&#8217;t.</p>
<p>Please consider reading the manual, which describes this problem, before posting questions demanding help. </p>
<p><a href="http://php.net/manual/en/function.date-default-timezone-set.php" rel="nofollow">http://php.net/manual/en/function.date-default-timezone-set.php</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Riza</title>
		<link>http://www.brandonsavage.net/installing-php-5-3-on-ubuntu/#comment-1827</link>
		<dc:creator>Riza</dc:creator>
		<pubDate>Sat, 31 Oct 2009 11:50:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=429#comment-1827</guid>
		<description>Greetings Brandon,

I got below error message after run phpinfo in browser

Warning: phpinfo() [function.phpinfo]: It is not safe to rely on the system&#039;s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected &#039;Asia/Kuala_Lumpur&#039; for &#039;MYT/8.0/no DST&#039; instead in /var/www/test.php on line 3

Please advise.
Riza</description>
		<content:encoded><![CDATA[<p>Greetings Brandon,</p>
<p>I got below error message after run phpinfo in browser</p>
<p>Warning: phpinfo() [function.phpinfo]: It is not safe to rely on the system&#8217;s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected &#8216;Asia/Kuala_Lumpur&#8217; for &#8216;MYT/8.0/no DST&#8217; instead in /var/www/test.php on line 3</p>
<p>Please advise.<br />
Riza</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PHP 5.3 auf Ubuntu 9.04 &#124; PC-Users.de</title>
		<link>http://www.brandonsavage.net/installing-php-5-3-on-ubuntu/#comment-1731</link>
		<dc:creator>PHP 5.3 auf Ubuntu 9.04 &#124; PC-Users.de</dc:creator>
		<pubDate>Sun, 25 Oct 2009 21:19:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=429#comment-1731</guid>
		<description>[...] hab ich unzählige Anleitungen wie z.b. http://www.brandonsavage.net/install&#8230;5-3-on-ubuntu/ oder [...]</description>
		<content:encoded><![CDATA[<p>[...] hab ich unzählige Anleitungen wie z.b. <a href="http://www.brandonsavage.net/install&#8230;5-3-on-ubuntu/" rel="nofollow">http://www.brandonsavage.net/install&#8230;5-3-on-ubuntu/</a> oder [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sepehr Lajevardi</title>
		<link>http://www.brandonsavage.net/installing-php-5-3-on-ubuntu/#comment-1716</link>
		<dc:creator>Sepehr Lajevardi</dc:creator>
		<pubDate>Sat, 24 Oct 2009 02:08:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=429#comment-1716</guid>
		<description>If you&#039;re getting an &quot;invalid host type&quot;, try typing the configure command by hand and that&#039;s gonna work for you.
Thanks for the article ;)</description>
		<content:encoded><![CDATA[<p>If you&#8217;re getting an &#8220;invalid host type&#8221;, try typing the configure command by hand and that&#8217;s gonna work for you.<br />
Thanks for the article ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stevie</title>
		<link>http://www.brandonsavage.net/installing-php-5-3-on-ubuntu/#comment-1672</link>
		<dc:creator>Stevie</dc:creator>
		<pubDate>Tue, 20 Oct 2009 14:01:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=429#comment-1672</guid>
		<description>It&#039;s an official bug of php5.3
I&#039;ve installed the newest snapshot and there are no errors like this</description>
		<content:encoded><![CDATA[<p>It&#8217;s an official bug of php5.3<br />
I&#8217;ve installed the newest snapshot and there are no errors like this</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon Savage</title>
		<link>http://www.brandonsavage.net/installing-php-5-3-on-ubuntu/#comment-1671</link>
		<dc:creator>Brandon Savage</dc:creator>
		<pubDate>Tue, 20 Oct 2009 13:22:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=429#comment-1671</guid>
		<description>Make sure you don&#039;t have basedir limitations configured in your php.ini file.</description>
		<content:encoded><![CDATA[<p>Make sure you don&#8217;t have basedir limitations configured in your php.ini file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stevie</title>
		<link>http://www.brandonsavage.net/installing-php-5-3-on-ubuntu/#comment-1658</link>
		<dc:creator>Stevie</dc:creator>
		<pubDate>Mon, 19 Oct 2009 22:41:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=429#comment-1658</guid>
		<description>I&#039;ve installed php 5.3 on my virtual server with plesk 9.2.2 and all worked fine... (means 5.3 is displayed in the phpinfo)

BUT sometimes sporadic following error is displayed (if is open a php web page in the browser)


Warning: Unknown: open_basedir restriction in effect. File(/var/www/vhosts/injc.net/subdomains/pma/httpdocs/index.php) is not within the allowed path(s): (8¦ú ) in Unknown on line 0

Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0

Fatal error: Unknown: Failed opening required &#039;/var/www/vhosts/injc.net/subdomains/pma/httpdocs/index.php&#039; (include_path=&#039;.:/opt/php5.3/lib/php&#039;) in Unknown on line 0

someone an idea what i could do???</description>
		<content:encoded><![CDATA[<p>I&#8217;ve installed php 5.3 on my virtual server with plesk 9.2.2 and all worked fine&#8230; (means 5.3 is displayed in the phpinfo)</p>
<p>BUT sometimes sporadic following error is displayed (if is open a php web page in the browser)</p>
<p>Warning: Unknown: open_basedir restriction in effect. File(/var/www/vhosts/injc.net/subdomains/pma/httpdocs/index.php) is not within the allowed path(s): (8¦ú ) in Unknown on line 0</p>
<p>Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0</p>
<p>Fatal error: Unknown: Failed opening required &#8216;/var/www/vhosts/injc.net/subdomains/pma/httpdocs/index.php&#8217; (include_path=&#8217;.:/opt/php5.3/lib/php&#8217;) in Unknown on line 0</p>
<p>someone an idea what i could do???</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 4/11 queries in 0.032 seconds using disk: basic
Content Delivery Network via Amazon Web Services: S3: files.brandonsavage.net.s3.amazonaws.com

Served from: www.brandonsavage.net @ 2012-02-07 04:26:11 -->
