Re: [gentoo-user] dev-php/php blocking dev-lang/php

2006-02-07 Thread James Ausmus
On 2/7/06, Darren Grant [EMAIL PROTECTED] wrote:
I'm trying to install squirrelmail on a system that I've alreadycompiled apache2 with dev-php/php and dev-php/mod_php support.squirrelmail is complaining about dev-php/php blocking dev-php/php anddev-php/PEAR dependencies.
I searched around and found a couple of solutions. I tried remergingdev-php/php with use=pear but that didn't help. And also adding pearpackages to my /etc/portage/package.keywords... but that didn't help either.
Any help would be greatly appreciated.# emerge -p squirrelmailThese 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/phpIgnore 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/phpThen you should be able to emerge squirrelmail just fine.HTH-James
snip of remainder of post


Re: [gentoo-user] dev-php/php blocking dev-lang/php

2006-02-07 Thread Craig Duncan

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



Re: [gentoo-user] dev-php/php blocking dev-lang/php

2006-02-07 Thread Darren Grant



Darren Grant wrote:




James Ausmus wrote:




On 2/7/06, *Darren Grant* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] 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



Re: [gentoo-user] php blocking

2006-01-24 Thread James Ausmus
On 1/24/06, James [EMAIL PROTECTED] wrote:
 Hello,

 I've looked at the previous threads, but I cannot seem to remove (unmerge)
 these packages:

 [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.3.6-r4)
 [blocks B ] dev-php/php (is blocking dev-php/PEAR-PEAR-1.3.6-r4)


What does it show when you do a
  emerge -pC dev-php/mod_php dev-php/php
?

-James


 Ideas on what to remove, so php5 can be exclusively installed via:

 http://www.gentoo.org/proj/en/php/php-upgrading.xml

 This page does not tell you what to remove to clear the blocking.

 equery list 'dev-php/'   reveals:
 [ Searching for all packages in 'dev-php' among: ]
  * installed packages

 In fact I used 'eix php' and 'eix pear' and  could find nothing at
 all installed. I'm stumped as to how to fix this problem.

 Ideas?


 James



 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Blocking packages?

2005-09-20 Thread Bruno Lustosa
I'm a bit confused. If Itry to emerge -Dup world, it spits out this:

Calculating world dependencies ...done!
[blocks B ] dev-php/mod_php (is blocking dev-lang/php-5.0.5-r1)
[blocks B ] dev-php/php (is blocking dev-lang/php-5.0.5-r1)
[blocks B ] dev-php/mod_php (is blocking dev-php/PEAR-PEAR-1.3.6)
[blocks B ] dev-php/php (is blocking dev-php/PEAR-PEAR-1.3.6)
[ebuild U ] sys-apps/sandbox-1.2.13 [1.2.12]
[ebuild U ] sys-devel/autoconf-wrapper-3.2 [3.1]
(...)

So, it seems dev-php/mod_php and dev-php/php are blocking some packages.
However, I have unmerged both of them already. Why are they still blocking?

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

--- Couldn't find dev-php/php to unmerge.

--- Couldn't find dev-php/mod_php to unmerge.

 unmerge: No packages selected for removal.

Anyone know what might be causing this?Thanks
-- Bruno Lustosa, aka Lofofora| Email: [EMAIL PROTECTED]Network Administrator/Web Programmer | ICQ: 1406477Rio de Janeiro - Brazil|


Re: [gentoo-user] dev-php/php blocking dev-lang/php

2006-02-07 Thread Darren Grant



James Ausmus wrote:




On 2/7/06, *Darren Grant* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] 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



Re: [gentoo-user] Blocking packages?

2005-09-21 Thread Rafael Fernández López
Well, dev-php is not compatible with dev-lang/php. You have to emerge
dev-php/php and dev-php/mod_php for apache support. If you emerge
dev-lang/php, you'll have both of them, and it will have support for
apache too.

I recommend you to emerge dev-lang/php instead of dev-php/php and
dev-php/mod_php.

Regards,
Rafael Fernández López.

2005/9/20, Bruno Lustosa [EMAIL PROTECTED]:
 I'm a bit confused. If Itry to emerge -Dup world, it spits out this:

 Calculating world dependencies ...done!
 [blocks B ] dev-php/mod_php (is blocking dev-lang/php-5.0.5-r1)
 [blocks B ] dev-php/php (is blocking dev-lang/php-5.0.5-r1)
 [blocks B ] dev-php/mod_php (is blocking dev-php/PEAR-PEAR-1.3.6)
 [blocks B ] dev-php/php (is blocking dev-php/PEAR-PEAR-1.3.6)
 [ebuild U ] sys-apps/sandbox-1.2.13 [1.2.12]
 [ebuild U ] sys-devel/autoconf-wrapper-3.2 [3.1]
 (...)

 So, it seems dev-php/mod_php and dev-php/php are blocking some packages.
 However, I have unmerged both of them already. Why are they still blocking?

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

 --- Couldn't find dev-php/php to unmerge.

 --- Couldn't find dev-php/mod_php to unmerge.

  unmerge: No packages selected for removal.

 Anyone know what might be causing this?
 Thanks

 --
 Bruno Lustosa, aka Lofofora  | Email: [EMAIL PROTECTED]
 Network Administrator/Web Programmer | ICQ: 1406477
 Rio de Janeiro - Brazil  |


--
Saludos,
Rafael Fernández López.

A la vista de suficientes ojos todos los errores resultan evidentes
- Linus Torvalds

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] dev-lang/php

2005-09-10 Thread Kurt Guenther


dev-lang/php-5.0 popped up as one of my updates, so I dutifully deleted 
dev-php/php and dev-php/mod_php, and emerged this package.


Now, I can't find a suitable mod_php, and portage wants to reemerge 
dev-php/php-4.4.0.


Seems like a catch-22, so I'm going to mask dev-lang/php for the moment.

It's odd, but my gentoo server didn't want to update dev-lang/php. 

Any other ideas? 


--Kurt

--
gentoo-user@gentoo.org mailing list



[gentoo-user] dev-php/php blocking dev-lang/php

2006-02-07 Thread Darren Grant
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



Re: [gentoo-user] php blocking

2006-01-24 Thread Uwe Thiem
On 24 January 2006 20:20, James Ausmus wrote:
 On 1/24/06, James [EMAIL PROTECTED] wrote:
  Hello,
 
  I've looked at the previous threads, but I cannot seem to remove
  (unmerge) these packages:
 
  [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.3.6-r4)
  [blocks B ] dev-php/php (is blocking dev-php/PEAR-PEAR-1.3.6-r4)

 What does it show when you do a
   emerge -pC dev-php/mod_php dev-php/php
 ?

Just emerge --unmerge php and emerge dev-lang/php. You will have to fiddle 
with the USE flags for php a bit.

Uwe

-- 
Unix is sexy:
who | grep -i blonde | date
cd ~; unzip; touch; strip; finger
mount; gasp; yes; uptime; umount
sleep
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: php blocking

2006-01-25 Thread James
Uwe Thiem uwix at iway.na writes:


 Just emerge --unmerge php and emerge dev-lang/php. You will have to fiddle 
 with the USE flags for php a bit.

# emerge --unmerge php
--- Couldn't find php to unmerge.
unmerge: No packages selected for removal.

That's the problem it does not see the php or pear modules.

emerge --unmerge pear
--- Couldn't find pear to unmerge.
unmerge: No packages selected for removal.

I even 'emerge --sync' again, today and still
I have:


[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)


ideas?


James

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Blocking packages?

2005-09-21 Thread Bruno Lustosa
On 9/21/05, Rafael Fernández López [EMAIL PROTECTED] wrote:
Well, dev-php is not compatible with dev-lang/php. You have to emergedev-php/php and dev-php/mod_php for apache support. If you emergedev-lang/php, you'll have both of them, and it will have support forapache too.
I recommend you to emerge dev-lang/php instead of dev-php/php anddev-php/mod_php.
Yes, done that. However, it seems there are some packages that depend
specifically on dev-php/php, and if I try to emerge them, they complain.
I have unmerged the offending packages, and everything is working now.
However, to avoid all of this, I had to upgrade to php-5. No problem,
everything working fine.
Btw, why are there dev-php/php and dev-lang/php? Aren't they all the same old php? Or is this some kind of transition?

Thanks

-- Bruno Lustosa, aka Lofofora| Email: [EMAIL PROTECTED]Network Administrator/Web Programmer | ICQ: 1406477Rio de Janeiro - Brazil|


Re: [gentoo-user] php4 vs php5

2006-03-14 Thread Michael Stewart (vericgar)
James wrote:
 Hello,
 
 I've installed php4 as needed by a package (JFFNMS). Everytime I run 
 a 'emerge -uDp world' It wants to upgrade the php4 to either php5
 or another form of php4. This gets a little confusing, so I'll try
 to be very clear. I do not have php5 installed, and I do not want
 php5 installed on this system. I've tried all sorts of machinations
 in the /etc/portage dir, without success.
 
 Here's what I have installed:
 
 dev-lang/php
  Available versions:  4.3.11-r5 4.4.1-r3 ~4.4.2 [M]5.0.5-r5 [M]5.1.2
  Installed:   none
 
 dev-php/mod_php
 Installed:   4.4.0-r9
 
 dev-php/php
 Installed:   4.4.0-r4
 
 
 So I've tried various entries in my /etc/portage/package.mask file to get the
 system happy. package.mask contains:
 '=dev-lang/php-5.0.5'
 
 Focusing on php, I run  'emerge -pv dev-lang/php'
 and here is the response.
 
 These are the packages that I would merge, in order:
 
 Calculating dependencies ...done!
 [blocks B ] dev-php/mod_php (is blocking dev-lang/php-4.4.2)
 [blocks B ] dev-php/php (is blocking dev-lang/php-4.4.2)
 [ebuild  N] dev-lang/php-4.4.2 
 
 So the question is what do I put in /etc/portage/? file to get
 the system to accept the older dev-php files and not try to install
 'dev-lang/php' ?
 
 I cannot just install 'dev-lang/php' as it is blocked by the (2)
 dev-php files that I need:
 dev-php/mod_php and dev-php/php. Of coarse, take what I'm saying 
 with a grain of salt, as I'm describing the symptoms of a php
 problem without fully understandings what these package name/group
 changes really mean...(where does one read about what the developers
 are doing with php and why?). 
 jffnms is the critical package here that is causing the php heartburn.
 
 Everythings works, I just want the system to quit asking to upgrade
 php, everytime I upgrade the rest of the system.
 
 ideas?  What did I miss?
 
 
 James
 
 
 

If you are going to change from the old-style PHP (dev-php/php) to the
new-style PHP (dev-lang/php), then you need to follow the PHP upgrading
instructions on this page:

http://www.gentoo.org/proj/en/php/php-upgrading.xml

I highly suggest it, as IIRC the old-style PHP is no longer supported.


-- 
Michael Stewart [EMAIL PROTECTED]
Gentoo Developerhttp://dev.gentoo.org/~vericgar

GnuPG Key ID 0x08614788 available on http://pgp.mit.edu
--



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Re: php5 upgrade instruction

2006-02-17 Thread Harm Geerts
On Friday 17 February 2006 21:44, Jarry wrote:
 I'm having also problems with php installation/upgrade:
 I need php, php-cgi, php_mod and phpmyadmin. Impossible!

 mod_php/php-cgi is still in 4.x version, it installs php
 4.x,  and I can not install phpmyadmin because it wants php5.
 And php can not be upgraded from 4.x to 5.x, because it is
 needed/blocked by php-cgi and mod_php. How to get out of this?

dev-lang/php is a replacement for dev-php/php-cgi,mod_php,php

dev-lang/php uses USE flags to decide which SAPI's have to be build.
USE=cgi apache2 emerge dev-lang/php
This would merge the php-cgi and mod_php for apache2.

You'll have to set at least one SAPI.
Remember to build dev-lang/php with the same USE flags as you used on mod_php 
and php-cgi.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] non-PHP webmail in portage?

2009-01-09 Thread Grant
Does anyone know of a good (or OK) webmail client in portage that
doesn't use PHP?  I use squirrelmail now but I have PHP installed only
for that and I think PHP slows apache2 down a bit.

- Grant



[gentoo-user] can't emerge '=dev-lang/php-4*' .. moved?

2010-04-22 Thread laurent


following this:

http://overlays.gentoo.org/proj/php/wiki/InstallOverlay

'gentoo-php-overlay' seems now to be 'php'

Laurent



Re: [gentoo-user] Re: apache and php

2006-02-24 Thread Nick Smith
On 2/24/06, Catalin Trifu [EMAIL PROTECTED] wrote:
  Hi,

 I think if you first emerge dev-lang/php and apache, you will not get the
 blockers anymore. dev-lang/php will update the virtuals available on the
 system and horde depends on virtual/php and not dev-php/php.

 Catalin

ill give it a shot, i hope your right.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] PHP

2005-11-26 Thread Jeff Grossman
I currently have the dev-php/php installed on my Gentoo machine.  I am
thinking of moving up to php 5 and must use the new dev-lang/php.  Is
the dev-lang/php pretty stable?  Is there anything I should know
before I make the switch?

Thanks,
Jeff

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] php4 vs php5

2006-03-14 Thread kashani

James wrote:

Calculating dependencies ...done!
[blocks B ] dev-php/mod_php (is blocking dev-lang/php-4.4.2)
[blocks B ] dev-php/php (is blocking dev-lang/php-4.4.2)
[ebuild  N] dev-lang/php-4.4.2 



dev-php is on it's way out and has not been updated in some time. You're 
likely vulnerable at this moment.




So the question is what do I put in /etc/portage/? file to get
the system to accept the older dev-php files and not try to install
'dev-lang/php' ?


You don't. You remove dev-php and install dev-lang/php when you have 
some time to deal with change. I had no issues moving from dev-php to 
dev-lang/php with 4.4.x and the whole thing took about 30 minutes. 
Didn't even have downtime as Apache had the old module cached until I 
stopped and started to pick up the new build.


However PHP USE flags have gotten a bit more complex. You'll want apache 
(or apache2), cli for the php commandline binary, and session at minimum 
plus anything else you might need.


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



Re: [gentoo-user] USE=mysql

2006-02-28 Thread Richard Fish
On 2/28/06, Arnau Bria Ramírez [EMAIL PROTECTED] wrote:
 !!! ERROR: net-analyzer/cacti-0.8.6g_p20051023 failed.
 !!! Function pkg_setup, Line 48, Exitcode 1
 !!! php cli sapi must be compiled with USE=mysql

 Which package is php cli sapi refering to?¿

From the ebuild:

pkg_setup() {
webapp_pkg_setup
built_with_use virtual/php mysql || \
die php cli sapi must be compiled with USE=mysql
built_with_use virtual/httpd-php mysql || \
die php apache/cgi sapi must be compiled with USE=mysql
}

So whatever package is providing virtual/php on your system (most
likely dev-lang/php) needs to have USE=mysql.  So does
virtual/httpd-php, but that should be the same package (dev-lang/php).

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dev-lang/php

2005-09-10 Thread Bastian Balthazar Bux
Kurt Guenther wrote:
 
 dev-lang/php-5.0 popped up as one of my updates, so I dutifully deleted
 dev-php/php and dev-php/mod_php, and emerged this package.
 
 Now, I can't find a suitable mod_php, and portage wants to reemerge
 dev-php/php-4.4.0.
 
 Seems like a catch-22, so I'm going to mask dev-lang/php for the moment.
 
 It's odd, but my gentoo server didn't want to update dev-lang/php.
 Any other ideas?
 --Kurt
 

dev-lang/php-5.0 install both cli and apache2 stuff. Similar
question has been answered already on this list, search that.


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] problem with pear-mail (probably)

2008-04-04 Thread Marcin Niśkiewicz
HelloI have apache on gentoo installed. Everything seems OK despite that I 
can't send mail from my site. There's a notice:authentication failure [SMTP: 
Invalid response code received fromserver (code: 535, response: 5.7.0 Error: 
authentication failed:another step is needed in authentication)]When i'm 
telneting my email server everything seems OKi installed lots of (even 
unnecessary) pear libraries:dev-php/PEAR-Auth-1.5.4
dev-php/PEAR-Auth_SASL-1.0.2
dev-php/PEAR-Crypt_CHAP-1.0.1
dev-php/PEAR-DB-1.7.12
dev-php/PEAR-File_Passwd-1.1.6
dev-php/PEAR-File_SMBPasswd-1.0.2
dev-php/PEAR-HTTP_Request-1.4.1
dev-php/PEAR-Log-1.9.11
dev-php/PEAR-MDB-1.3.0-r1
dev-php/PEAR-MDB2-2.5.0_alpha1
dev-php/PEAR-MDB2_Driver_mysql-1.5.0_alpha1
dev-php/PEAR-MDB2_Driver_mysqli-1.5.0_alpha1
dev-php/PEAR-MIME_Type-1.0.0
dev-php/PEAR-Mail-1.1.14
dev-php/PEAR-Mail_Mime-1.3.1-r2
dev-php/PEAR-Net_DIME-0.3-r1
dev-php/PEAR-Net_DNS-1.0.0
dev-php/PEAR-Net_IMAP-1.1.0_beta1
dev-php/PEAR-Net_POP3-1.3.6-r1
dev-php/PEAR-Net_SMTP-1.2.10
dev-php/PEAR-Net_Socket-1.0.8
dev-php/PEAR-Net_URL-1.0.15
dev-php/PEAR-PEAR-1.6.2-r1
dev-php/PEAR-PEAR_Info-1.7.0
dev-php/PEAR-SOAP-0.11.0
dev-php/PEAR-System_Command-1.0.6
dev-php/PEAR-XML_Parser-1.2.8
dev-php/PEAR-XML_Util-1.1.4but still it doesn't work...To send mail i'm using 
such script (it's working):lt;?PHP
function 
send_mail($mail_text,$sender,$server,$login,$password,$recipient,$subject){
require_once 'Mail.php';
$params['host'] = $server;
$params['port'] = 25;
$params['auth'] = true;
$params['username'] = $login;
$params['password'] = $password;
$headers['Subject'] = $subject;
#$headers['Message-Id'] = $ticid;
$headers['From'] = $login;
$headers['X-Abuse-To'] = '[EMAIL PROTECTED]';
$headers['Content-type'] = 'text/plain; charset=ISO-8859-2';
$headers['To'] = $recipient;
$body = $mail_text;
$recipients = $recipient;
$mail = Mail::factory('smtp', $params);
if (PEAR::isError($mail)) {
 print $mail-gt;getMessage();
 } else {
 $error = $mail-gt;send($recipients, $headers, $body);
 if (PEAR::isError($error)) {
 print $error-gt;getMessage();
 } else {
 print 'SUCCESS';
}}};
?gt;I don't have any ideas what to do ...I would appreciate any helpbest 
regardsnichu

[gentoo-user] build failed for dev-php/php-4.4.0-r1

2005-10-29 Thread Faron Dutton
Can anyone point me to a debug strategy for the following:

  Build complete.
  (It is safe to ignore warnings about tempnam and tmpnam).

   Test phase [not enabled]: dev-php/php-4.4.0-r1

   Install php-4.4.0-r1 into /var/tmp/portage/php-4.4.0-r1/image/
category dev-php
   * Running make INSTALL_ROOT=/var/tmp/portage/php-4.4.0-r1/image/ install
  Installing PHP CLI binary:
/var/tmp/portage/php-4.4.0-r1/image//usr/bin/
  Installing PHP CLI man page:
/var/tmp/portage/php-4.4.0-r1/image//usr/share/man/man1/
  Installing shared extensions:
/var/tmp/portage/php-4.4.0-r1/image//usr/lib/php/extensions/no-debug-non-zts
-20020429/
  Installing PEAR environment:
/var/tmp/portage/php-4.4.0-r1/image//usr/lib/php/
  [PEAR] Archive_Tar- installed: 1.1
  [PEAR] Console_Getopt - installed: 1.2
  [PEAR] PEAR   - installed: 1.3.5
  Wrote PEAR system config file at:
/var/tmp/portage/php-4.4.0-r1/image///etc/pear.conf
  You may want to add: /usr/lib/php to your php.ini include_path
  make[1]: *** [install-pear-packages] Illegal instruction
  make: *** [install-pear] Error 2

  !!! ERROR: dev-php/php-4.4.0-r1 failed.
  !!! Function php-sapi_src_install, Line 549, Exitcode 2
  !!! (no error message)
  !!! If you need support, post the topmost build error, NOT this status
message.

I'm new to Gentoo and have no idea where to start. I do find the message
Wrote PEAR system config file at:
/var/tmp/portage/php-4.4.0-r1/image///etc/pear.conf odd though.

Faron.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] php5 upgrade instruction

2006-02-17 Thread Jarry
I'm having also problems with php installation/upgrade:
I need php, php-cgi, php_mod and phpmyadmin. Impossible!

mod_php/php-cgi is still in 4.x version, it installs php
4.x,  and I can not install phpmyadmin because it wants php5.
And php can not be upgraded from 4.x to 5.x, because it is
needed/blocked by php-cgi and mod_php. How to get out of this?

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



Re: [gentoo-user] masking issues.

2005-06-24 Thread Bryan Whitehead


I changed from:

=dev-php/mod_php-5.0.4
=dev-php/php-5.0.4


to:
=dev-php/mod_php-5.0
=dev-php/php-5.0

Now I get a downgrade when I emerge. :(

beavis ~ # emerge -up world

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

Calculating world dependencies ...done!
[ebuild U ] app-text/docbook-xsl-stylesheets-1.68.1-r1 [1.68.1]
[ebuild  NS   ] app-text/docbook-xml-dtd-4.2-r1
[ebuild  N] app-text/xmlto-0.0.18
[ebuild  NS   ] sys-kernel/gentoo-sources-2.6.12-r1
[ebuild U ] app-vim/gentoo-syntax-20050618 [20050515]
[ebuild U ] dev-java/java-config-1.2.11-r1 [1.2.11]
[ebuild  NSF  ] dev-java/sun-jdk-1.4.2.08
[ebuild UD] dev-php/php-4.4.0_rc1 [5.0.4]
[ebuild U ] sys-apps/less-385_p4 [385]
[ebuild U ] app-antivirus/clamav-0.86.1 [0.86_rc1]
[ebuild U ] net-misc/stunnel-4.10 [4.09]
[ebuild U ] dev-php/PEAR-DB-1.7.6 [1.6.8]
[ebuild U ] sys-kernel/linux-headers-2.6.11-r2 [2.6.11-r1]
[ebuild  NS   ] dev-php/mod_php-4.4.0_rc1
[ebuild  NS   ] mail-client/squirrelmail-1.4.4-r1
[ebuild U ] dev-perl/Locale-gettext-1.05 [1.04]
[ebuild U ] sys-devel/autoconf-2.59-r7 [2.59-r6]

Adding the mask of =dev-php/php-5.1 does not help. :(

beavis ~ # grep php /etc/portage/package.unmask
=dev-php/mod_php-5.0
=dev-php/php-5.0

beavis ~ # grep php /etc/portage/package.mask

=dev-php/php-5.1
=dev-php/mod_php-5.1




On Fri, 24 Jun 2005, Tim Igoe wrote:



Bryan Whitehead wrote:

I unmasked php and mod_php so I could get php version 5.0.x installed.
However, now my emege wants to install php 5.1... I don't php 5.1 series
- how can I mask in 5.0 but mask out 5.1 ?


unmask =dev-php/php-5.0

or mask =dev-php/php-5.1

repeat for mod_php




--
Bryan Whitehead
Email:[EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



[gentoo-user] dev-lang/php - making binary

2023-04-15 Thread thelma

php-7.4 will be getting obsolete in the future and converting my code to php-8 
might not be easy.
So I want to make a binary of the current dev-lang/php-7.4.33-r2 just in case 
in the near future they will pull out the old version out of the portage.

Will making binary allow me to install dev-lang/php-7.4.33-r2 (binary) with 
future upgrades (after PHP-7.4 is gone from the portage)?

Do I need to make binary of packages  dev-lang/php-7.4 depends on?

equery d dev-lang/php
 * These packages depend on dev-lang/php:
dev-db/phpmyadmin-5.2.1 (dev-lang/php[ctype,filter,json(+),session,ssl,unicode])
(dev-lang/php[mysqli])
(dev-lang/php[mysql])
media-libs/libvpx-1.12.0-r1 (doc ? dev-lang/php)
virtual/httpd-php-7.4 (dev-lang/php:7.4[fpm])
  (dev-lang/php:7.4[apache2])
  (dev-lang/php:7.4[cgi]

Step to make PHP-7.4 binary (am I missing anything)?

1. add package to:  /etc/portage/package.use
echo " dev-lang/php mysql mysqli gd" >>  /etc/portage/package.use

2.) emerge --buildpk dev-lang/php

3.)  The binary package file will be created in the /usr/portage/packages 
directory.

4.) To install the binary package on another Gentoo system, copy the .tbz2 file 
to the other system's /usr/portage/packages directory and run the following 
command:

emerge --usepkg dev-lang/php

Am I missing anything?

--
Thelma



Re: [gentoo-user] php4 vs php5

2006-03-14 Thread JimD
On Wed, 15 Mar 2006 01:35:27 + (UTC)
James [EMAIL PROTECTED] wrote:

 [blocks B ] dev-php/mod_php (is blocking dev-lang/php-4.4.2)
 [blocks B ] dev-php/php (is blocking dev-lang/php-4.4.2)
 [ebuild  N] dev-lang/php-4.4.2

You want to remove dev-php/mod_php and dev-php/php.  Php 4 and php 5 is
in dev-lang/php-XXX.  dev-lang will also build your apache module for
you.

I made the same mistake at first.  I installed mod_php, though I wanted
php5 and couldn't get it to install with mod_php.

Once I instlled dev-lang/php everything worked out.  Just do and emerge
-pv first to make sure you have all the use flags you want.


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



Re: [gentoo-user] dev-php/php blocking dev-lang/php

2006-02-07 Thread kashani

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



Re: [gentoo-user] Emerge PEAR packages.

2006-01-21 Thread Heinz Sporn
Am Samstag, den 21.01.2006, 03:17 -0300 schrieb Pupeno:
 How are you supposed to emerge PEAR packages today ?

According to this
http://svn.gnqs.org/projects/gentoo-php-overlay/file/docs/php-upgrading.html?format=raw
we have to live with that situation as long as dev-lang/php becomes
stable.

I had to switch to dev-lang/php because of oracle-instantclient-basic
and ran into the same PEAR issues. Problem is that new dev-lang/php
pretty much implies unstable PEAR - that's what I am running right now.
Here's what I have in my package.keywords to freeze these unstables as
long as they become stable:

=dev-lang/php-4.4.1-r2 ~x86
=dev-php/PEAR-Archive_Tar-1.3.2 ~x86
=dev-php/PEAR-Console_Getopt-1.2-r1 ~x86
=dev-php/PEAR-DB-1.7.6-r1 ~x86
=dev-php/PEAR-Log-1.9.3 ~x86
=dev-php/PEAR-Mail_Mime-1.3.1-r1 ~x86
=dev-php/PEAR-PEAR-1.3.6-r1 ~x86
=dev-php/PEAR-XML_RPC-1.4.4 ~x86


 After upgrading, portage wanted to install dev-lang/php, so I done it remove 
 some blocking packages, including dev-php/php and dev-php/mod_php.
 Now emerging PEAR-XML_Parser or PEAR-DB wants to emerge dev-php/php back, 
 what 
 I am supposed to do ?
 Thank you.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: PHP

2005-11-29 Thread Jeff Grossman
Jeff Grossman [EMAIL PROTECTED] wrote:
 ellotheth rimmwen [EMAIL PROTECTED] wrote:
 On 11/26/05, Jeff Grossman [EMAIL PROTECTED] wrote:
 Is the dev-lang/php pretty stable?  Is there anything I should know
 before I make the switch?
 
 I'm running 5.0.5. It's lovely. Just follow the upgrade guide
 (http://svn.gnqs.org/projects/gentoo-php-overlay/file/docs/php-upgrading.html?format=raw)
 and you should be peachy. Watch the USE flags, and the overlay wiki
 [http://svn.gnqs.org/projects/gentoo-php-overlay/] is your friend.
 
 Okay.  I have removed dev-php/php-4.4.0 and installed dev-lanp/php-5.0.5 
 and everything appears to be working okay (except for Squirelmail, but I 
 have another thread started for that discussion).  But, now when I do a 
 emerge -uaDv world, it wants to install dev-php/php-4.4.0.  Can I have a 
 system with only 5.0.5 installed?  Or do I need to install 4.4.0 also?  
 Can I tell what program is installed that wants php-4.4.0?
 
 If I run an equery depends php, I get the following:
 
 apple var # equery depends php
 [ Searching for packages depending on php... ]
 dev-lang/swig-1.3.21
 dev-php/PEAR-Console_Getopt-1.2-r1
 dev-php/PEAR-Archive_Tar-1.3.2
 dev-php/PEAR-PEAR-1.3.6-r1
 dev-php/PEAR-XML_RPC-1.4.4
 www-apps/net2ftp-0.82

It was the dev-lang/swig program that was causing php-4.4.0 to want to 
install.  I have since upgraded that and now everything is working 
correctly.

Jeff

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] apache 2.4.50 or php

2021-10-07 Thread Pascal Schorde
You can check the changes in the migration guides

https://www.php.net/manual/en/migration71.php
https://www.php.net/manual/en/migration72.php
https://www.php.net/manual/en/migration73.php
https://www.php.net/manual/en/migration74.php



 schrieb am Do., 7. Okt. 2021, 22:18:

> On 10/7/21 1:44 PM, the...@sys-concept.com wrote:
> > I just ungraded to apache 2.4.50 but I'm getting an error with my php. 8
> > Or it could be related to newer PHP Version 8.0.11
> >
> > When I try to login apache is giving me error code 500
> >
>
> It seems to me dev-lang/php-8.0.11 and virtual/httpd-php-8.0
> introduced something new that generate error code 500 in apache.
>
> downgrading to:
> dev-lang/php-7.4.24
> virtual/httpd-php-7.4
>
> got rid of the problem, but I still need to fix my old php code :-/
>
>
>


Re: [gentoo-user] {OT} Webmail in portage without PHP?

2006-12-06 Thread Nangus Garba


Is there a decent webmail package in portage (or a layman overlay)
that doesn't depend on PHP?



what is the problem with php? Every webmail is going to need to depend on
some kind of server side scripting.

Nangus


Re: [gentoo-user] Problem with udpate

2005-09-12 Thread Sébastien MORAND
 You clearly know how to clear a block, but your syntax for unmerging the
 blocking packages is wrong, which is why it's not working.

 If you want to unmerge the specific version of the package (for this
 example, let us assume php-5.0.5), the correct syntax is

 emerge -C =dev-php/php-5.0.5

 If you want to unmerge any or all versions of the package currently
 installed, letting Portage decide which to unmerge, the correct syntax is

 emerge -C php

Ok, but this will remove php-5, and that's not what I want. I want to remove
dev-php/php any version, but I do that (I think the right syntax to do it is
emerge -C dev-php/php), I got the previous message, obvisoualy there is an
inconsistence on my system:
- To update a package that is blocked by another package is required
- The required package is not installed.

It looks like the point is php has migrated. The version 4.x and below are
located in dev-php and the version 5.x and above are locate in dev-lang, so is
there an inconsistency in the portage tree when unmasking php-5.x and above?


This message was sent using IMP, the Internet Messaging Program.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] sort of OT - dev-lang/php vs dev-php/php

2005-09-15 Thread Antoine

Hi,
I am at a bit of a loss to understand the difference between the shell 
interpreter and the runtime engine - could someone clarify?

Cheers
Antoine
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Setting up a local web server

2011-04-01 Thread Adam Carter
 dig you build php with an apache2 flag to enable the Apache module?


And you'll also need this in your httpd.conf;

AddType application/x-httpd-php .php


[gentoo-user] dev-lang/php-5.6

2017-02-27 Thread thelma
When will they drop the dev-lang/php-5.6.30 from the portage?

php-7.0 is not working with my application (modification are too
intensive) besides I'm not a programmer.

-- 
Thelma



[gentoo-user] Re: OT: webmail choices, ARGH!

2018-07-17 Thread Ian Zimmerman
On 2018-07-17 16:04, R0b0t1 wrote:

> Do you have any problems with roundcube?

Yes:

 ahiker!90 exim$ apt-cache show roundcube-core | grep '^Depends'
Depends: dbconfig-common, debconf, libapache2-mod-php | php, libmagic1,
php-pear (>= 1:1.10.1), php-cli, php-intl, php-json, php-mcrypt,
roundcube-mysql (= 1.2.3+dfsg.1-4+deb9u2) | roundcube-sqlite3 (=
1.2.3+dfsg.1-4+deb9u2) | roundcube-pgsql (= 1.2.3+dfsg.1-4+deb9u2), ucf,
debconf (>= 0.5) | debconf-2.0, php-common, php-net-socket (>= 1.0.12), 
php-auth-sasl (>= 1.0.6), php-mail-mime (>= 1.10.0), php-net-smtp (>= 1.7.1)

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



Re: [gentoo-user] php different version

2021-10-20 Thread Michael Orlitzky
On 2021-10-21 00:53:55, zca...@gmail.com wrote:
> 
> 1 day, 1 emerge --sync, 1 update later: php-7.4 is additionally
> installed. for a php application i would expect that 1 php version is
> enough. but depending on the use flag this is not the case for
> nextcloud and roundcube, 2 versions are installed each.

If some application pulls in dev-lang/php when 7.3 is stable, you'll
get 7.3. Then if later php-7.4 is marked stable, 7.4 will also be
installed, alongside the existing 7.3 that is probably no longer
needed afterwards.



Re: [gentoo-user] strange updates conflicts

2006-01-10 Thread Holly Bostick
Catalin Trifu schreef:
 Hi,
 
 emerge -pvDu shows this:
 
 Calculating world dependencies ...done! [blocks B ] 
 dev-php/PEAR-Archive_Tar (is blocking dev-php/PEAR-PEAR-1.3.6-r2) 
 [blocks B ] dev-php/PEAR-Console_Getopt (is blocking 
 dev-php/PEAR-PEAR-1.3.6-r2) [blocks B ] dev-php/PEAR-XML_RPC (is
  blocking dev-php/PEAR-PEAR-1.3.6-r2) [blocks B ] 
 dev-php/PEAR-PEAR-1.3.6-r2 (is blocking dev-php/PEAR-PEAR-1.3.6-r2)
 
 If this is not strage (the last line at least) then I don't know what
  is :) Any ideas how to solve it ?
 
 Catalin
 


If you look at the dependencies of PEAR-PEAR-1.3.6-r2, you will see that
they are reversed from the dependencies of 1.3.5;
(from www.gentoo-portage.com)


Runtime Dependencies
PEAR-PEAR-1.3.6-r2

! dev-lang/php - cgi
! dev-lang/php -
dev-lang/php
! dev-php/mod_php -
! dev-php/PEAR-PEAR - 1.3.6-r2
! dev-php/PEAR - Archive_Tar
! dev-php/PEAR - Console_Getopt
! dev-php/PEAR - XML_RPC

PEAR-PEAR-1.3.5

dev-lang/php
= dev-php/PEAR-Archive_Tar - 1.1
= dev-php/PEAR-Console_Getopt - 1.2
= dev-php/PEAR-XML_RPC - 1.0.4
virtual/php

The reason for this can be found in the ChangeLog


09 Jan 2006; Sebastian Bergmann [EMAIL PROTECTED]
PEAR-PEAR-1.3.6-r2.ebuild:
Block packages that this package bundles.

So the moduleblocks are blocked because they will be installed by
PEAR-PEAR-1.3.6-r2

The last line is not strange at all-- you perhaps missed the  line in
the blocker.

What I see in this output

 dev-php/PEAR-PEAR-1.3.6-r2 (is blocking dev-php/PEAR-PEAR-1.3.6-r2)

is saying that some version of PEAR-PEAR less than 1.3.6-r2 is blocking
the installation of 1.3.6-r2.

According (again) to the Changelog:

09 Jan 2006; Luca Longinotti [EMAIL PROTECTED] files/pear.conf,
PEAR-PEAR-1.3.6-r2.ebuild:
Change pear.conf to auto-sobstitute the php binary's path, plus some other
cosmetical fixes. Fix pear USE flag requirement, not really needed.

Jan 2006; Sebastian Bergmann [EMAIL PROTECTED] +files/pear.conf,
PEAR-PEAR-1.3.6-r2.ebuild:
Install /etc/pear.conf.

There are some serious changes in this package that require a clean
installation, as if the package was never installed.

But you know the drill; remove blocking packages, try your emerge again.
Usually this works itself out, because working itself out is Portage's
main job. No bugs on b.g.o (yet) to indicate the process is failing in
this case.

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How To set compile time options in emerge

2006-01-17 Thread Simon Prosser
On Wednesday 18 January 2006 12:36, Oumar Ndiaye wrote:
 Hi,



 I installed php-4 via emerge but I am having problems getting php to work
 with mysql. After many research I have concluded that php-4 is not compiled
 with the -with-mysql option.



 I need to recompile php-4 with the -with-mysql option and reinstall it. How
 do I do that with emerge or some other ways?

USE=mysql emerge dev-php/php

 !DSPAM:43cd2f93212386197110946!


pgpAL9kXMi3qo.pgp
Description: PGP signature


[gentoo-user] php4 vs php5

2006-03-14 Thread James
Hello,

I've installed php4 as needed by a package (JFFNMS). Everytime I run 
a 'emerge -uDp world' It wants to upgrade the php4 to either php5
or another form of php4. This gets a little confusing, so I'll try
to be very clear. I do not have php5 installed, and I do not want
php5 installed on this system. I've tried all sorts of machinations
in the /etc/portage dir, without success.

Here's what I have installed:

dev-lang/php
 Available versions:  4.3.11-r5 4.4.1-r3 ~4.4.2 [M]5.0.5-r5 [M]5.1.2
 Installed:   none

dev-php/mod_php
Installed:   4.4.0-r9

dev-php/php
Installed:   4.4.0-r4


So I've tried various entries in my /etc/portage/package.mask file to get the
system happy. package.mask contains:
'=dev-lang/php-5.0.5'

Focusing on php, I run  'emerge -pv dev-lang/php'
and here is the response.

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

Calculating dependencies ...done!
[blocks B ] dev-php/mod_php (is blocking dev-lang/php-4.4.2)
[blocks B ] dev-php/php (is blocking dev-lang/php-4.4.2)
[ebuild  N] dev-lang/php-4.4.2 

So the question is what do I put in /etc/portage/? file to get
the system to accept the older dev-php files and not try to install
'dev-lang/php' ?

I cannot just install 'dev-lang/php' as it is blocked by the (2)
dev-php files that I need:
dev-php/mod_php and dev-php/php. Of coarse, take what I'm saying 
with a grain of salt, as I'm describing the symptoms of a php
problem without fully understandings what these package name/group
changes really mean...(where does one read about what the developers
are doing with php and why?). 
jffnms is the critical package here that is causing the php heartburn.

Everythings works, I just want the system to quit asking to upgrade
php, everytime I upgrade the rest of the system.

ideas?  What did I miss?


James



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] masking issues.

2005-06-24 Thread Neil Bothwick
On Fri, 24 Jun 2005 12:08:53 -0700 (PDT), Bryan Whitehead wrote:

 I unmasked php and mod_php so I could get php version 5.0.x installed. 
 However, now my emege wants to install php 5.1... I don't php 5.1
 series - how can I mask in 5.0 but mask out 5.1 ?

echo dev-php/php-5.1.0_beta /etc/portage/packages.unmask


-- 
Neil Bothwick

Znqr lbh ybbx!


pgp3WmJ934qoP.pgp
Description: PGP signature


Re: [gentoo-user] apache 2.4.50 or php

2021-10-07 Thread thelma
On 10/7/21 1:44 PM, the...@sys-concept.com wrote:
> I just ungraded to apache 2.4.50 but I'm getting an error with my php. 8
> Or it could be related to newer PHP Version 8.0.11
> 
> When I try to login apache is giving me error code 500
> 

It seems to me dev-lang/php-8.0.11 and virtual/httpd-php-8.0
introduced something new that generate error code 500 in apache.

downgrading to: 
dev-lang/php-7.4.24
virtual/httpd-php-7.4

got rid of the problem, but I still need to fix my old php code :-/




[gentoo-user] php different version

2021-10-20 Thread zcampe
i am a little confused.
it's been a few years since i last installed a php application.
but the problems still seem to be the same ;-)

with postfixadmin everything seems to be ok.

when i install nextcloud it also installs php-7.3.31 and php-7.4.24,
this is probably due to dev-php/imagick-3.5.1

if i install roundcube with use="change-password" php-8.0.11 is needed.

i used use="-imagemagick" for nextcloud, and
all packages could agree on php-8.0.11.

1.if an application requires 2 different versions this can't work,
apache only uses one or?

2.if in the ebuild of dev-php/imagick-3.5.1
USE_PHP="php7-3 php7-4 php8-0"
what does that mean?

ty



Re: [gentoo-user] Need to add gd and mysql to PHP.

2007-07-23 Thread Hans-Werner Hilse
Hi,

On Sun, 22 Jul 2007 21:37:58 -0600 Mike Diehl [EMAIL PROTECTED]
wrote:

 I'm needing to update php to include both the gd and mysql extensions.
 
 I believe I have both packages installed.
 
 I emerged php with both extensions in my USE flag.
 [...]

Looks alright.

 How do I get these to be recognized by php applications?

They should be configured in /etc/php/php*/php.ini if you want to load
them automatically (extension=mysql.so, extension=gd.so) -- maybe you
just need to run etc-update? (and restart the webserver)

OTOH, you can have your PHP scripts load the extension themselves using
dl() in PHP.

-hwh
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] strange updates conflicts

2006-01-10 Thread Catalin Trifu
Hi,

   emerge -pvDu shows this:

Calculating world dependencies ...done!
[blocks B ] dev-php/PEAR-Archive_Tar (is blocking 
dev-php/PEAR-PEAR-1.3.6-r2)
[blocks B ] dev-php/PEAR-Console_Getopt (is blocking 
dev-php/PEAR-PEAR-1.3.6-r2)
[blocks B ] dev-php/PEAR-XML_RPC (is blocking dev-php/PEAR-PEAR-1.3.6-r2)
[blocks B ] dev-php/PEAR-PEAR-1.3.6-r2 (is blocking 
dev-php/PEAR-PEAR-1.3.6-r2)

   If this is not strage (the last line at least) then I don't know
what is :)
   Any ideas how to solve it ?

Catalin

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] problems removing a package

2006-01-20 Thread Nick Smith
Ive been trying to install horde and it keeps saying:

[blocks B ] dev-lang/php (is blocking dev-php/mod_php-4.4.0-r9)
[blocks B ] dev-lang/php (is blocking dev-php/php-4.4.0-r4)

when i try to remove it i get:

mail ~ # emerge unmerge dev-lang/php

--- Couldn't find dev-lang/php to unmerge.

 unmerge: No packages selected for removal.

so its like the package isnt in stalled but emerge thinks it is. what
else can i do to get horde installed and get php removed?

TIA

Nick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] php5 upgrade instruction

2006-02-17 Thread Maximilian Gaß
Am Freitag, 17. Februar 2006 21:44 schrieb Jarry:
 I'm having also problems with php installation/upgrade:
 I need php, php-cgi, php_mod and phpmyadmin. Impossible!

 mod_php/php-cgi is still in 4.x version, it installs php
 4.x,  and I can not install phpmyadmin because it wants php5.
 And php can not be upgraded from 4.x to 5.x, because it is
 needed/blocked by php-cgi and mod_php. How to get out of this?

 Jarry

mkdir -p /etc/portage/profile
echo dev-lang/php-5.0.5  /etc/portage/profile/package.provided

Portage will think that PHP5 is installed.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Can't get PHP to work with Apache2

2005-06-18 Thread Michael Haan
Apache2 is trying to download php files, not run them.  What gives?

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: PHP

2005-11-28 Thread Jeff Grossman
ellotheth rimmwen [EMAIL PROTECTED] wrote:
 On 11/26/05, Jeff Grossman [EMAIL PROTECTED] wrote:
 Is the dev-lang/php pretty stable?  Is there anything I should know
 before I make the switch?
 
 I'm running 5.0.5. It's lovely. Just follow the upgrade guide
 (http://svn.gnqs.org/projects/gentoo-php-overlay/file/docs/php-upgrading.html?format=raw)
 and you should be peachy. Watch the USE flags, and the overlay wiki
 [http://svn.gnqs.org/projects/gentoo-php-overlay/] is your friend.
 
Okay.  I have removed dev-php/php-4.4.0 and installed dev-lanp/php-5.0.5 
and everything appears to be working okay (except for Squirelmail, but I 
have another thread started for that discussion).  But, now when I do a 
emerge -uaDv world, it wants to install dev-php/php-4.4.0.  Can I have a 
system with only 5.0.5 installed?  Or do I need to install 4.4.0 also?  
Can I tell what program is installed that wants php-4.4.0?

If I run an equery depends php, I get the following:

apple var # equery depends php
[ Searching for packages depending on php... ]
dev-lang/swig-1.3.21
dev-php/PEAR-Console_Getopt-1.2-r1
dev-php/PEAR-Archive_Tar-1.3.2
dev-php/PEAR-PEAR-1.3.6-r1
dev-php/PEAR-XML_RPC-1.4.4
www-apps/net2ftp-0.82


I guess one of those programs is wanting php4?

Thanks,
Jeff

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] How was the PHP upgrade?

2007-03-08 Thread Grant

Has anyone upgraded to the recently stable php-5.2.1-r3?  How did it go?

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



[gentoo-user] {OT} Webmail in portage without PHP?

2006-12-05 Thread Grant

Is there a decent webmail package in portage (or a layman overlay)
that doesn't depend on PHP?

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



Re: [gentoo-user] masking issues.

2005-06-24 Thread Tim Igoe

Bryan Whitehead wrote:
 I unmasked php and mod_php so I could get php version 5.0.x installed.
 However, now my emege wants to install php 5.1... I don't php 5.1 series
 - how can I mask in 5.0 but mask out 5.1 ?

unmask =dev-php/php-5.0

or mask =dev-php/php-5.1

repeat for mod_php

-- 
Tim Igoe
[EMAIL PROTECTED]
http://tim.igoe.me.uk - Personal Site
http://tv.igoe.me.uk - UK TV Guide

Computers are like Air-con, open windows and they stop working!


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] masking issues.

2005-06-24 Thread Bryan Whitehead

That worked!

I had tried dev-php/php-5.1 in /etc/portage/packages.unmask but I got the 
same problem.


I didn't realize that I'd have to be so specific about what to unmask... 
Thanks for the tip.


On Fri, 24 Jun 2005, Neil Bothwick wrote:


On Fri, 24 Jun 2005 12:08:53 -0700 (PDT), Bryan Whitehead wrote:


I unmasked php and mod_php so I could get php version 5.0.x installed.
However, now my emege wants to install php 5.1... I don't php 5.1
series - how can I mask in 5.0 but mask out 5.1 ?


echo dev-php/php-5.1.0_beta /etc/portage/packages.unmask





--
Bryan Whitehead
Email:[EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: PHP and PEAR

2005-07-12 Thread A. Khattri
On Sun, 10 Jul 2005, Catalin Trifu wrote:

$ emerge PEAR-PEAR

  Install PEAR-PEAR-1.3.5 into /var/tmp/portage/PEAR-PEAR-1.3.5/image/ 
  category dev-php
 /usr/portage/eclass/php-pear.eclass: line 47: pear: command not found

 !!! ERROR: dev-php/PEAR-PEAR-1.3.5 failed.
 !!! Function php-pear_src_install, Line 47, Exitcode 127
 !!! (no error message)
 !!! If you need support, post the topmost build error, NOT this status 
 message.

As you can see the error /usr/bin/pear is not found, exactly because the 
 .eclass which
 installs PHP in the first place is not installed.

I have php installed on many servers and it installs the pear binary for
me. Is PHP installed?


-- 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Apache+PHP

2010-01-14 Thread German Lopez Cortina

Mi apache no me interpreta los archivos .php muestra el contenido como texto en 
el navegador 


[gentoo-user] can't emerge '=dev-lang/php-4*' .. moved? = removed

2010-04-22 Thread laurent


..just removed php-4 and all is working fine :)



Re: [gentoo-user] Slotted PHP behavior

2011-01-04 Thread Adam Carter
  I had a similar problem before and I did solve it by running this
 command:
  eselect php set apache2 php5.3. I believe I get this command from a
 Gentoo
  official PHP guide.
 
  Hung

 Thank you, that fixed it.  I'm getting some errors in squirrelmail but
 functionality seems to be intact.

 Since things seem to be working with php-5.3.4, how can I get rid of
 the older version of php that must be installed in another slot?  I'm
 hoping that simplifies things a bit.  PHP on Gentoo just got more
 complicated and all I need out of it is squirrelmail.


also;
eselect php list cli

and you may need to

eselect php set cli php5.3


[gentoo-user] php 5.2 ebuild ?

2012-03-05 Thread Stefan G. Weichinger

Does anyone know where to get working ebuilds for PHP 5.2 ... ?

Thanks, Stefan



[gentoo-user] Php strangeness

2006-01-10 Thread Nelis Lamprecht
Hi,

Could someone please tell me how to solve the following:

golem portage # emerge -uDp world

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

Calculating world dependencies ...done!
[blocks B ] dev-lang/php (is blocking dev-php/mod_php-4.4.0-r9)
[blocks B ] dev-lang/php (is blocking dev-php/php-4.4.0-r4)
[ebuild U ] sys-devel/gcc-config-1.3.12-r6 [1.3.12-r5]
[ebuild U ] dev-libs/apr-0.9.7 [0.9.6-r3]
[ebuild U ] dev-libs/apr-util-0.9.7 [0.9.6-r2]
[ebuild U ] net-www/apache-2.0.55 [2.0.54-r31]
[ebuild  N] dev-php/mod_php-4.4.0-r9
[ebuild  N] dev-php/php-4.4.0-r4
[ebuild U ] x11-libs/libxklavier-2.0-r1 [2.0]
[ebuild  NS   ] www-apps/gallery-2.0.2-r1
[ebuild U ] media-gfx/gtkam-0.1.12-r2 [0.1.12-r1]
[ebuild U ] net-analyzer/tcpdump-3.9.3 [3.8.3-r4]


I am using php 5 but it insists on installing php 4 and the blocking ?
Any advice on how to clear this up would be appreciated.

Thanks.

Nelis

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How To set compile time options in emerge

2006-01-17 Thread Holly Bostick
Simon Prosser schreef:
 On Wednesday 18 January 2006 12:36, Oumar Ndiaye wrote:
 Hi,
 
 
 
 I installed php-4 via emerge but I am having problems getting php
 to work with mysql. After many research I have concluded that php-4
 is not compiled with the -with-mysql option.
 
 
 
 I need to recompile php-4 with the -with-mysql option and reinstall
 it. How do I do that with emerge or some other ways?
 
 USE=mysql emerge dev-php/php
 
Which will work for this emerge, but if php is then upgraded, the USE
flag will be disabled again.

A better way is to either

1. add the mysql USE flag to /etc/make.conf USE flags (if you want to
enable mysql support for all packages that might support it);

or

2. add

dev-php/php mysql

to /etc/portage/package.use (to enable mysql support for this package only).

If the folder /etc/portage already exists, you can just do

# echo dev-php/php mysql /etc/portage/package.use

to enable the USE flag for that specific package.

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] non-PHP webmail in portage?

2009-01-10 Thread Robert Bridge
On Sat, 10 Jan 2009 10:04:31 -0800
Grant emailgr...@gmail.com wrote:

  Does anyone know of a good (or OK) webmail client in portage that
  doesn't use PHP?  I use squirrelmail now but I have PHP installed
  only for that and I think PHP slows apache2 down a bit.
 
  - Grant
 
 
  I don't think you'll find anything faster except maybe written in
  C, which is doubtful. The only other language you might find
  webmail written in is Perl/CGI and that is definitely not faster in
  my experience. PHP is about as good as you will get IMHO.
 
 I actually don't mean to speed up squirrelmail and PHP.  The main
 function of that system is to run a website in perl, and I thought I
 might be bogging down apache2 a bit just by opening it up to PHP
 interpretation (-D PHP).  Is that the case?  It would also be nice not
 to be exposed to PHP exploits.  It just seems kind of silly to
 maintain and run PHP just for webmail.

You could try running a second webserver instance for the webmail,
allowing the main one to run without PHP loaded.

RobbieAB.


signature.asc
Description: PGP signature


Re: [gentoo-user] OK to disable filter USE in php?

2009-07-18 Thread Grant
 I noticed amavisd-new is being pulled in by the filter USE flag in
 squirrelmail.  I don't use amavisd-new (I greylist), so I removed
 filter from make.conf and then realized it is also used in the php
 package.  I only use php with squirrelmail.  Is it safe for me to
 remove the filter USE flag from php?  I don't want to make a security
 mistake.

 The filter useflag in PHP allow PHP users to filter PHP output to compress it
 for example, as euse -i filter shows us:

 xav...@xps ~ $ euse -i filter
 global use flags (searching: filter)
 
 no matching entries found

 local use flags (searching: filter)
 
 [+    ] filter (dev-lang/php):
 Add filter extension support

 [+    ] filter (mail-client/squirrelmail):
 Enable mail-filter/amavisd-new filtering

 so filter is not a global useflag, you can disable it if you do not need 
 filter
 extension in php, and it is also safe.

Thanks Xavier.  I couldn't remember why I enabled it in the first
place, and I thought it could have been to secure PHP.  I only use PHP
with squirrelmail though, so it sounds like it's alright.

- Grant



Re: [gentoo-user] Slotted PHP behavior

2011-01-15 Thread Tanstaafl
On 2011-01-05 7:21 PM, Michael Orlitzky wrote:
 A ton of crap broke with the PHP 5.2 - 5.3 upgrade. In theory, this
 will help with future upgrades; but I'm not sure how, since I can't
 *run* both versions at the same time. Does anyone know how having 5.3
 installed will help me when I'm stuck running 5.2 for some of my sites?

I don't think this is correct... from the PHP upgrade guide:

http://www.gentoo.org/proj/en/php/php-guide.xml

2.  Slotting

Minor version slotting

The php team decided to ease the transition between PHP-5.2 and PHP-5.3
by allowing users to install both versions concurrently. Using the cgi
or FPM SAPI, you can even serve web pages utilizing PHP-5.2 and PHP-5.3
(or PHP-5.4 once it's released) at the same time.

For implementing minor version slotting, we chose an approach similar to
that of the ruby team --- you can set a global variable PHP_TARGETS to
control which slots you want and manage the active version via an
eselect module (see chapter 3)



RE: [gentoo-user] Blocking weirdness

2006-01-19 Thread Jean Blignaut
Just saw similar on my system:

[blocks B ] dev-php/PEAR-Archive_Tar (is blocking
dev-php/PEAR-PEAR-1.3.6-r4)
[blocks B ] dev-php/PEAR-Console_Getopt (is blocking
dev-php/PEAR-PEAR-1.3.6-r4)
[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/PEAR-XML_RPC (is blocking
dev-php/PEAR-PEAR-1.3.6-r4)
[blocks B ] dev-php/PEAR-PEAR-1.3.6-r2 (is blocking
dev-php/PEAR-PEAR-1.3.6-r4)
[blocks B ] dev-php/mod_php (is blocking dev-php/PEAR-PEAR-1.3.6-r4)
[blocks B ] dev-php/php (is blocking dev-php/PEAR-PEAR-1.3.6-r4)


-Original Message-
From: Michael Sullivan [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 20, 2006 8:47 AM
To: gentoo-user
Subject: [gentoo-user] Blocking weirdness

What do you make of this?

bullet ~ # emerge -pvuD world

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

Calculating world 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.3.6-r4)
[blocks B ] dev-php/php (is blocking dev-php/PEAR-PEAR-1.3.6-r4)
[ebuild  N] dev-php/mod_php-4.4.0-r9  +X +apache2 +berkdb +crypt
+curl -debug +doc -fdftk -firebird -flash -freetds +gd -gd-external
+gdbm +gmp -hardenedphp +imap -informix -ipv6 +java +jpeg +kerberos
+ldap -mcal -memlimit -mssql +mysql +nls -oci8 -odbc +pam +png -postgres
-snmp +spell +ssl +tiff +truetype +xml2 -yaz 0 kB
[ebuild  N] dev-php/php-4.4.0-r4  +X +berkdb +crypt +curl -debug
+doc -fdftk -firebird -flash -freetds +gd -gd-external +gdbm +gmp
-hardenedphp +imap -informix -ipv6 +java +jpeg +kerberos +ldap -mcal
-memlimit -mssql +mysql +ncurses +nls -oci8 -odbc +pam +png -postgres
+readline -snmp +spell +ssl +tiff +truetype +xml2 -yaz 0 kB
[ebuild  N] dev-lang/php-5.0.5-r5  -adabas -apache +apache2 -bcmath
+berkdb -birdstep +bzip2 -calendar -cdb -cgi -cjk -cli +crypt -ctype
+curl -curlwrappers -db2 -dba -dbase -dbmaker -debug -discard-path +doc
-empress -empress-bcs -esoob -exif -fdftk -filepro -firebird -flatfile
-force-cgi-redirect -frontbase -ftp +gd -gd-external +gdbm +gmp
-hardenedphp -hyperwave-api -iconv +imap -informix -inifile -interbase
-iodbc -ipv6 -java-external +kerberos +ldap -libedit -mcve -memlimit
+mhash +ming -mnogosearch -msql -mssql +mysql -mysqli +ncurses +nls
-oci8 -oci8-instant-client -odbc -oracle7 -ovrimos -pcntl +pcre
-pdo-external -pear -pfpro -pic -posix -postgres -qdbm +readline +recode
-sapdb +sasl -session -sharedext -sharedmem -simplexml -snmp -soap
-sockets -solid +spell -spl -sqlite +ssl -sybase -sybase-ct -sysvipc
+threads -tidy +tiff -tokenizer +truetype -wddx +xml -xmlrpc -xpm -xsl
-yaz -zip +zlib 4,797 kB
[ebuild  N] dev-php/PEAR-PEAR-1.3.6-r4  150 kB

Total size of downloads: 4,948 kB
bullet ~ # emerge -pC dev-php/mod_php dev-php/php

 These are the packages that I would unmerge:

--- Couldn't find dev-php/mod_php to unmerge.

--- Couldn't find dev-php/php to unmerge.

 unmerge: No packages selected for removal.

As you can see, dev-php/mod_php and dev-php/php are blocking new
packages from being emerged, yet they are not installed.  Is there a way
for me to unblock the new packages?

-- 
gentoo-user@gentoo.org mailing list


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problem with udpate

2005-09-12 Thread Holly Bostick
Sébastien MORAND schreef:
 You clearly know how to clear a block, but your syntax for 
 unmerging the blocking packages is wrong, which is why it's not 
 working.
 
 If you want to unmerge the specific version of the package (for 
 this example, let us assume php-5.0.5), the correct syntax is
 
 emerge -C =dev-php/php-5.0.5
 
 If you want to unmerge any or all versions of the package 
 currently installed, letting Portage decide which to unmerge, the 
 correct syntax is
 
 emerge -C php
 
 
 Ok, but this will remove php-5, and that's not what I want. I want to
  remove dev-php/php any version, but I do that (I think the right 
 syntax to do it is emerge -C dev-php/php), I got the previous 
 message, obvisoualy there is an inconsistence on my system: - To 
 update a package that is blocked by another package is required - The
  required package is not installed.

No, the right syntax to do that (remove php any and all versions) is

emerge -C php

There is no syntax that includes the cat-egory without both a version
number and a mathematical symbol, such as

emerge -C =dev-php/php-5.0.5 (unmerges all versions greater than or
equal to php-5.0.5)
emerge -C =dev-php/php-5.0.5 (unmerges only php-5.0.5)
emerge -C dev-php/php-5.0.5 (unmerges all versions lower than php-5.0.5)

emerge -C dev-lang/php is not valid, because it includes the cat-egory
(dev-lang) without specifying a version.

If you don't want to specify a version, only use the package name,
without the category. If you want to specify a version, use a
mathematical symbol (for precision, using =, , and  either alone or in
combination with each other), aand the version number.

 
 It looks like the point is php has migrated. The version 4.x and 
 below are located in dev-php and the version 5.x and above are locate
  in dev-lang, so is there an inconsistency in the portage tree when 
 unmasking php-5.x and above?

Well, yes and no. If you ultimately want php v.5 on your system, unmerge
the current version, then re-emerge =dev-lang/php-5.0.5, then see if it
still blocks the program you are trying to emerge. It's possible that
the block exists because of the php migration to a new category, and the
program itself needs to be unmerged and re-emerged with the correct
category, rather than a block due to functionality clash between the two
programs.

If the block remains, it's because the program you're trying to emerge
either will
emerge php v.5 as a dependency or the program replicates its function in
some way, so  unmerge 5.0.5 (again), and emerge what was blocked by it,
then re-(re-)emerge php-5.0.5 (if you still need to do that).

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] How To set compile time options in emerge

2006-01-17 Thread Oumar Ndiaye








Hi,



I installed php-4 via emerge but I am
having problems getting php to work with mysql. After many research I have
concluded that php-4 is not compiled with the with-mysql option. 



I need to recompile php-4 with the
with-mysql option and reinstall it. How do I do that with emerge or some
other ways?



Many Thanks.



--Oms.












Re: [gentoo-user] dev-php/php blocking dev-lang/php

2006-02-07 Thread James Ausmus
On 2/7/06, Darren Grant [EMAIL PROTECTED] wrote:snip 
Ahh found it... just needed to change -D PHP to -D PHP5 ;)--gentoo-user@gentoo.org mailing listGreat, glad it's working for you!-James



Re: [gentoo-user] complete mess with dev-lang/php and dev-php/php

2005-09-22 Thread Richard Brown
On 21/09/05, Bruno Lustosa [EMAIL PROTECTED] wrote:
 blah blah blah

http://stu.gnqs.org/diary/index.php

http://svn.gnqs.org/projects/gentoo-php-overlay/

--
Richard Brown

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] build failed for dev-php/php-4.4.0-r1

2005-10-29 Thread Holly Bostick
Faron Dutton schreef:
 Can anyone point me to a debug strategy for the following:
 
 Build complete. (It is safe to ignore warnings about tempnam and
 tmpnam).
 
 Test phase [not enabled]: dev-php/php-4.4.0-r1
 
snip
 Wrote PEAR system config file at: 
 /var/tmp/portage/php-4.4.0-r1/image///etc/pear.conf You may want to
 add: /usr/lib/php to your php.ini include_path make[1]: ***
 [install-pear-packages] Illegal instruction make: *** [install-pear]
 Error 2
 
 !!! ERROR: dev-php/php-4.4.0-r1 failed. !!! Function
 php-sapi_src_install, Line 549, Exitcode 2 !!! (no error message) !!!
 If you need support, post the topmost build error, NOT this status 
 message.
 
 I'm new to Gentoo and have no idea where to start. I do find the
 message Wrote PEAR system config file at: 
 /var/tmp/portage/php-4.4.0-r1/image///etc/pear.conf odd though.
 
 Faron.
 

The wonderful thing about Gentoo is that you don't *have* to know where
to start, because Gentoo will tell you.

It's in the error message:

 You may want to add: /usr/lib/php to your php.ini include_path

I would try this first, and if it didn't work, I would then check b.g.o
(bugs.gentoo.org) for a relevant bug (try php-4.4.0, or ALL php), and
see if this is a known problem that has a known solution. I might also
check the USE flags that I was compiling php with (emerge -pv php) to
see if there was something I had forgotten to include/enable that might
be the cause of this.

There's nothing really weird about this message, though

 Wrote PEAR system config file at: 
 /var/tmp/portage/php-4.4.0-r1/image///etc/pear.conf odd though.

It's just likely badly phrased. It looks like it says that Portage
copied the config file from its temp work area to /etc/, but I could be
wrong.

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



[gentoo-user] PHP and MCRYPT

2005-12-09 Thread Jeff Grossman
I am running dev-lang/php 5.0.5.  I installed phpmyadmin, and when I 
first go into it, it says I do not have mcrypt installed in my php.  How 
do I enable mcrypt in PHP?  I tried adding the use flag of mcrypt, but 
that does not seem to do anything.  What am I missing?

Thanks,
Jeff

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] PHP files not being executed in aliased directory

2006-04-10 Thread James Colby
List Members -

I recently ran an emerge update that upgraded my apache2 installation.
 I am now having a problem with PHP pages located in an aliased
directory.  Instead of showing me the correctly rendered page I am
only seeing the PHP code.  PHP pages located in the DocumentRoot
folder are being correctly executed.  Any ideas?

Thanks,
James

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] PHP 5 and MySQL 5

2005-07-09 Thread Ron Bickers
On Sat July 9 2005 12:16 am, Colin wrote:

 Are these in Portage?  Masked versions are fine.

PHP: http://packages.gentoo.org/packages/?category=dev-php;name=php
MySQL: http://packages.gentoo.org/packages/?category=dev-db;name=mysql

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



Re: [gentoo-user] Problem with udpate

2005-09-12 Thread Holly Bostick
Sébastien MORAND schreef:
 pyrenees:~ # emerge -uNDvp world
 
 These are the packages that I would merge, in order:
 
 Calculating world dependencies ...done!
 [blocks B ] dev-php/php (is blocking dev-lang/php-5.0.5)
 [blocks B ] dev-php/php (is blocking dev-php/PEAR-PEAR-1.3.6)
 [blocks B ] media-libs/giflib (is blocking media-libs/libungif-4.1.3)
 [ebuild  N] media-libs/giflib-4.1.3  +X +gif 0 kB
 [ebuild  N] dev-php/php-4.4.0  +X +berkdb +crypt +curl -debug +doc -fdftk
 +firebird -flash +freetds +gd -gd-external +gdbm -gmp -hardenedphp -imap
 -informix +ipv6 +java +jpeg +kerberos +ldap -mcal -memlimit -mssql +mysql
 +ncurses +nls -oci8 +odbc +pam +png +postgres +readline -snmp +spell +ssl 
 +tiff
 +truetype +xml2 -yaz 0 kB
 [ebuild UD] sys-devel/gcc-3.3.5.20050130-r1 [3.3.6] (-altivec) -bootstrap
 -boundschecking -build +fortran +gcj +gtk -hardened -ip28 (-multilib)
 -multislot (-n32) (-n64) +nls -nocxx -nopie -nossp +objc -static -vanilla 0 kB
 
 Total size of downloads: 0 kB
 pyrenees:~ # emerge -C dev-php/php media-libs/giflib
 
 --- Couldn't find dev-php/php to unmerge.
 
 --- Couldn't find media-libs/giflib to unmerge.
 
 
unmerge: No packages selected for removal.
 

You clearly know how to clear a block, but your syntax for unmerging the
blocking packages is wrong, which is why it's not working.

If you want to unmerge the specific version of the package (for this
example, let us assume php-5.0.5), the correct syntax is

emerge -C =dev-php/php-5.0.5

If you want to unmerge any or all versions of the package currently
installed, letting Portage decide which to unmerge, the correct syntax is

emerge -C php

So what you typed makes no sense to Portage.

Hope this helps,
Holly
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OK to disable filter USE in php?

2009-07-18 Thread Grant
I noticed amavisd-new is being pulled in by the filter USE flag in
squirrelmail.  I don't use amavisd-new (I greylist), so I removed
filter from make.conf and then realized it is also used in the php
package.  I only use php with squirrelmail.  Is it safe for me to
remove the filter USE flag from php?  I don't want to make a security
mistake.

- Grant



[gentoo-user] can't emerge '=dev-lang/php-4*' .. moved?

2010-04-22 Thread laurent
Hi,

I can't emerge php4 anymore:

USE=cli apache2 emerge '=dev-lang/php-4*' '=dev-lang/php-5*'
Calculating dependencies... done!

emerge: there are no ebuilds to satisfy =dev-lang/php-4*.

Is there a new way to do so ?

thx
Laurent




[gentoo-user] PHP 5.3, 5.4 and 5.5

2014-01-02 Thread Tanstaafl

Hi all,

I have a VM running in the cloud that has an old web/php app (10+ years 
old, believe it or not), that still runs fine on apache 2.2.25, but I 
pinned php to 5.3 some time ago.


Does anyone see any big potential gotchas (major changes) with php 5.4, 
or even 5.5, if I were to upgrade it?


Thx



Re: [gentoo-user] Emerge PEAR packages.

2006-01-21 Thread Michael Sullivan
On Sat, 2006-01-21 at 03:17 -0300, Pupeno wrote:
 How are you supposed to emerge PEAR packages today ?
 After upgrading, portage wanted to install dev-lang/php, so I done it remove 
 some blocking packages, including dev-php/php and dev-php/mod_php.
 Now emerging PEAR-XML_Parser or PEAR-DB wants to emerge dev-php/php back, 
 what 
 I am supposed to do ?
 Thank you.

I had this question yesterday (See the Blocking weirdness thread).
This worked for me:

dev-php/PEAR-DB ~x86

I assume you could do this with whatever PEAR package you wanted...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: php blocking

2006-01-25 Thread Richard Fish
On 1/25/06, James [EMAIL PROTECTED] wrote:
 # emerge --unmerge php
 --- Couldn't find php to unmerge.
 unmerge: No packages selected for removal.

 That's the problem it does not see the php or pear modules.

 emerge --unmerge pear
 --- Couldn't find pear to unmerge.
 unmerge: No packages selected for removal.

Try PEAR-PEAR (packages names are case-sensitive).


 I even 'emerge --sync' again, today and still
 I have:

Add the --tree option to see what is actually trying to bring in
dev-php/mod_php and dev-php/php.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dev-php/php blocking dev-lang/php

2006-02-07 Thread Darren Grant
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* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] 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



[gentoo-user] Error Emerging PHP 4.3.11

2005-04-12 Thread Tommy Young
When doing my emarge -uavD world, and letting it upgrade from php 
4.3.10 to php 4.3.11, I get the following build error. Has anyone else 
seen it or know how to fix it?
libtool: link: cannot find the library 
`/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la'
make: *** [sapi/cli/php] Error 1

!!! ERROR: dev-php/php-4.3.11 failed.
!!! Function php-sapi_src_compile, Line 544, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status 
message.

lemonaid root #
Thanks,
Tommy

smime.p7s
Description: S/MIME cryptographic signature


Re: [gentoo-user] php-5 being forced to install?

2006-05-14 Thread Justin Patrin

On 5/13/06, Trenton Adams [EMAIL PROTECTED] wrote:

Hi guys,

I'm having weird symptoms on my gentoo 2005.x system.  The system is
trying to install php-5.

It says...

[ebuild  NS   ] dev-lang/php-5.1.2
[ebuild   R   ] dev-lang/swig-1.3.21

I don't understand why it's trying to do this, as I have not asked for
php 5 to be installed.  And I'm also worried about it breaking
existing PHP applications.

Any ideas of where I should start?



I'm not sure why php-5 is being installed, but it's not too likely
that PHP5 will break your PHP applications unless they rely on a few
things that changed, such as re-setting $this.

--
Justin Patrin

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] php-5 being forced to install?

2006-05-15 Thread Maxim

  It says...
 
  [ebuild  NS   ] dev-lang/php-5.1.2
  [ebuild   R   ] dev-lang/swig-1.3.21
 
  I don't understand why it's trying to do this, as I have not asked for
  php 5 to be installed.  And I'm also worried about it breaking
  existing PHP applications.
 
  Any ideas of where I should start?

 I'm not sure why php-5 is being installed, but it's not too likely
 that PHP5 will break your PHP applications unless they rely on a few
 things that changed, such as re-setting $this.

# USE = -php emerge -av swig

I think it'll work.

--
Max Jazz
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Problems emerging PHP

2006-08-11 Thread Statux
I've been getting the following for a long time with PHP. Subsequent
syncs haven't fixed this. I've even manually deleted dev-lang/php from
the local portage tree and resync'd everything and I get the same
problem over and over.

statux ~ # emerge php
Calculating dependencies... done!
 Emerging (1 of 1) dev-lang/php-5.1.4-r4 to /
 checking ebuild checksums ;-)
 checking auxfile checksums ;-)
 checking miscfile checksums ;-)
 checking php-5.1.4.tar.bz2
!!! Digest verification failed:
!!! /usr/portage/distfiles/php-5.1.4.tar.bz2
!!! Reason: Failed on MD5 verification
!!! Got: f6ced7009b1e04e618e9f4b2950697c0
!!! Expected: 66a806161d4a2d3b5153ebe4cd0f2e1c

Ideas? :)

-Statux



signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] Setting up a local web server

2011-04-02 Thread Todd Goodman
* Adam Carter adamcart...@gmail.com [110402 01:15]:
  dig you build php with an apache2 flag to enable the Apache module?
 
 
 And you'll also need this in your httpd.conf;
 
 AddType application/x-httpd-php .php

70_mod_php5.conf in /etc/apache2/modules.d adds the handler for that
automatically when PHP5 is defined (and mod_mime.c is there.)

So doublecheck that php was built with the apache2 USE flag as mentioned
above.  I've rebuilt php after apache2 before to be sure the needed
modules are installed.

Also as mentioned make sure your APACHE2_OPTS in /etc/conf.d/apache2
uses -D PHP5 and not just PHP or PHP4.

And finally don't forget to restart apache after emerging php

Todd



Re: [gentoo-user] Nginx with PHP-FPM

2012-04-02 Thread Silvio Siefke
Hello,

On Mon, 02 Apr 2012 11:01:46 +0200
Michael Schreckenbauer grim...@gmx.de wrote:

 I'm not really an expert with ngingx and php-fpm, but afaict the error is in 
 the location line in nginx.conf.
 You have:
 location ~ .php$ {
 ...
 Afaik this only matches the exact file .php
 
 Try changing it to
 location ~ ^(.*)\.php$ {
 ...
 This would match all files ending in .php

thanks for advice. But nothing happen the result is same like before. 
Blank website, no phpinfo output. 

In logs stand only closed keepalive connection, can it be that something
in php-fpm.conf not correct is set?


Regards
Silvio



Re: [gentoo-user] PHP 5.3, 5.4 and 5.5

2014-01-02 Thread Michael Orlitzky
On 01/02/2014 07:46 AM, Tanstaafl wrote:
 Hi all,
 
 I have a VM running in the cloud that has an old web/php app (10+ years
 old, believe it or not), that still runs fine on apache 2.2.25, but I
 pinned php to 5.3 some time ago.
 
 Does anyone see any big potential gotchas (major changes) with php 5.4,
 or even 5.5, if I were to upgrade it?
 

If it runs *cleanly* on PHP 5.3, then it will be fine with PHP 5.5.
Enable all warnings with PHP 5.3 and see what it tells you.

A number of things were removed between 5.3 and 5.5, but you will be
warned about them in 5.3.

  * http://us1.php.net/manual/en/migration54.incompatible.php

  * http://us1.php.net/manual/en/migration55.incompatible.php




Re: [gentoo-user] non-PHP webmail in portage?

2009-01-10 Thread Grant
 Does anyone know of a good (or OK) webmail client in portage that
 doesn't use PHP?  I use squirrelmail now but I have PHP installed only
 for that and I think PHP slows apache2 down a bit.

 - Grant


 I don't think you'll find anything faster except maybe written in C, which
 is doubtful. The only other language you might find webmail written in is
 Perl/CGI and that is definitely not faster in my experience. PHP is about as
 good as you will get IMHO.

I actually don't mean to speed up squirrelmail and PHP.  The main
function of that system is to run a website in perl, and I thought I
might be bogging down apache2 a bit just by opening it up to PHP
interpretation (-D PHP).  Is that the case?  It would also be nice not
to be exposed to PHP exploits.  It just seems kind of silly to
maintain and run PHP just for webmail.

- Grant



Re: [gentoo-user] Nginx with PHP-FPM

2012-04-02 Thread Michael Schreckenbauer
On Monday 02 April 2012 04:26:47 siefke_lis...@web.de wrote:
 Hello,
 
 I try my web hosting environment to mirror locally. On my Rootserver run
 Nginx with PHP-FPM under FreeBSD. So i has installed Nginx, PHP and Mysql
 here local on Gentoo. But something is not correct, it want not really run.
 I has search in web and use the config for Nginx on Gentoo (is other as on
 FreeBSD) but nothing happen. The website (info.php) is blank and in logs i
 find not the way which is my mistake.
 
 nginx.conf  http://nopaste.info/72a40e9c5e.html
 php-fpm.conf  http://nopaste.info/94a9de62d5.html
 emerge --info php nginx  http://nopaste.info/225b12e106.html

I'm not really an expert with ngingx and php-fpm, but afaict the error is in 
the location line in nginx.conf.
You have:
location ~ .php$ {
...
Afaik this only matches the exact file .php

Try changing it to
location ~ ^(.*)\.php$ {
...
This would match all files ending in .php

 Regards
 Silvio

Hth,
Michael




Re: [gentoo-user] dev-php/php blocking dev-lang/php

2006-02-07 Thread James Ausmus
On 2/7/06, Darren Grant [EMAIL PROTECTED] 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



Re: [gentoo-user] non-PHP webmail in portage?

2009-01-09 Thread kashani

Grant wrote:

Does anyone know of a good (or OK) webmail client in portage that
doesn't use PHP?  I use squirrelmail now but I have PHP installed only
for that and I think PHP slows apache2 down a bit.

- Grant



Have you installed dev-php5/eaccelerator for caching PHP opcode? That's 
probably more useful than swapping the underlying language your webmail 
client in implemented in unless your system is completely starved for RAM.


kashani



Re: [gentoo-user] non-PHP webmail in portage?

2009-01-09 Thread Matt Harrison

Grant wrote:

Does anyone know of a good (or OK) webmail client in portage that
doesn't use PHP?  I use squirrelmail now but I have PHP installed only
for that and I think PHP slows apache2 down a bit.

- Grant



I don't think you'll find anything faster except maybe written in C, 
which is doubtful. The only other language you might find webmail 
written in is Perl/CGI and that is definitely not faster in my 
experience. PHP is about as good as you will get IMHO.


Matt



Re: [gentoo-user] PHP

2005-11-26 Thread ellotheth rimmwen
On 11/26/05, Jeff Grossman [EMAIL PROTECTED] wrote:
 Is the dev-lang/php pretty stable?  Is there anything I should know
 before I make the switch?

I'm running 5.0.5. It's lovely. Just follow the upgrade guide
(http://svn.gnqs.org/projects/gentoo-php-overlay/file/docs/php-upgrading.html?format=raw)
and you should be peachy. Watch the USE flags, and the overlay wiki
[http://svn.gnqs.org/projects/gentoo-php-overlay/] is your friend.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] php-5 being forced to install?

2006-05-13 Thread Trenton Adams

Hi guys,

I'm having weird symptoms on my gentoo 2005.x system.  The system is
trying to install php-5.

It says...

[ebuild  NS   ] dev-lang/php-5.1.2
[ebuild   R   ] dev-lang/swig-1.3.21

I don't understand why it's trying to do this, as I have not asked for
php 5 to be installed.  And I'm also worried about it breaking
existing PHP applications.

Any ideas of where I should start?

--
gentoo-user@gentoo.org mailing list



[gentoo-user] PHP and files over 2 Gb

2005-08-22 Thread Jim Hatfield
I just bought a Pinnacle ShowCenter and am using it with some
Apache/PHP/MySQL code to play mpeg movie files to a TV.

It appears that PHP as built can't handle files over 2Gb - I
get warnings whenever the application peruses a directory with
such files in it.

I had a look at the USE flags for PHP but didn't see anything 
obvious. Is there an easy way to build PHP to have large file
support?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] what happened to php and mod_php?

2005-09-07 Thread Bastian Balthazar Bux
Bryan Whitehead wrote:
 I currently run php 5.0.4 as build thru portage
 
 For some reason, portage only has up to 4.4.0 now. Was php 5.x
 abandoned? What's going on?
 
 http://packages.gentoo.org/search/?sstring=mod_php
 
 looks like only 4.4.0-r1 is around now... what the heck?
 

http://svn.gnqs.org/projects/gentoo-php-overlay/file/docs/php-upgrading.html?format=raw


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: sys-libs/db dev-lang/php dependency problem...

2009-11-04 Thread Nicolas Sebrecht
On Wed, Nov 04, 2009 at 11:47:41AM +0100, Alex Schuster wrote:

 I just posted a message (emerge --depclean does not remove due to link 
 level dependencies) due to similar issues. My guess is that php links to 
 some sys-libs/db library, even if db is not a dependency to php. 

To be correct, if php links to db, db _IS_ a dependency of php. If
portage is not aware of this dependency, the _ebuild_ is wrong and miss
a declaration for this dependency.

-- 
Nicolas Sebrecht



Re: [gentoo-user] php 5.2 ebuild ?

2012-03-05 Thread Stefan G. Weichinger
Am 05.03.2012 15:27, schrieb Stefan G. Weichinger:
 Am 05.03.2012 15:06, schrieb Stefan G. Weichinger:
 Am 05.03.2012 14:58, schrieb Neil Bothwick:
 On Mon, 05 Mar 2012 14:46:32 +0100, Stefan G. Weichinger wrote:

 Does anyone know where to get working ebuilds for PHP 5.2 ... ?

 http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-lang/php/?hideattic=0

 oh, thanks ...

 Now it doesn't build because of a missing php5_2-sapi.eclass ... *sigh*
 
 put the eclass into /usr/local/eclass ... now it fails to bunzip the
 pulled patchset ... even when I am able to manually bunzip it ...

See:


php # ebuild php-5.2.9.ebuild  fetch
 * php-5.2.9.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...

   [ ok ]
 * php-patchset-5.2.9-r0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...

   [ ok ]
 * checking ebuild checksums ;-) ...

   [ ok ]

php # ebuild php-5.2.9.ebuild prepare
 Existing ${T}/environment for 'php-5.2.9' will be sourced. Run 'clean'
 to start with a fresh environment.
 Not marked as unpacked; recreating WORKDIR...
 * php-5.2.9.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...

   [ ok ]
 * php-patchset-5.2.9-r0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...

   [ ok ]
 * checking ebuild checksums ;-) ...

   [ ok ]

 * This profile is merely a convenience for people who require a more
 * minimal profile, yet are unable to use hardened due to restrictions in
 * the software being used on the server. If you seek a secure
 * production server profile, please check the Hardened project
 * (http://hardened.gentoo.org)

 cfg-update-1.8.2-r1: Checksum index is up-to-date ...
 * Determining SAPI(s) to build
 *   Enabled  SAPI: cli
 *   Disabled SAPI: cgi
 *   Enabled  SAPI: apache2
 Unpacking source...
 Unpacking php-5.2.9.tar.bz2 to /var/tmp/portage/dev-lang/php-5.2.9/work
 Unpacking php-patchset-5.2.9-r0.tar.bz2 to
/var/tmp/portage/dev-lang/php-5.2.9/work
bzip2:
/var/tmp/portage/dev-lang/php-5.2.9/distdir/php-patchset-5.2.9-r0.tar.bz2 is
not a bzip2 file.
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
 * ERROR: dev-lang/php-5.2.9 failed (unpack phase):
 *   failure unpacking php-patchset-5.2.9-r0.tar.bz2
 *




[gentoo-user] Mysql upgrade from 5.5 to 5.6 not trigger rebuild fot php-5.3

2015-02-19 Thread marco
Hi,
i have a server with dev-db/mysql-5.5.40 and dev-lang/php-5.3.29 .
After the upgrade from dev-db/mysql-5.5.40 to dev-db/mysql-5.6.22 the
mysql_connect give some warnings:

PHP Warning:  mysql_connect(): Headers and client library minor version
mismatch. Headers:50540 Library:50622 in 

The warning disappear if i rebuild dev-lang/php-5.3.29 .

The question is:
why the mysql update dind't triggered the rebuild for
dev-lang/php-5.3.29 ?

Thanks Marco



Re: [gentoo-user] PHP 7.4 and dev-php/pecl-apcu-5.1.18

2020-04-19 Thread Michael Orlitzky
On 4/18/20 10:17 PM, Steve Freeman wrote:
> 
> Based on your suggestion, I simply added the following line to 
> /etc/portage/package.accept_keywords:
> =dev-php/pecl-apcu-5.1.18 ~amd64
> 
> It worked like a champ.  Thank you very much!
> 

Now that php-7.4 is stable, we should probably stabilize the (only, in
some cases) versions of the PHP extensions that support it. Feel free to
open a stabilization request bug.



  1   2   3   4   5   6   7   8   9   10   >