PackagingDrafts/PHP

From FedoraProject

< PackagingDrafts(Difference between revisions)
Jump to: navigation, search
(Apache requirement)
(Apache requirement)
 
Line 26: Line 26:
 
PHP extensions should require all the used extensions (php-date, php-gd, php-mbstring, ...) which are virtual provide of php sub-packages.
 
PHP extensions should require all the used extensions (php-date, php-gd, php-mbstring, ...) which are virtual provide of php sub-packages.
  
To specify a minimum PHP version, current practice is to require php-common (not available for EPEL-5 with php53)
+
To specify a minimum PHP version, current practice is to require php-common (not available for EPEL-5 with php53). Recommended require is php(language) which is now available in fedora packages (not yet in RHEL)
  
 
[[Category:Packaging guidelines drafts]]
 
[[Category:Packaging guidelines drafts]]

Latest revision as of 05:32, 11 July 2012

[[TableOfContents(3)]

Contents

[edit] Proposed Changes to PHP Guidelines

[edit] 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 .


[edit] Actual Guidelines

[edit] Requires and Provides

nothing about apache requirement

[edit] Change proposal

[edit] Requires and Provides

[edit] Apache requirement

A PHP library must not require php or httpd as is could be used with any webserver or any SAPI (php-cli, php-cgi, php-fpm, ...).

Only a PHP web application, which provide httpd configuration, should requires httpd and mod_php.

PHP extensions should require all the used extensions (php-date, php-gd, php-mbstring, ...) which are virtual provide of php sub-packages.

To specify a minimum PHP version, current practice is to require php-common (not available for EPEL-5 with php53). Recommended require is php(language) which is now available in fedora packages (not yet in RHEL)