← Back to team overview

ius-community team mailing list archive

Re: Installation Warning and YUM 'replace' unavailable

 

Oops, nevermind. I just needed to edit /etc/yum.conf and comment-out
"exclude=php*"
PHP 5.3 installed successfully ! Now, onto figuring out the warnings
in my Apache HTTP error_log:

Thu Aug 19 12:01:54 2010] [notice] SIGHUP received.  Attempting to restart
[Thu Aug 19 12:01:54 2010] [notice] Digest: generating secret for
digest authentication ...
[Thu Aug 19 12:01:54 2010] [notice] Digest: done
PHP Warning:  Module 'fileinfo' already loaded in Unknown on line 0
PHP Warning:  Module 'json' already loaded in Unknown on line 0
PHP Warning:  Module 'PDO' already loaded in Unknown on line 0
PHP Warning:  Module 'pdo_sqlite' already loaded in Unknown on line 0
PHP Warning:  Module 'Phar' already loaded in Unknown on line 0
[Thu Aug 19 12:01:54 2010] [notice] mod_python: Creating 4 session
mutexes based on 256 max processes and 0 max threads.
[Thu Aug 19 12:01:54 2010] [notice] Apache/2.2.3 (Red Hat) configured
-- resuming normal operations
[Thu Aug 19 12:02:55 2010] [error] [client 129.22.118.130] File does
not exist: /var/www/html/favicon.ico
[Thu Aug 19 12:02:57 2010] [error] [client 129.22.118.130] PHP
Warning:  phpinfo() [<a href='function.phpinfo'>function.phpinfo</a>]:
It is not safe to rely on the system'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 'America/New_York' for
'EDT/-4.0/DST' instead in /var/www/html/test/testphp.php on line 2

Thanks!

Nick



On Thu, Aug 19, 2010 at 11:19 AM, NICHOLAS KLINE <nkline@xxxxxxxx> wrote:
> BJ,
>
> Thank you for the quick reply! Well, I'm getting closer to installing
> the latest PHP. I'm not quite there yet, though:
>
>
> sudo yum install yum-plugin-replace
> ...
> Installed: yum-plugin-replace.noarch 0:0.2.4-2.el5
> Complete!
>
>
> sudo yum replace php --replace-with php53
> Loaded plugins: replace, rhnplugin, security
> Excluding Packages in global exclude list
> Finished
> Replacing packages takes time, please be patient...
> Error: No Package Matching php53
>
>
> So, I specified an exact package as listed at
> http://dl.iuscommunity.org/pub/ius/stable/Redhat/5.5/x86_64/ :
>
> sudo yum replace php --replace-with php53-5.3.3-1.ius.el5.x86_64.rpm
> Loaded plugins: replace, rhnplugin, security
> Excluding Packages in global exclude list
> Finished
> Replacing packages takes time, please be patient...
> Error: No Package Matching php53-5.3.3-1.ius.el5.x86_64.rpm
>
>
> Hhmm, it appears that a limited number of packages are available to me:
>
> sudo yum list | grep -w \.ius\.
> autoconf26x.noarch                  2.63-3.ius.el5          ius
> mod_python26.x86_64                 3.3.1-10.ius.com.el5    ius
> mod_python26-debuginfo.x86_64       3.3.1-10.ius.el5        ius
> mod_wsgi-python26.x86_64            2.6-3.ius.el5           ius
> mod_wsgi-python26-debuginfo.x86_64  2.6-3.ius.el5           ius
> mod_wsgi-python31.x86_64            3.1-1.ius.el5           ius
> mod_wsgi-python31-debuginfo.x86_64  3.1-1.ius.el5           ius
> mysql50.x86_64                      5.0.91-2.ius.el5        ius
> mysql50-bench.x86_64                5.0.91-2.ius.el5        ius
> mysql50-debuginfo.x86_64            5.0.91-2.ius.el5        ius
> mysql50-devel.x86_64                5.0.91-2.ius.el5        ius
> mysql50-percona-highperf.x86_64     5.0.86-1.b19.ius.el5    ius
>                                    5.0.86-1.b19.ius.el5    ius
>                                    5.0.87-1.b20.ius.el5    ius
>                                    5.0.86-1.b19.ius.el5    ius
>                                    5.0.86-1.b19.ius.el5    ius
> mysql50-server.x86_64               5.0.91-2.ius.el5        ius
> mysql51.x86_64                      5.1.49-3.ius.el5        ius
> mysql51-bench.x86_64                5.1.49-3.ius.el5        ius
> mysql51-debuginfo.x86_64            5.1.49-3.ius.el5        ius
> mysql51-devel.x86_64                5.1.49-3.ius.el5        ius
> mysql51-embedded.x86_64             5.1.49-3.ius.el5        ius
> mysql51-embedded-devel.x86_64       5.1.49-3.ius.el5        ius
> mysql51-libs.x86_64                 5.1.49-3.ius.el5        ius
> mysql51-psa-compat.x86_64           5.1.49-3.ius.el5        ius
> mysql51-server.x86_64               5.1.49-3.ius.el5        ius
> mysql51-test.x86_64                 5.1.49-3.ius.el5        ius
> mysqlclient15.x86_64                5.0.91-1.ius.el5        ius
> mysqlclient15-debuginfo.x86_64      5.0.91-1.ius.el5        ius
> mysqlclient15-devel.x86_64          5.0.91-1.ius.el5        ius
> nginx07.x86_64                      0.7.65-1.ius.el5        ius
> nginx07-debuginfo.x86_64            0.7.65-1.ius.el5        ius
>                                                            ius
> python26-elixir.noarch              0.6.1-1.ius.el5         ius
> python26-httplib2.noarch            0.5.0-1.ius.el5         ius
> python26-jsonschema.noarch          0.2a-1.ius.el5          ius
> python26-ldap.x86_64                2.3.5-1.ius.el5         ius
> python26-ldap-debuginfo.x86_64      2.3.5-1.ius.el5         ius
> python26-lxml.i386                  2.0.11-1.ius.el5        ius
> python26-lxml-debuginfo.i386        2.0.11-1.ius.el5        ius
> python26-memcached.noarch           1.43-5.ius.el5          ius
> python26-mysqldb.x86_64             1.2.3c1-1.ius.el5       ius
> python26-mysqldb-debuginfo.x86_64   1.2.3c1-1.ius.el5       ius
> python26-nose.noarch                0.11.1-1.ius.el5        ius
> python26-setuptools.noarch          0.6c9-1.1.ius.el5       ius
> python26-simplejson.i386            2.0.9-1.ius.el5         ius
> python26-simplejson-debuginfo.i386  2.0.9-1.ius.el5         ius
> python26-sqlalchemy.noarch          0.5.5-1.ius.el5         ius
> python31.x86_64                     3.1.2-2.ius.el5         ius
> python31-debuginfo.x86_64           3.1.2-2.ius.el5         ius
> python31-devel.x86_64               3.1.2-2.ius.el5         ius
> python31-distribute.noarch          0.6.6-1.ius.el5         ius
> python31-libs.x86_64                3.1.2-2.ius.el5         ius
> python31-test.x86_64                3.1.2-2.ius.el5         ius
> python31-tools.x86_64               3.1.2-2.ius.el5         ius
> rsyslog4.x86_64                     4.4.2-5.ius.el5         ius
> rsyslog4-debuginfo.x86_64           4.4.2-5.ius.el5         ius
> rsyslog4-gnutls.x86_64              4.4.2-5.ius.el5         ius
> rsyslog4-gssapi.x86_64              4.4.2-5.ius.el5         ius
> rsyslog4-mysql.x86_64               4.4.2-5.ius.el5         ius
> rsyslog4-pgsql.x86_64               4.4.2-5.ius.el5         ius
> rsyslog4-relp.x86_64                4.4.2-5.ius.el5         ius
> tkinter31.x86_64                    3.1.2-2.ius.el5         ius
>
>
> Thanks for your continued support :-)
>
> Nick
>
>
>
>
> On Wed, Aug 18, 2010 at 4:19 PM, BJ Dierkes <wdierkes@xxxxxxxxxxxxx> wrote:
>>
>> On Aug 18, 2010, at 3:09 PM, NICHOLAS KLINE wrote:
>>
>>> Hi, IUS community :-)
>>>
>>
>> Hi Nicholas, and welcome!
>>
>>
>>>
>>> INSTRUCTIONS
>>> http://wiki.iuscommunity.org/Doc/ClientUsageGuide
>>
>> In the current documentation it states that the 'yum-replace-plugin' is automatically installed along with ius-release.  This is no longer the case, so I will update the documetation.
>>
>>
>>>
>>>
>>> RESULTS
>>> sudo rpm -Uvh ius-release*.rpm epel-release*.rpm
>>> warning: ius-release-1.0-6.ius.el5.noarch.rpm: Header V3 DSA
>>> signature: NOKEY, key ID 9cd4953f
>>> Preparing...                ########################################### [100%]
>>>   1:epel-release           ########################################### [ 50%]
>>>   2:ius-release            ########################################### [100%]
>>>
>>> sudo yum replace php --replace-with php53
>>> Loaded plugins: rhnplugin, security
>>> usage: yum [options] COMMAND
>>> List of Commands...
>>> ...
>>> Command line error: no such option: --replace-with
>>>
>>>
>>> CONCERNS
>>> 1.) "warning: ius-release-1.0-6.ius.el5.noarch.rpm: Header V3 DSA
>>> signature: NOKEY, key ID 9cd4953f"
>>
>> This is because the IUS-COMMUNITY-GPG key is not yet installed (ius-release installs the gpg key).  After installing ius-release.. and upon attempting to install any other IUS packages... you should be prompted to accept the IUS GPG Key.
>>
>>
>>> 2.) 1:epel-release ########################################### [ 50%]
>>
>> Not sure what the concern is here?  I assume because it says '50%'?  If so.. that is the percentage of the overall transaction (not just for the epel-release package).
>>
>>
>>> 3.) "Command line error: no such option: --replace-with"
>>
>> ius-release no longer requires 'yum-plugin-replace' and therefore it is an optional install.  To procede, the following should get you going:
>>
>> $ sudo yum install yum-plugin-replace
>>
>> $ sudo yum replace php --replace-with php53
>>
>>
>> Please let us know how that works out, and I will go update the wiki.
>>
>> ---
>> BJ Dierkes
>> Linux Systems Engineer IV / [RH]acker
>> Infrastructure Services [Development]
>> Rackspace Hosting
>>
>>
>



Follow ups

References