[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Doubts about PHP



Hello,

On Thu, Jul 19, 2007 at 06:06:14PM -0500, Raphael Geissert wrote:
> 
> That's exactly the reason why I recommend to Depend on php5.
> $ apt-cache show php5 | grep Depends
> Depends: libapache2-mod-php5 (>= 5.2.3-1) | php5-cgi (>= 5.2.3-1),
> php5-common (>= 5.2.3-1)
> 
> That's more than enough.

* For web server, I recommend:

Depends: apache2 | httpd


* For PHP depends, if your application is compatible with PHP4, you
should let php4 and php4-cgi (because php4-cgi is not in depends
of virtual package php4 in sarge):

Depends: php5 | php4 | php4-cgi

Of course, you must add restrictions if needed. For example, if
your application is compatible with PHP 4.4 but not PHP 4.3:

Depends: php5 | php4 (>= 4:4.4)


Regards,
--
Gregory Colpart <reg@evolix.fr>  GnuPG:1024D/C1027A0E
Evolix - Informatique et Logiciels Libres http://www.evolix.fr/



Reply to: