<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: PHP 5 for CentOS 4.1</title>
	<link>http://www.jimohalloran.com/2005/08/30/php-5-for-centos-41/</link>
	<description>Keeping the rabbits out since 1975</description>
	<pubDate>Thu, 11 Mar 2010 17:34:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3</generator>
		<item>
		<title>By: Matthew</title>
		<link>http://www.jimohalloran.com/2005/08/30/php-5-for-centos-41/#comment-275408</link>
		<dc:creator>Matthew</dc:creator>
		<pubDate>Mon, 06 Oct 2008 22:15:04 +0000</pubDate>
		<guid>http://www.jimohalloran.com/2005/08/30/php-5-for-centos-41/#comment-275408</guid>
		<description>Thanks a bundle! I was going to download a MySQL 3rd-party RPM but this saved me a few dozen megabytes!

Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks a bundle! I was going to download a MySQL 3rd-party RPM but this saved me a few dozen megabytes!</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ollie</title>
		<link>http://www.jimohalloran.com/2005/08/30/php-5-for-centos-41/#comment-95839</link>
		<dc:creator>Ollie</dc:creator>
		<pubDate>Wed, 16 Jan 2008 10:01:11 +0000</pubDate>
		<guid>http://www.jimohalloran.com/2005/08/30/php-5-for-centos-41/#comment-95839</guid>
		<description>You saved my bacon as I need to use PHP 5 for the Zend Framework. Thanks a ton.</description>
		<content:encoded><![CDATA[<p>You saved my bacon as I need to use PHP 5 for the Zend Framework. Thanks a ton.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.jimohalloran.com/2005/08/30/php-5-for-centos-41/#comment-89718</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 19 Dec 2007 01:44:15 +0000</pubDate>
		<guid>http://www.jimohalloran.com/2005/08/30/php-5-for-centos-41/#comment-89718</guid>
		<description>Your advice was a great start for me, as I'm probably in way over my head- but certainly trying to learn. I enabled centosplus and tried to update the entire system with yum via webmin, but the upgrade failed without giving any context. So then I thought I should try a smaller step by just updating php. Any idea why I'm getting this missing dependency? What steps would you take from here? Any help would be greatly appreciated. Thank You, John

# yum upgrade php

Setting up Upgrade Process

Setting up repositories

Reading repository metadata in from local files

Resolving Dependencies

--&#62; Populating transaction set with selected packages. Please wait.

---&#62; Package php.x86_64 0:5.1.6-3.el4s1.8 set to be updated

--&#62; Running transaction check

--&#62; Processing Dependency: php = 4.3.9-3.22.9 for package: php-mysql

--&#62; Processing Dependency: php-cli = 5.1.6-3.el4s1.8 for package: php

--&#62; Processing Dependency: php = 4.3.9-3.22.9 for package: php-pear

--&#62; Processing Dependency: php-common = 5.1.6-3.el4s1.8 for package: php

--&#62; Restarting Dependency Resolution with new changes.

--&#62; Populating transaction set with selected packages. Please wait.

---&#62; Package php-common.x86_64 0:5.1.6-3.el4s1.8 set to be updated

---&#62; Package php-mysql.x86_64 0:5.1.6-3.el4s1.8 set to be updated

---&#62; Package php-cli.x86_64 0:5.1.6-3.el4s1.8 set to be updated

--&#62; Running transaction check

--&#62; Processing Dependency: php-pdo for package: php-mysql

--&#62; Processing Dependency: libmysqlclient.so.15()(64bit) for package: php-mysql

--&#62; Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: php-mysql

--&#62; Processing Dependency: php = 4.3.9-3.22.9 for package: php-pear

--&#62; Restarting Dependency Resolution with new changes.

--&#62; Populating transaction set with selected packages. Please wait.

---&#62; Package php-pdo.x86_64 0:5.1.6-3.el4s1.8 set to be updated

---&#62; Package mysql-libs.x86_64 0:5.0.48-1.el4.centos set to be updated

--&#62; Running transaction check

--&#62; Processing Dependency: php = 4.3.9-3.22.9 for package: php-pear

--&#62; Finished Dependency Resolution

Error: Missing Dependency: php = 4.3.9-3.22.9 is needed by package php-pear</description>
		<content:encoded><![CDATA[<p>Your advice was a great start for me, as I&#8217;m probably in way over my head- but certainly trying to learn. I enabled centosplus and tried to update the entire system with yum via webmin, but the upgrade failed without giving any context. So then I thought I should try a smaller step by just updating php. Any idea why I&#8217;m getting this missing dependency? What steps would you take from here? Any help would be greatly appreciated. Thank You, John</p>
<p># yum upgrade php</p>
<p>Setting up Upgrade Process</p>
<p>Setting up repositories</p>
<p>Reading repository metadata in from local files</p>
<p>Resolving Dependencies</p>
<p>&#8211;&gt; Populating transaction set with selected packages. Please wait.</p>
<p>&#8212;&gt; Package php.x86_64 0:5.1.6-3.el4s1.8 set to be updated</p>
<p>&#8211;&gt; Running transaction check</p>
<p>&#8211;&gt; Processing Dependency: php = 4.3.9-3.22.9 for package: php-mysql</p>
<p>&#8211;&gt; Processing Dependency: php-cli = 5.1.6-3.el4s1.8 for package: php</p>
<p>&#8211;&gt; Processing Dependency: php = 4.3.9-3.22.9 for package: php-pear</p>
<p>&#8211;&gt; Processing Dependency: php-common = 5.1.6-3.el4s1.8 for package: php</p>
<p>&#8211;&gt; Restarting Dependency Resolution with new changes.</p>
<p>&#8211;&gt; Populating transaction set with selected packages. Please wait.</p>
<p>&#8212;&gt; Package php-common.x86_64 0:5.1.6-3.el4s1.8 set to be updated</p>
<p>&#8212;&gt; Package php-mysql.x86_64 0:5.1.6-3.el4s1.8 set to be updated</p>
<p>&#8212;&gt; Package php-cli.x86_64 0:5.1.6-3.el4s1.8 set to be updated</p>
<p>&#8211;&gt; Running transaction check</p>
<p>&#8211;&gt; Processing Dependency: php-pdo for package: php-mysql</p>
<p>&#8211;&gt; Processing Dependency: libmysqlclient.so.15()(64bit) for package: php-mysql</p>
<p>&#8211;&gt; Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: php-mysql</p>
<p>&#8211;&gt; Processing Dependency: php = 4.3.9-3.22.9 for package: php-pear</p>
<p>&#8211;&gt; Restarting Dependency Resolution with new changes.</p>
<p>&#8211;&gt; Populating transaction set with selected packages. Please wait.</p>
<p>&#8212;&gt; Package php-pdo.x86_64 0:5.1.6-3.el4s1.8 set to be updated</p>
<p>&#8212;&gt; Package mysql-libs.x86_64 0:5.0.48-1.el4.centos set to be updated</p>
<p>&#8211;&gt; Running transaction check</p>
<p>&#8211;&gt; Processing Dependency: php = 4.3.9-3.22.9 for package: php-pear</p>
<p>&#8211;&gt; Finished Dependency Resolution</p>
<p>Error: Missing Dependency: php = 4.3.9-3.22.9 is needed by package php-pear</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roshan Kulkarni</title>
		<link>http://www.jimohalloran.com/2005/08/30/php-5-for-centos-41/#comment-73453</link>
		<dc:creator>Roshan Kulkarni</dc:creator>
		<pubDate>Wed, 03 Oct 2007 12:04:04 +0000</pubDate>
		<guid>http://www.jimohalloran.com/2005/08/30/php-5-for-centos-41/#comment-73453</guid>
		<description>I had a difficult time getting PHP 5 to work with MySQL on CentOS Release 5. phpinfo() indicated that the PHP configuration had the --without-mysql option. Also, there was no mysql section in the output of phpinfo().

Here is what finally made it work:

* Do a 'yum install php-mysql'

* Check /etc/php.ini to determine the extension_dir where php modules are located. It was  '/usr/lib/php/modules' on my machine.

* Check if mysql.so was present in the modules directory.

* Add a 'extension=mysql.so' entry in php.ini

That's it. MySQL works from PHP now. phpinfo() still shows that the configuration is --without-mysql. However there is now a mysql section in the output of phpinfo().

Hope this helps.

-Roshan
http://www.it.iitb.ac.in/~roshan</description>
		<content:encoded><![CDATA[<p>I had a difficult time getting PHP 5 to work with MySQL on CentOS Release 5. phpinfo() indicated that the PHP configuration had the &#8211;without-mysql option. Also, there was no mysql section in the output of phpinfo().</p>
<p>Here is what finally made it work:</p>
<p>* Do a &#8216;yum install php-mysql&#8217;</p>
<p>* Check /etc/php.ini to determine the extension_dir where php modules are located. It was  &#8216;/usr/lib/php/modules&#8217; on my machine.</p>
<p>* Check if mysql.so was present in the modules directory.</p>
<p>* Add a &#8216;extension=mysql.so&#8217; entry in php.ini</p>
<p>That&#8217;s it. MySQL works from PHP now. phpinfo() still shows that the configuration is &#8211;without-mysql. However there is now a mysql section in the output of phpinfo().</p>
<p>Hope this helps.</p>
<p>-Roshan<br />
<a href="http://www.it.iitb.ac.in/~roshan" rel="nofollow">http://www.it.iitb.ac.in/~roshan</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jim</title>
		<link>http://www.jimohalloran.com/2005/08/30/php-5-for-centos-41/#comment-66181</link>
		<dc:creator>jim</dc:creator>
		<pubDate>Wed, 08 Aug 2007 23:37:33 +0000</pubDate>
		<guid>http://www.jimohalloran.com/2005/08/30/php-5-for-centos-41/#comment-66181</guid>
		<description>If you haven't already, you'll need to restart Apache to force it to reload the PHP modules.  Typing "service httpd restart" at a command line is the easiest way to do it.

Jim.</description>
		<content:encoded><![CDATA[<p>If you haven&#8217;t already, you&#8217;ll need to restart Apache to force it to reload the PHP modules.  Typing &#8220;service httpd restart&#8221; at a command line is the easiest way to do it.</p>
<p>Jim.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wil</title>
		<link>http://www.jimohalloran.com/2005/08/30/php-5-for-centos-41/#comment-66170</link>
		<dc:creator>Wil</dc:creator>
		<pubDate>Wed, 08 Aug 2007 21:12:49 +0000</pubDate>
		<guid>http://www.jimohalloran.com/2005/08/30/php-5-for-centos-41/#comment-66170</guid>
		<description>Hey there... I did this and it went off just fine thanks. php-xml was not installed so first I had to do a yum install php-xml but after that it was all gravy.

When I look at phpinfo()'s results however it still says PHP Version 4.3.9
When I run php --version from the shell I see PHP 5.1.6 

WTF?</description>
		<content:encoded><![CDATA[<p>Hey there&#8230; I did this and it went off just fine thanks. php-xml was not installed so first I had to do a yum install php-xml but after that it was all gravy.</p>
<p>When I look at phpinfo()&#8217;s results however it still says PHP Version 4.3.9<br />
When I run php &#8211;version from the shell I see PHP 5.1.6 </p>
<p>WTF?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: www.gamebeat.net</title>
		<link>http://www.jimohalloran.com/2005/08/30/php-5-for-centos-41/#comment-62454</link>
		<dc:creator>www.gamebeat.net</dc:creator>
		<pubDate>Tue, 10 Jul 2007 15:36:53 +0000</pubDate>
		<guid>http://www.jimohalloran.com/2005/08/30/php-5-for-centos-41/#comment-62454</guid>
		<description>Thanks a bunch, just what I needed!</description>
		<content:encoded><![CDATA[<p>Thanks a bunch, just what I needed!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: acito</title>
		<link>http://www.jimohalloran.com/2005/08/30/php-5-for-centos-41/#comment-61731</link>
		<dc:creator>acito</dc:creator>
		<pubDate>Thu, 05 Jul 2007 10:08:54 +0000</pubDate>
		<guid>http://www.jimohalloran.com/2005/08/30/php-5-for-centos-41/#comment-61731</guid>
		<description>I faced some problem when i update to php 5..

look into phpinfo()

Configure Command 	
 './configure' '--without-pear' '--without-mysql' '--without-gd' '--without-odbc' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter'

which PEAR and MySql is needed..

after update.. my application indicate this error:
PHP PEAR must be installed. Visit http://pear.php.net for help with installation.

i have install Pear and located under /usr/share/pear

any help might be useful

thanks in advance.</description>
		<content:encoded><![CDATA[<p>I faced some problem when i update to php 5..</p>
<p>look into phpinfo()</p>
<p>Configure Command<br />
 &#8216;./configure&#8217; &#8216;&#8211;without-pear&#8217; &#8216;&#8211;without-mysql&#8217; &#8216;&#8211;without-gd&#8217; &#8216;&#8211;without-odbc&#8217; &#8216;&#8211;disable-dom&#8217; &#8216;&#8211;disable-dba&#8217; &#8216;&#8211;without-unixODBC&#8217; &#8216;&#8211;disable-pdo&#8217; &#8216;&#8211;disable-xmlreader&#8217; &#8216;&#8211;disable-xmlwriter&#8217;</p>
<p>which PEAR and MySql is needed..</p>
<p>after update.. my application indicate this error:<br />
PHP PEAR must be installed. Visit <a href="http://pear.php.net" rel="nofollow">http://pear.php.net</a> for help with installation.</p>
<p>i have install Pear and located under /usr/share/pear</p>
<p>any help might be useful</p>
<p>thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johnson Chen</title>
		<link>http://www.jimohalloran.com/2005/08/30/php-5-for-centos-41/#comment-59353</link>
		<dc:creator>Johnson Chen</dc:creator>
		<pubDate>Tue, 19 Jun 2007 18:58:28 +0000</pubDate>
		<guid>http://www.jimohalloran.com/2005/08/30/php-5-for-centos-41/#comment-59353</guid>
		<description>This is very neat! Save me a bundle of headache. Thank you!</description>
		<content:encoded><![CDATA[<p>This is very neat! Save me a bundle of headache. Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2007-05-27 &#171; J.P.DeFillippo</title>
		<link>http://www.jimohalloran.com/2005/08/30/php-5-for-centos-41/#comment-56013</link>
		<dc:creator>links for 2007-05-27 &#171; J.P.DeFillippo</dc:creator>
		<pubDate>Tue, 29 May 2007 09:03:00 +0000</pubDate>
		<guid>http://www.jimohalloran.com/2005/08/30/php-5-for-centos-41/#comment-56013</guid>
		<description>[...] PHP 5 for CentOS 4.1 Saved me hours of my weekend. Thanks! (tags: centos php linux php5 yum opensource php4) [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] PHP 5 for CentOS 4.1 Saved me hours of my weekend. Thanks! (tags: centos php linux php5 yum opensource php4) [&#8230;]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
