Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

LAMP installation problem in fedora 20

i need to install php,mysql and apache in my fedora 20. i tried different command to install LAMP from different website.

*rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm

rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

rpm -Uvh http://rpms.famillecollet.com/remi-release-19.rpm

rpm -Uvh http://rpms.famillecollet.com/remi-release-20.rpm*

yum --enablerepo=remi install httpd mysql mysql-server php php-common

yum --enablerepo=remi install php-mysql php-pgsql php-pecl-mongo php-sqlite php-pecl-memcache php-pecl-memcached php-gd php-mbstring php-mcrypt php-xml php-pecl-apc php-cli php-pear php-pdo

yum --enablerepo=remi install httpd php php-common

yum --enablerepo=remi install php-pecl-apc php-cli php-pear php-pdo php-mysqlnd php-pgsql php-pecl-mongo php-sqlite php-pecl-memcache php-pecl-memcached php-gd php-mbstring php-mcrypt php-xml

when i tried those commands it showed the message "complete" , but i noticed that a failed message upper to this complete message!

after that when i tried the following command,

/etc/init.d/httpd start systemctl enable httpd.service

it gave the error: "No such file or directory".

then i downloded a rpm verion of mysql -> MySQL-server-5.7.3_m13-1.linux_glibc2.5.x86_64.rpm

when i tried to install it gave the error- > failed to install, 2 package provide the same file, this is usually due to mixing packages from different s/w resources.

Now what will i do, i need to install LAMP for my project.?emphasized text

LAMP installation problem in fedora 20Failed to install file - Two package provides the same file

i need to install php,mysql and apache in my Am using fedora 20. 20. i tried different command to install LAMP from different website.mysql,php,apache whatever i saw in internet. Nothing work for me.

*rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm Now when i try to install RPM file, i get the following error,

rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

rpm -Uvh http://rpms.famillecollet.com/remi-release-19.rpm

rpm -Uvh http://rpms.famillecollet.com/remi-release-20.rpm*

yum --enablerepo=remi install httpd mysql mysql-server php php-common

yum --enablerepo=remi install php-mysql php-pgsql php-pecl-mongo php-sqlite php-pecl-memcache php-pecl-memcached php-gd php-mbstring php-mcrypt php-xml php-pecl-apc php-cli php-pear php-pdo

yum --enablerepo=remi install httpd php php-common

yum --enablerepo=remi install php-pecl-apc php-cli php-pear php-pdo php-mysqlnd php-pgsql php-pecl-mongo php-sqlite php-pecl-memcache php-pecl-memcached php-gd php-mbstring php-mcrypt php-xml

when i tried those commands it showed the message "complete" , but i noticed that a failed message upper to this complete message!

after that when i tried the following command,

/etc/init.d/httpd start systemctl enable httpd.service

it gave the error: "No such file or directory".

then i downloded a rpm verion of mysql -> MySQL-server-5.7.3_m13-1.linux_glibc2.5.x86_64.rpm

when i tried Failed to install it gave the error- > failed to install, 2 file - Two package provide provides the same file, this is usually due to mixing packages package from different s/w resources.sources.

Now what will i do, i need do to remove all unwanted data and finally to install LAMP for my project.?emphasized textmysql,php,apache.

Failed to install file - Two package provides the same file

Am using fedora 20. i tried different command to install mysql,php,apache whatever i saw in internet. Nothing work for me.

Now when i try to install RPM file, i get the following error,

Failed to install file - Two package provides the same file, this is due to mixing package from different s/w sources.

Now what will i do to remove all unwanted data and finally to install mysql,php,apache.