logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 



Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



Installing PHP 7 Fails

 
Post new topic   Reply to topic    Apache Forum Index -> Other Software



View previous topic :: View next topic  
Author Message
sisir



Joined: 04 Dec 2015
Posts: 2

PostPosted: Fri 04 Dec '15 18:25    Post subject: Installing PHP 7 Fails Reply with quote

I have to confess my level of understanding with OS and server is very basic. So, please be patience with me.

Important Info:

OS: CentOS 7.1
Server: Apache/2.4.6

Trying to install php7 on a vagrant box.

Following https://webtatic.com/packages/php70/

Yum trys to find all dependencies but then installing php fails.

The failure message is below


Code:

Error: Package: php70w-7.0.0-1.w6.x86_64 (webtatic)
           Requires: httpd-mmn = 20051115
           Installed: httpd-2.4.6-31.el7.centos.1.x86_64 (@updates)
               httpd-mmn = 20120211
               httpd-mmn = 20120211x8664
               httpd-mmn = 20120211-x86-64
           Available: httpd-2.4.6-31.el7.centos.x86_64 (base)
               httpd-mmn = 20120211x8664
               httpd-mmn = 20120211-x86-64
               httpd-mmn = 20120211
Error: php70w-common conflicts with php-common-5.4.16-36.el7_1.x86_64
Error: Package: php70w-common-7.0.0-1.w6.x86_64 (webtatic)
           Requires: libgmp.so.3()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest


It seem yum is unable to resolve all dependencies? Please advice.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6255
Location: Germany, Next to Hamburg

PostPosted: Fri 04 Dec '15 19:06    Post subject: Reply with quote

The mmn is the magic number in httpd. And it seems that the php 7 of your distro wants "20051115" instead of "20120211"

If I remember correctly 20051115 is the number of Apache 2.2 and not the 2.4 you installed. I think the maintainer of php7 has to correct that.
Back to top
sisir



Joined: 04 Dec 2015
Posts: 2

PostPosted: Fri 04 Dec '15 19:28    Post subject: Reply with quote

So, basically I there is nothing much I can do about it right?

May be I should try finding some other PHP7 module.
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 794
Location: Amsterdam, NL, EU

PostPosted: Fri 04 Dec '15 22:14    Post subject: Reply with quote

https://github.com/rlerdorf/php7dev
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Other Software
Page 1 of 1