install php 5.2.1 with checkinstall
| From: | Tiron Adrian | Date: | Sun, 18 Mar 2007 09:35:46 +0000 |
| Subject: | install php 5.2.1 with checkinstall | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-250774@lists.php.net to get a copy of this message | ||
Hello,
I have php 5.1.6 ,the latest available with yum and i wanted to upgrade to 5.2.1
I have downloade 5.2.1 run ./configure,make and the checkinstall. When i wanted to install the newly
created rpm i got the following errors:
# rpm -ivh php-5.2.1-1.i386.rpm
Preparing.... ########################################### [100%]
file /etc/pear.conf from install of php-5.2.1-1 conflicts with file from package
php-pear-1.4.9-4
file /usr/share/pear/.channels/pear.php.net.reg from install of
php-5.2.1-1 conflicts with file from package php-pear-1.4.9-4
file /usr/share/pear/.depdb from install of php-5..2.1-1 conflicts with file from package
php-pear-1.4.9-4
file /usr/share/pear/.registry/archive_tar.reg from install of
php-5.2.1-1 conflicts with file from package php-pear-1.4.9-4
file /usr/share/pear/.registry/console_getopt.reg from install of
php-5.2.1-1 conflicts with file from package php-pear-1.4.9-4
file /usr/share/pear/.registry/pear.reg from install of php-5.2.1-1 conflicts with file from
package php-pear-1.4..9-4
file /usr/bin/php from install of php-5.2.1-1 conflicts with file from package
php-cli-5.1.6-3.4.fc6
file /usr/share/man/man1/php.1.gz from install of php-5.2.1-1 conflicts with file from
package php-cli-5.1.6-3.4.fc6
Is it safe to use the --force option?
just in case this is the output of rpm -qa | grep php on my machine(i thought it would be useful)
rpm -qa | grep php
php-5.1.6-3.4..fc6
php-pear-Date-1.4.7-1.fc6
php-cli-5.1.6-3.4.fc6
php-mbstring-5.1.6-3.4.fc6
php-pear-DB-1.7.6-7.fc6
php-common-5.1.6-3.4.fc6
php-pear-1.4.9-4
php-mysql-5.1.6-3.4.fc6
php-pear-DB-DataObject-1.8.5-2.fc6
php-pear-Validate-0.7.0-1.fc6
php-pear-MDB2-2..4.0-1.fc6
php-pdo-5.1.6-3.4.fc6
So as you can see php,php-cli,php-mbstring and php-mysql are the same version : 5.1.6
If i install JUST php 5.2.1 wouldn't that break the dependencies with the other packages?
Thanks.
____________________________________________________________________________________
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front