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

Re: Why Installing php and pecl so difficult in Debian?



On Thu, Apr 10, 2008 at 10:10:33PM +1000, hce wrote:
> I thought PHP is very common now days, but I found so difficult to
> install it in debian. The apt-get install can't find any php, pecl,
> php-xml packages.
> 
> So, I have to downloaded php5_5.2.0-8+etch10_all.deb,
> php5-common_5.2.0-8+etch10_i386.deb and
> php5-cgi_5.2.0-8+etch10_i386.deb manually and installed them by dkpg.
> It installed php5-cgi, but on php binary in /usr/bin.
> 
> People helped me to find dh-make-php - Creates Debian source packages
> for PHP PEAR and PECL extensions. Is it a right package for PHP5
> extension?
> 
> How can I install all  php extensions by using apt-get?

The package names all include the version of PHP.  You can't "apt-get
install php", true, but you *can* "apt-get install php5" or "apt-get
install php4".

As others have mentioned, you may also want to try "apt-cache search",
although, admittedly, the sheer bulk of packages mentioning php
("apt-cache search php" returns 408 results) could make this a more
time-consuming route than would be ideal.

-- 
News aggregation meets world domination.  Can you see the fnews?
http://seethefnews.com/


Reply to: