stephdl
I think the real "issue" here , is that phpMyAdmin3 requires the php53 modules, & forces the install of those.
These are based on php 5.3.3 so as the error message suggests,
php53-common-5.3.3-21.el5.i386 conflicts with php-common
One older net post
http://www.linuxquestions.org/questions/linux-newbie-8/error-php53-common-conflicts-with-php-common-884462/suggests to uninstall all php-xxxx modules & install php53-xxxx modules, but that just goes back to square one, as we end up with a install based on php 5.3.3, which does not satisfy the owncloud requirements.
This generically appears to be an upstream issue, in that the newer (latest) php packages are not being released (in the Centos version that sme 8 uses), and that then leads to the issue of sme server 8 being based on an older centos version which has older php packages, catch 22.
This is not an issue for me personally as I prefer NOT to use phpmyadmin, I use the mysql command line
I did try this
rpm -e --nodeps php-common
service httpd-e-smith restart
then
yum install php53-common --enablerepo=smecontribs
service httpd-e-smith restart
It installed OK
Then I ran the phpMyAdmin install as per wiki
yum --enablerepo=smecontribs install smeserver-phpmyadmin
Loaded plugins: fastestmirror, protect-packages, smeserver
Loading mirror speeds from cached hostfile
* base: mirror.rackcentral.com.au
* smeaddons: smeserver.mirror.garr.it
* smecontribs: mirror.chmuri.net
* smeextras: smeserver.mirror.garr.it
* smeos: smeserver.mirror.garr.it
* smeupdates: smeserver.mirror.garr.it
* updates: mirror.overthewire.com.au
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package smeserver-phpmyadmin.noarch 0:3.5.2.2-6.el5.sme set to be updated
--> Processing Dependency: phpMyAdmin3 >= 3.5.2.2 for package: smeserver-phpmyadmin
--> Running transaction check
---> Package phpMyAdmin3.noarch 0:3.5.8.1-1.el5 set to be updated
--> Processing Dependency: php53-php-gettext for package: phpMyAdmin3
--> Processing Dependency: php53-mysql for package: phpMyAdmin3
--> Processing Dependency: php53-mcrypt for package: phpMyAdmin3
--> Processing Dependency: php53-mbstring for package: phpMyAdmin3
--> Processing Dependency: php53-gd for package: phpMyAdmin3
--> Processing Dependency: php53 for package: phpMyAdmin3
--> Running transaction check
---> Package php53.i386 0:5.3.3-21.el5 set to be updated
--> Processing Dependency: php53-cli = 5.3.3-21.el5 for package: php53
---> Package php53-gd.i386 0:5.3.3-21.el5 set to be updated
---> Package php53-mbstring.i386 0:5.3.3-21.el5 set to be updated
---> Package php53-mcrypt.i386 0:5.3.3-1.el5 set to be updated
---> Package php53-mysql.i386 0:5.3.3-21.el5 set to be updated
--> Processing Dependency: php53-pdo for package: php53-mysql
---> Package php53-php-gettext.noarch 0:1.0.11-3.el5 set to be updated
--> Running transaction check
---> Package php53-cli.i386 0:5.3.3-21.el5 set to be updated
---> Package php53-pdo.i386 0:5.3.3-21.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
===============================================================================================================================================================================
Package Arch Version Repository Size
===============================================================================================================================================================================
Installing:
smeserver-phpmyadmin noarch 3.5.2.2-6.el5.sme smecontribs 11 k
Installing for dependencies:
php53 i386 5.3.3-21.el5 base 1.3 M
php53-cli i386 5.3.3-21.el5 base 2.5 M
php53-gd i386 5.3.3-21.el5 base 110 k
php53-mbstring i386 5.3.3-21.el5 base 1.2 M
php53-mcrypt i386 5.3.3-1.el5 smecontribs 16 k
php53-mysql i386 5.3.3-21.el5 base 89 k
php53-pdo i386 5.3.3-21.el5 base 68 k
php53-php-gettext noarch 1.0.11-3.el5 smecontribs 20 k
phpMyAdmin3 noarch 3.5.8.1-1.el5 smecontribs 6.1 M
Transaction Summary
===============================================================================================================================================================================
Install 10 Package(s)
Upgrade 0 Package(s)
Total size: 11 M
Total download size: 5.2 M
Is this ok [y/N]: y
Downloading Packages:
(1/6): php53-pdo-5.3.3-21.el5.i386.rpm | 68 kB 00:00
(2/6): php53-mysql-5.3.3-21.el5.i386.rpm | 89 kB 00:00
(3/6): php53-gd-5.3.3-21.el5.i386.rpm | 110 kB 00:00
(4/6): php53-mbstring-5.3.3-21.el5.i386.rpm | 1.2 MB 00:01
(5/6): php53-5.3.3-21.el5.i386.rpm | 1.3 MB 00:02
(6/6): php53-cli-5.3.3-21.el5.i386.rpm | 2.5 MB 00:03
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 512 kB/s | 5.2 MB 00:10
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Check Error:
file /etc/httpd/conf.d/php.conf from install of php53-5.3.3-21.el5.i386 conflicts with file from package php-5.3.27-2.w5.i386
file /usr/lib/httpd/modules/libphp5.so from install of php53-5.3.3-21.el5.i386 conflicts with file from package php-5.3.27-2.w5.i386
file /usr/lib/php/modules/gd.so from install of php53-gd-5.3.3-21.el5.i386 conflicts with file from package php-gd-5.3.27-2.w5.i386
file /usr/lib/php/modules/mysql.so from install of php53-mysql-5.3.3-21.el5.i386 conflicts with file from package php-mysql-5.3.27-2.w5.i386
file /usr/lib/php/modules/mysqli.so from install of php53-mysql-5.3.3-21.el5.i386 conflicts with file from package php-mysql-5.3.27-2.w5.i386
file /usr/lib/php/modules/pdo_mysql.so from install of php53-mysql-5.3.3-21.el5.i386 conflicts with file from package php-mysql-5.3.27-2.w5.i386
file /usr/lib/php/modules/pdo.so from install of php53-pdo-5.3.3-21.el5.i386 conflicts with file from package php-pdo-5.3.27-2.w5.i386
file /usr/lib/php/modules/pdo_sqlite.so from install of php53-pdo-5.3.3-21.el5.i386 conflicts with file from package php-pdo-5.3.27-2.w5.i386
file /usr/lib/php/modules/mbstring.so from install of php53-mbstring-5.3.3-21.el5.i386 conflicts with file from package php-mbstring-5.3.27-2.w5.i386
file /usr/bin/phar.phar from install of php53-cli-5.3.3-21.el5.i386 conflicts with file from package php-cli-5.3.27-2.w5.i386
file /usr/bin/php from install of php53-cli-5.3.3-21.el5.i386 conflicts with file from package php-cli-5.3.27-2.w5.i386
file /usr/bin/php-cgi from install of php53-cli-5.3.3-21.el5.i386 conflicts with file from package php-cli-5.3.27-2.w5.i386
file /usr/share/man/man1/php.1.gz from install of php53-cli-5.3.3-21.el5.i386 conflicts with file from package php-cli-5.3.27-2.w5.i386
Error Summary
-------------
The packages did not install.
Clearly all the php modules for 5.3.27 need to be removed & php53 5.3.3 versions installed, & I assume phpMyAdmin would then install OK, but that does not suit Owncloud requirements, so as I said earlier, this appears to be a catch 22 issue. The joys of Linux !
I am not prepared to upset the integrity of my sme server with that big a tweak, as there are many php-xxx modules involved.
Personally as a newer version of php 5.3.27 is available from webtatic repo, then I think phpMyAdmin should be rewritten to use the newer version, rather than using the special php53 version.
Anyone have any better ideas or comments.
....and yes this could all go into the bugtracker, but I'm really still playing with it & trying to sort out what is actually going on & what is the best approach to take etc. I do not really know the answer as yet, & I'm not even sure of exactly what or where the problem really lies. I was just experimenting to see if I could get Owncloud running OK, & the issue grew bigger.