Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.
/ php7-mga Public archive

source code for build .rpm php7 in mageia 6

Notifications You must be signed in to change notification settings

cognitus/php7-mga

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

php7.1-mga

RPM Spec, patch and diff files for build php 7.1.13 (04 Jan 2018) in Mageia 6

After install, the package php-timezonedb and all the php extension as php-redis , php-sasl needs rebuild with this version.

QuickUsage

Create rpmbuild structure in /~

 $ mkdir -p ~/rpmbuild/{BUILD,RPMS/i586,RPMS/x86_64,RPMS/noarch,SOURCES,SRPMS,SPECS,tmp}

create file .rpmmacros

Put files in folders

Download and replace in

 $ ~/rpmbuild/

Install dependencies

For build rpm

 # urpmi rpm-build rpmlint task-c++-devel task-c-devel

For compile php7 you needs all dependencies listed in .spec (BuildRequires)

you can install all them with: (dnf rulez!)

 # dnf builddep php.spec

As note you need install lib64fbclient-devel or libfbclient-devel

Build

Remember use with your own user

$ cd  ~/rpmbuild/SPECS
$ rpmbuild -ba php.spec

Install

 $ cd ~/rpmbuild/RPMS/{Arch}/

if you want, remove debuginfo packages

 $ rm ./*debuginfo*.rpm

and install

 # urpmi ./lib64php_common7-{version}.mga6.x86_64.rpm
 # urpmi ./php-*
 # urpmi ./apache-mod_php-7.{version}.mga6.x86_64.rpm