removing php4 in order to install php5-pear
Ken Hawkins
ken at rosewoodblues.com
Wed Jan 26 16:47:11 PST 2005
thanks T that did the trick of installing. I guess I can't get the
order correct or something because now I can't go back in install
mod_php4;
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).
===> Installing for mod_php4-4.3.9,1
===> mod_php4-4.3.9,1 conflicts with installed package(s):
php4-4.3.9
They install files into the same place.
Please remove them first with pkg_delete(1).
*** Error code 1
Stop in /usr/ports/www/mod_php4.
do I not have to install mod_php4 to get apache support? just modifying
the httpd.conf doesn't do the trick.
i noticed doing pkg_info returns;
php4-4.3.9 PHP Scripting Language (Apache Module and CLI)
php4-pcre-4.3.9 The pcre shared extension for php
php4-xml-4.3.9 The xml shared extension for php
php5-pear-5.0.2 PEAR framework for PHP
should php4-4.3.9 be installed as part of the php5-pear?
i obviously do not have the order right to install
apache13
mod_php(?)
php(?)-extensions
mysql323-server
and phpbb
anyone have any insight as to what could be the right combination to
get these to play nice?
ken;
On Jan 26, 2005, at 6:48 PM, Thomas Foster wrote:
> I have had similar issues when attempting to upgrade or downgrade PHP.
> I pretty much had to make distclean on both PHP4 and PHP5 ports..
> (including the pear libraries) and then remove the individual PHP4 (or
> PHP5) packages ..
>
> pkg_info |grep PHP
>
> should show you the currently installed PHP packages..
>
> You could either remove them indivdually.. depending on what you
> need.. or
>
> pkg_delete -x PHP
>
> Once you have verified all the PHP4 (or PHP5) packages have been
> removed.. you can make config for PHP5 and the PHP5-extensions ports
>
> Hope this helps..
>
> T
> ----- Original Message ----- From: "Ken Hawkins"
> <ken at rosewoodblues.com>
> To: <freebsd-questions at freebsd.org>
> Sent: Wednesday, January 26, 2005 3:38 PM
> Subject: removing php4 in order to install php-pear
>
>
>> I installed apache13 mod_php4, php4-extensions and
>> mysql323-server/client. then I noticed that phpbb was part of the
>> ports and I need it so hey let's do it! I 'make install' and BANG:
>>
>> ===> Installing for phpbb-2.0.10
>> ===> phpbb-2.0.10 depends on file: /usr/local/share/pear/System.php
>> - not found
>> ===> Verifying install for /usr/local/share/pear/System.php in
>> /usr/ports/devel/pear-PEAR
>> ===> pear-PEAR-1.3.1 depends on file:
>> /usr/local/share/pear/Archive/Tar.php - not found
>> ===> Verifying install for /usr/local/share/pear/Archive/Tar.php
>> in /usr/ports/archivers/pear-Archive_Tar
>> ===> Installing for pear-Archive_Tar-1.2
>> ===> pear-Archive_Tar-1.2 depends on executable: pear - not found
>> ===> Verifying install for pear in /usr/ports/devel/php5-pear
>> This port requires the CLI or the CGI version of PHP, but you have
>> already installed a conflicting PHP port without them.
>> *** Error code 1
>>
>> Stop in /usr/ports/devel/php5-pear.
>> *** Error code 1
>>
>> Stop in /usr/ports/archivers/pear-Archive_Tar.
>> *** Error code 1
>>
>> Stop in /usr/ports/devel/pear-PEAR.
>> *** Error code 1
>>
>> Stop in /usr/ports/www/phpbb.
>>
>> php5-pear problem so i deinstalled all 'php' packages and tried
>> again. however i still get:
>>
>> ===> Verifying install for pear in /usr/ports/devel/php5-pear
>> This port requires the CLI or the CGI version of PHP, but you have
>> already installed a conflicting PHP port without them.
>> *** Error code 1
>>
>> when type 'make install' in devel/php5-pear.
>>
>> how can I rip out php4 and get an install of php5-pear on the
>> machine? there has to be an easy way to do this.
>>
>> thanks in advance,
>> ken;
>>
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscribe at freebsd.org"
>
More information about the freebsd-questions
mailing list