Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:snagview:php7
php7-fpm
php-fpm.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php-fpm.spec of Package php7-fpm
#SuSe 12* specific Part %if 0%{?suse_version} >= 1315 Requires: php7 apache2 %endif #SuSe 11* specific Part %if 0%{?suse_version} == 1110 Requires: php5 apache2 %endif #Centos 7 specific Part %if 0%{?centos_version} == 700 Requires: php httpd %endif Name: php7-fpm-snag Version: 1 Release: 1 License: php Summary: FPM for PHP55 Group: languages/php #Source: php-5.3.17.tar.gz Source: php-7.1.16.tar.gz BuildRequires: libxml2-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: php-fpm %description PHP-FPM %prep cd %{_builddir} # tar -xf %{_sourcedir}/php-5.3.17.tar.gz tar -xf %{_sourcedir}/php-7.1.16.tar.gz %build #cd %{_builddir}/php-5.3.17 cd %{_builddir}/php-7.1.16 EXTENSION_DIR="/usr/lib64/php7/extensions" ./configure --enable-fpm --with-config-file-scan-dir=/etc/php7/conf.d/ --enable-mysqlnd make %install #cd %{_builddir}/php-5.3.17 cd %{_builddir}/php-7.1.16 install -D -m 755 sapi/fpm/php-fpm %{buildroot}/usr/sbin/php-fpm install -D -m 644 sapi/fpm/php-fpm.conf %{buildroot}/etc/php7/fpm/php-fpm.conf.default install -D -m 644 %{_sourcedir}/php-fpm.conf %{buildroot}/etc/php7/fpm/php-fpm.conf install -D -m 755 %{_sourcedir}/php-fpm.init %{buildroot}/etc/init.d/php-fpm install -D -m 644 %{_sourcedir}/php.ini %{buildroot}/etc/php7/fpm/php.ini install -D -m 755 %{_sourcedir}/php5-fcgi %{buildroot}/usr/lib/cgi-bin/php5-fcgi install -D -m 644 %{_sourcedir}/php-fpm.logrotate %{buildroot}/etc/logrotate.d/php-fpm install -d %{buildroot}/var/log/ touch %{buildroot}/var/log/php-fpm.log %post chkconfig --add php-fpm || echo "could not enable php-fpm" %files %defattr(-,root,root,-) /usr/sbin/php-fpm %dir /etc/php7/fpm/ %dir /etc/php7 /etc/php7/fpm/php-fpm.conf.default %config(noreplace) /etc/php7/fpm/php-fpm.conf %config(noreplace) /etc/php7/fpm/php.ini %config(noreplace) /etc/logrotate.d/php-fpm /etc/init.d/php-fpm %dir /usr/lib/cgi-bin /usr/lib/cgi-bin/php5-fcgi %ghost /var/log/php-fpm.log
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor