From Fedora Project Wiki
(Change proposal for ZTS stuff)
No edit summary
Line 20: Line 20:
=== PHP extension ===
=== PHP extension ===


The php-devel package in fedora >= 17 (5.4.0) provides needed stuff to build ZTS macro and provides several new macros:
The php-devel package in fedora >= 17 (5.4.0) provides the necessary files to build ZTS modules and provides several new macros:


For standard (NTS) extensions
For standard (NTS) extensions
Line 39: Line 39:
</pre>
</pre>


%{php_ztsbindir} contains the executables needed during the build of ZTS extension
%{php_ztsbindir} contains the executables needed during the build of a ZTS extension, which are:
* phpize
* phpize
* php-config
* php-config

Revision as of 18:27, 25 January 2012

[[TableOfContents(3)]

Proposed Changes to PHP Guidelines

Synopsis

This page describes items that need to be changed in the PHP Guidelines or other items that need to be reviewed or ratified by the Fedora Packaging Comittee and FESCo .


Actual Guidelines

Macros and scriptlets

No information on macro provided by php-devel

Change proposal

Macros and scriptlets

PHP extension

The php-devel package in fedora >= 17 (5.4.0) provides the necessary files to build ZTS modules and provides several new macros:

For standard (NTS) extensions

%{__php}          %{_bindir}/php
%{php_extdir}     %{_libdir}/php/modules
%{php_inidir}     %{_sysconfdir}/php.d
%{php_incldir     %{_includedir}/php
%{php_bindir}     %{_bindir}

For ZTS extensions

%{php_ztsextdir}  %{_libdir}/php-zts/modules
%{php_ztsinidir}  %{_sysconfdir}/php-zts.d
%{php_ztsincldir  %{_includedir}/php-zts/php
%{php_ztsbindir}  %{_bindir}/php-zts

%{php_ztsbindir} contains the executables needed during the build of a ZTS extension, which are:

  • phpize
  • php-config
  • php (which is only useful to run test suite during build)