public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] dev-php/php blocking dev-lang/php
@ 2006-02-07 18:35 Darren Grant
  2006-02-07 19:33 ` Craig Duncan
  2006-02-07 19:41 ` James Ausmus
  0 siblings, 2 replies; 12+ messages in thread
From: Darren Grant @ 2006-02-07 18:35 UTC (permalink / raw
  To: gentoo-user

I'm trying to install squirrelmail on a system that I've already 
compiled apache2 with dev-php/php and dev-php/mod_php support. 
squirrelmail is complaining about dev-php/php blocking dev-php/php and 
dev-php/PEAR dependencies.

I searched around and found a couple of solutions. I tried remerging 
dev-php/php with use="pear" but that didn't help. And also adding pear 
packages to my /etc/portage/package.keywords... but that didn't help either.

Any help would be greatly appreciated.

# emerge -p squirrelmail

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[blocks B     ] dev-php/mod_php (is blocking dev-lang/php-5.0.5-r5)
[blocks B     ] dev-php/php (is blocking dev-lang/php-5.0.5-r5)
[blocks B     ] dev-php/mod_php (is blocking dev-php/PEAR-PEAR-1.4.6-r1)
[blocks B     ] dev-php/php (is blocking dev-php/PEAR-PEAR-1.4.6-r1)
[ebuild  N    ] app-admin/php-toolkit-1.0-r2
[ebuild  N    ] dev-lang/php-5.0.5-r5
[ebuild  N    ] dev-php/PEAR-PEAR-1.4.6-r1
[ebuild  N    ] dev-php/PEAR-DB-1.7.6-r1
[ebuild  N    ] perl-core/DB_File-1.811-r1
[ebuild  N    ] dev-libs/libusb-0.1.10a
[ebuild  N    ] media-gfx/xloadimage-4.1-r4
[ebuild  N    ] app-crypt/gnupg-1.4.2-r3
[ebuild  N    ] mail-client/squirrelmail-1.4.5-r1

Thanks,
Darren
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] dev-php/php blocking dev-lang/php
  2006-02-07 18:35 [gentoo-user] dev-php/php blocking dev-lang/php Darren Grant
@ 2006-02-07 19:33 ` Craig Duncan
  2006-02-07 19:41 ` James Ausmus
  1 sibling, 0 replies; 12+ messages in thread
From: Craig Duncan @ 2006-02-07 19:33 UTC (permalink / raw
  To: gentoo-user

Darren Grant wrote:
> I'm trying to install squirrelmail on a system that I've already 
> compiled apache2 with dev-php/php and dev-php/mod_php support. 
> squirrelmail is complaining about dev-php/php blocking dev-php/php and 
> dev-php/PEAR dependencies.
>
> I searched around and found a couple of solutions. I tried remerging 
> dev-php/php with use="pear" but that didn't help. And also adding pear 
> packages to my /etc/portage/package.keywords... but that didn't help 
> either.
>
> Any help would be greatly appreciated.
>
> # emerge -p squirrelmail
>
> These are the packages that I would merge, in order:
>
> Calculating dependencies ...done!
> [blocks B     ] dev-php/mod_php (is blocking dev-lang/php-5.0.5-r5)
> [blocks B     ] dev-php/php (is blocking dev-lang/php-5.0.5-r5)
> [blocks B     ] dev-php/mod_php (is blocking dev-php/PEAR-PEAR-1.4.6-r1)
> [blocks B     ] dev-php/php (is blocking dev-php/PEAR-PEAR-1.4.6-r1)
> [ebuild  N    ] app-admin/php-toolkit-1.0-r2
> [ebuild  N    ] dev-lang/php-5.0.5-r5
> [ebuild  N    ] dev-php/PEAR-PEAR-1.4.6-r1
> [ebuild  N    ] dev-php/PEAR-DB-1.7.6-r1
> [ebuild  N    ] perl-core/DB_File-1.811-r1
> [ebuild  N    ] dev-libs/libusb-0.1.10a
> [ebuild  N    ] media-gfx/xloadimage-4.1-r4
> [ebuild  N    ] app-crypt/gnupg-1.4.2-r3
> [ebuild  N    ] mail-client/squirrelmail-1.4.5-r1
>
> Thanks,
> Darren
unmerge dev-php/php and use dev-lang/php.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] dev-php/php blocking dev-lang/php
  2006-02-07 18:35 [gentoo-user] dev-php/php blocking dev-lang/php Darren Grant
  2006-02-07 19:33 ` Craig Duncan
@ 2006-02-07 19:41 ` James Ausmus
  2006-02-07 21:50   ` Darren Grant
  1 sibling, 1 reply; 12+ messages in thread
From: James Ausmus @ 2006-02-07 19:41 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1707 bytes --]

On 2/7/06, Darren Grant <dgrant@monstertech.ca> wrote:
>
> I'm trying to install squirrelmail on a system that I've already
> compiled apache2 with dev-php/php and dev-php/mod_php support.
> squirrelmail is complaining about dev-php/php blocking dev-php/php and
> dev-php/PEAR dependencies.
>
> I searched around and found a couple of solutions. I tried remerging
> dev-php/php with use="pear" but that didn't help. And also adding pear
> packages to my /etc/portage/package.keywords... but that didn't help
> either.
>
> Any help would be greatly appreciated.
>
> # emerge -p squirrelmail
>
> These are the packages that I would merge, in order:
>
> Calculating dependencies ...done!
> [blocks B     ] dev-php/mod_php (is blocking dev-lang/php-5.0.5-r5)
> [blocks B     ] dev-php/php (is blocking dev-lang/php-5.0.5-r5)
> [blocks B     ] dev-php/mod_php (is blocking dev-php/PEAR-PEAR-1.4.6-r1)
> [blocks B     ] dev-php/php (is blocking dev-php/PEAR-PEAR-1.4.6-r1)



dev-lang/php is the new consolidated php ebuild, replaces both dev-php/php
and dev-php/mod_php. To get CLI php installed, make sure you have the "cli"
USE flag set, and to get apache2 support installed, make sure you have the
"apache2" USE flag set. Then do the following:

#emerge -pv dev-lang/php

Ignore the blocking messages, just give the USE flags a once-over - there
are changes between the dev-php/php ebuild and the dev-lang/php ebuild as
far as USE flags are concerned.

Once you have your USE flags set as you need them, do:

#emerge -C php mod_php && emerge dev-lang/php

Then you should be able to emerge squirrelmail just fine.

HTH

-James



 <snip of remainder of post>

[-- Attachment #2: Type: text/html, Size: 2164 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] dev-php/php blocking dev-lang/php
  2006-02-07 19:41 ` James Ausmus
@ 2006-02-07 21:50   ` Darren Grant
  2006-02-07 22:02     ` Darren Grant
                       ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Darren Grant @ 2006-02-07 21:50 UTC (permalink / raw
  To: gentoo-user



James Ausmus wrote:

>
>
> On 2/7/06, *Darren Grant* <dgrant@monstertech.ca 
> <mailto:dgrant@monstertech.ca>> wrote:
>
>     I'm trying to install squirrelmail on a system that I've already
>     compiled apache2 with dev-php/php and dev-php/mod_php support.
>     squirrelmail is complaining about dev-php/php blocking dev-php/php and
>     dev-php/PEAR dependencies.
>
>     I searched around and found a couple of solutions. I tried remerging
>     dev-php/php with use="pear" but that didn't help. And also adding pear
>     packages to my /etc/portage/package.keywords... but that didn't
>     help either.
>
>     Any help would be greatly appreciated.
>
>     # emerge -p squirrelmail
>
>     These are the packages that I would merge, in order:
>
>     Calculating dependencies ...done!
>     [blocks B     ] dev-php/mod_php (is blocking dev-lang/php- 5.0.5-r5)
>     [blocks B     ] dev-php/php (is blocking dev-lang/php-5.0.5-r5)
>     [blocks B     ] dev-php/mod_php (is blocking
>     dev-php/PEAR-PEAR-1.4.6-r1)
>     [blocks B     ] dev-php/php (is blocking dev-php/PEAR-PEAR-1.4.6-r1 )
>
>
>
> dev-lang/php is the new consolidated php ebuild, replaces both 
> dev-php/php and dev-php/mod_php. To get CLI php installed, make sure 
> you have the "cli" USE flag set, and to get apache2 support installed, 
> make sure you have the "apache2" USE flag set. Then do the following:
>
> #emerge -pv dev-lang/php
>
> Ignore the blocking messages, just give the USE flags a once-over - 
> there are changes between the dev-php/php ebuild and the dev-lang/php 
> ebuild as far as USE flags are concerned.
>
> Once you have your USE flags set as you need them, do:
>
> #emerge -C php mod_php && emerge dev-lang/php
>
> Then you should be able to emerge squirrelmail just fine.
>
> HTH
>
> -James
>
>
>
>  <snip of remainder of post>

Thanks for the help... appreciate it.

With a bit of tweaking I was able to get dev-lang/php installed as well 
as squirrelmail. Now though my apache2+php is broken. IE: bringing up 
http://localhost/squirremail... firefox asks if I want to save filetype 
.phtml ...

In my /etc/conf.d/apache2 file I have "APACHE2_OPTS="-D DEFAULT_VHOST -D 
PHP -D SSL"".

Is there some tweaking I need to do to my 
/etc/apache2/modules.d/70_mod_php.conf?



-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] dev-php/php blocking dev-lang/php
  2006-02-07 21:50   ` Darren Grant
@ 2006-02-07 22:02     ` Darren Grant
  2006-02-07 22:11       ` James Ausmus
  2006-02-07 22:06     ` kashani
  2006-02-07 22:10     ` [gentoo-user] " Harm Geerts
  2 siblings, 1 reply; 12+ messages in thread
From: Darren Grant @ 2006-02-07 22:02 UTC (permalink / raw
  To: gentoo-user



Darren Grant wrote:

>
>
> James Ausmus wrote:
>
>>
>>
>> On 2/7/06, *Darren Grant* <dgrant@monstertech.ca 
>> <mailto:dgrant@monstertech.ca>> wrote:
>>
>>     I'm trying to install squirrelmail on a system that I've already
>>     compiled apache2 with dev-php/php and dev-php/mod_php support.
>>     squirrelmail is complaining about dev-php/php blocking 
>> dev-php/php and
>>     dev-php/PEAR dependencies.
>>
>>     I searched around and found a couple of solutions. I tried remerging
>>     dev-php/php with use="pear" but that didn't help. And also adding 
>> pear
>>     packages to my /etc/portage/package.keywords... but that didn't
>>     help either.
>>
>>     Any help would be greatly appreciated.
>>
>>     # emerge -p squirrelmail
>>
>>     These are the packages that I would merge, in order:
>>
>>     Calculating dependencies ...done!
>>     [blocks B     ] dev-php/mod_php (is blocking dev-lang/php- 5.0.5-r5)
>>     [blocks B     ] dev-php/php (is blocking dev-lang/php-5.0.5-r5)
>>     [blocks B     ] dev-php/mod_php (is blocking
>>     dev-php/PEAR-PEAR-1.4.6-r1)
>>     [blocks B     ] dev-php/php (is blocking 
>> dev-php/PEAR-PEAR-1.4.6-r1 )
>>
>>
>>
>> dev-lang/php is the new consolidated php ebuild, replaces both 
>> dev-php/php and dev-php/mod_php. To get CLI php installed, make sure 
>> you have the "cli" USE flag set, and to get apache2 support 
>> installed, make sure you have the "apache2" USE flag set. Then do the 
>> following:
>>
>> #emerge -pv dev-lang/php
>>
>> Ignore the blocking messages, just give the USE flags a once-over - 
>> there are changes between the dev-php/php ebuild and the dev-lang/php 
>> ebuild as far as USE flags are concerned.
>>
>> Once you have your USE flags set as you need them, do:
>>
>> #emerge -C php mod_php && emerge dev-lang/php
>>
>> Then you should be able to emerge squirrelmail just fine.
>>
>> HTH
>>
>> -James
>>
>>
>>
>>  <snip of remainder of post>
>
>
> Thanks for the help... appreciate it.
>
> With a bit of tweaking I was able to get dev-lang/php installed as 
> well as squirrelmail. Now though my apache2+php is broken. IE: 
> bringing up http://localhost/squirremail... firefox asks if I want to 
> save filetype .phtml ...
>
> In my /etc/conf.d/apache2 file I have "APACHE2_OPTS="-D DEFAULT_VHOST 
> -D PHP -D SSL"".
>
> Is there some tweaking I need to do to my 
> /etc/apache2/modules.d/70_mod_php.conf?
>
>
>

Ahh found it... just needed to change -D PHP to -D PHP5 ;)
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] dev-php/php blocking dev-lang/php
  2006-02-07 21:50   ` Darren Grant
  2006-02-07 22:02     ` Darren Grant
@ 2006-02-07 22:06     ` kashani
  2006-02-07 22:10     ` [gentoo-user] " Harm Geerts
  2 siblings, 0 replies; 12+ messages in thread
From: kashani @ 2006-02-07 22:06 UTC (permalink / raw
  To: gentoo-user

Darren Grant wrote:
> In my /etc/conf.d/apache2 file I have "APACHE2_OPTS="-D DEFAULT_VHOST -D 
> PHP -D SSL"".
> 
> Is there some tweaking I need to do to my 
> /etc/apache2/modules.d/70_mod_php.conf?

You need a PHP4 not PHP.

APACHE2_OPTS="-D DEFAULT_VHOST -D PHP4 -D SSL"

kashani
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-user] Re: dev-php/php blocking dev-lang/php
  2006-02-07 21:50   ` Darren Grant
  2006-02-07 22:02     ` Darren Grant
  2006-02-07 22:06     ` kashani
@ 2006-02-07 22:10     ` Harm Geerts
  2 siblings, 0 replies; 12+ messages in thread
From: Harm Geerts @ 2006-02-07 22:10 UTC (permalink / raw
  To: gentoo-user

On Tuesday 07 February 2006 22:50, Darren Grant wrote:
> With a bit of tweaking I was able to get dev-lang/php installed as well
> as squirrelmail. Now though my apache2+php is broken. IE: bringing up
> http://localhost/squirremail... firefox asks if I want to save filetype
> .phtml ...
>
> In my /etc/conf.d/apache2 file I have "APACHE2_OPTS="-D DEFAULT_VHOST -D
> PHP -D SSL"".
>
> Is there some tweaking I need to do to my
> /etc/apache2/modules.d/70_mod_php.conf?
Which version of php are you using?

If I recall correctly /etc/apache2/modules.d/70_mod_php.conf belongs to php4.
php5 uses /etc/apache2/modules.d/70_mod_php5.conf
If you have both, remove the version you're not using.

For php5 you also have to use PHP5 in /etc/conf.d/apache2
APACHE2_OPTS="-D DEFAULT_VHOST -D PHP5 -D SSL"
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] dev-php/php blocking dev-lang/php
  2006-02-07 22:02     ` Darren Grant
@ 2006-02-07 22:11       ` James Ausmus
  2006-02-07 23:58         ` Darren Grant
  0 siblings, 1 reply; 12+ messages in thread
From: James Ausmus @ 2006-02-07 22:11 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 222 bytes --]

On 2/7/06, Darren Grant <dgrant@monstertech.ca> wrote:
<snip>

Ahh found it... just needed to change -D PHP to -D PHP5 ;)
> --
> gentoo-user@gentoo.org mailing list
>
>
Great, glad it's working for you!

-James

[-- Attachment #2: Type: text/html, Size: 574 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] dev-php/php blocking dev-lang/php
  2006-02-07 22:11       ` James Ausmus
@ 2006-02-07 23:58         ` Darren Grant
  2006-02-08  0:19           ` [gentoo-user] " Harm Geerts
  2006-02-08  0:21           ` [gentoo-user] " James Ausmus
  0 siblings, 2 replies; 12+ messages in thread
From: Darren Grant @ 2006-02-07 23:58 UTC (permalink / raw
  To: gentoo-user

Yeah thanks for everyone's help. The only thing I'm having trouble with 
now is phpmyadmin. It's giving me a ...

<<
phpMyAdmin - Error

Cannot load /session/ <http://php.net/session> extension. Please check 
your PHP configuration.
 >>

I tried remerging it after all the php tweaking I did, and verified that 
I can bring up .php and .phtml pages... but no phpmyadmin. Any ideas?

James Ausmus wrote:

>
>
> On 2/7/06, *Darren Grant* <dgrant@monstertech.ca 
> <mailto:dgrant@monstertech.ca>> wrote:
> <snip>
>
>     Ahh found it... just needed to change -D PHP to -D PHP5 ;)
>     --
>     gentoo-user@gentoo.org <mailto:gentoo-user@gentoo.org> mailing list
>
>
> Great, glad it's working for you!
>
> -James
>
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-user] Re: dev-php/php blocking dev-lang/php
  2006-02-07 23:58         ` Darren Grant
@ 2006-02-08  0:19           ` Harm Geerts
  2006-02-08  0:27             ` Darren Grant
  2006-02-08  0:21           ` [gentoo-user] " James Ausmus
  1 sibling, 1 reply; 12+ messages in thread
From: Harm Geerts @ 2006-02-08  0:19 UTC (permalink / raw
  To: gentoo-user

On Wednesday 08 February 2006 00:58, Darren Grant wrote:
> Yeah thanks for everyone's help. The only thing I'm having trouble with
> now is phpmyadmin. It's giving me a ...
>
> <<
> phpMyAdmin - Error
>
> Cannot load /session/ <http://php.net/session> extension. Please check
> your PHP configuration.
>
>
> I tried remerging it after all the php tweaking I did, and verified that
> I can bring up .php and .phtml pages... but no phpmyadmin. Any ideas?

You probably missed the "session" USE flag
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] dev-php/php blocking dev-lang/php
  2006-02-07 23:58         ` Darren Grant
  2006-02-08  0:19           ` [gentoo-user] " Harm Geerts
@ 2006-02-08  0:21           ` James Ausmus
  1 sibling, 0 replies; 12+ messages in thread
From: James Ausmus @ 2006-02-08  0:21 UTC (permalink / raw
  To: gentoo-user

On 2/7/06, Darren Grant <dgrant@monstertech.ca> wrote:
> Yeah thanks for everyone's help. The only thing I'm having trouble with
> now is phpmyadmin. It's giving me a ...
>
> <<
> phpMyAdmin - Error
>
> Cannot load /session/ <http://php.net/session> extension. Please check
> your PHP configuration.
>  >>

Did you compile dev-lang/php with the "session" USE flag enabled?

<snip>

-James

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] Re: dev-php/php blocking dev-lang/php
  2006-02-08  0:19           ` [gentoo-user] " Harm Geerts
@ 2006-02-08  0:27             ` Darren Grant
  0 siblings, 0 replies; 12+ messages in thread
From: Darren Grant @ 2006-02-08  0:27 UTC (permalink / raw
  To: gentoo-user

Yeah I just noticed that it could be added as a flag... thanks Harm. :)

Harm Geerts wrote:

>On Wednesday 08 February 2006 00:58, Darren Grant wrote:
>  
>
>>Yeah thanks for everyone's help. The only thing I'm having trouble with
>>now is phpmyadmin. It's giving me a ...
>>
>><<
>>phpMyAdmin - Error
>>
>>Cannot load /session/ <http://php.net/session> extension. Please check
>>your PHP configuration.
>>
>>
>>I tried remerging it after all the php tweaking I did, and verified that
>>I can bring up .php and .phtml pages... but no phpmyadmin. Any ideas?
>>    
>>
>
>You probably missed the "session" USE flag
>  
>
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2006-02-08  0:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-07 18:35 [gentoo-user] dev-php/php blocking dev-lang/php Darren Grant
2006-02-07 19:33 ` Craig Duncan
2006-02-07 19:41 ` James Ausmus
2006-02-07 21:50   ` Darren Grant
2006-02-07 22:02     ` Darren Grant
2006-02-07 22:11       ` James Ausmus
2006-02-07 23:58         ` Darren Grant
2006-02-08  0:19           ` [gentoo-user] " Harm Geerts
2006-02-08  0:27             ` Darren Grant
2006-02-08  0:21           ` [gentoo-user] " James Ausmus
2006-02-07 22:06     ` kashani
2006-02-07 22:10     ` [gentoo-user] " Harm Geerts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox