Re: lang/php5 - separate apache module from php5 port

2013-11-23 Thread geoffroy desvernay
On 12/07/2013 14:57, Florent Peterschmitt wrote:
 Le 10/07/2013 23:54, olli hauer a écrit :
 Here it would be ap22-mod_php5 and ap24-mod_php5.


 Thats what I thought with your first mail and I suspect this is a good idea.
 
 Yep, it was what I meant. So do you think I should contact the maintainer ?
 
I second this, as php-fpm is more and more used, with apache, nginx,
lighttpd... There are also cases where only php-cli is needed (at least
we use that too)

I like the way debian handle this: php-cli/php-fpm/php-cgi/php-module
are packaged independently (and in freebsd we could have ap22-mod-php
and ap24-mod-php).

The difficulty may be that it would make some more ports to maintain for
Alex, who may need some help (?)

My 2 cts...

ps: re-using this thread as I didn't find (missed?) any more recent
discussion about this...

-- 
geoffroy desvernay
C.R.I - Administration systèmes et réseaux
Ecole Centrale de Marseille




signature.asc
Description: OpenPGP digital signature


Re: lang/php5 - separate apache module from php5 port

2013-11-23 Thread Florent Peterschmitt
On 23/11/13 13:20, geoffroy desvernay wrote:
 On 12/07/2013 14:57, Florent Peterschmitt wrote:
 Le 10/07/2013 23:54, olli hauer a écrit :
 Here it would be ap22-mod_php5 and ap24-mod_php5.


 Thats what I thought with your first mail and I suspect this is a good idea.

 Yep, it was what I meant. So do you think I should contact the maintainer ?

 I second this, as php-fpm is more and more used, with apache, nginx,
 lighttpd... There are also cases where only php-cli is needed (at least
 we use that too)
 
 I like the way debian handle this: php-cli/php-fpm/php-cgi/php-module
 are packaged independently (and in freebsd we could have ap22-mod-php
 and ap24-mod-php).
 
 The difficulty may be that it would make some more ports to maintain for
 Alex, who may need some help (?)
 
 My 2 cts...
 
 ps: re-using this thread as I didn't find (missed?) any more recent
 discussion about this...
 

Yeah, Debian's package split is nice (and not only for PHP but
everything else). But I'm not sure if we want to make x packages we have
to make x ports. I mean, it is very useful when distributing packages
and I'm not sure the port system cannot make x packages from 1 only port.

-- 
Florent Peterschmitt   | Please:
flor...@peterschmitt.fr|  * Avoid HTML/RTF in E-mail.
+33 (0)6 64 33 97 92   |  * Send PDF for documents.
http://florent.peterschmitt.fr |  * Trim your quotations. Really.
Proudly powered by Open Source | Thank you :)



signature.asc
Description: OpenPGP digital signature


Re: lang/php5 - separate apache module from php5 port

2013-11-23 Thread Matthew Seaman
On 23/11/2013 13:02, Florent Peterschmitt wrote:
 Yeah, Debian's package split is nice (and not only for PHP but
 everything else). But I'm not sure if we want to make x packages we have
 to make x ports. I mean, it is very useful when distributing packages
 and I'm not sure the port system cannot make x packages from 1 only port.

It can't.  This sub-package functionality is coming, but it's not here
yet.  Conversion to staging is a pre-requisite, and I've a feeling that
old-style pkg_tools aren't going to cut it; pkgng will[*] be required.
Which means it's going to be problematic for older release branches.

Cheers,

Matthew

[*] almost certainly.

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: lang/php5 - separate apache module from php5 port

2013-07-12 Thread Florent Peterschmitt
Le 10/07/2013 23:54, olli hauer a écrit :
 Here it would be ap22-mod_php5 and ap24-mod_php5.

 
 Thats what I thought with your first mail and I suspect this is a good idea.

Yep, it was what I meant. So do you think I should contact the maintainer ?



signature.asc
Description: OpenPGP digital signature


lang/php5 - separate apache module from php5 port

2013-07-10 Thread Florent Peterschmitt
Hi,

Everything is in the title. Would it be possible to make a new port to
build the apache (2.2) php module ?

It will prevent php from not being installable with apache24 using this
option.

If help is needed, I can start working on it. But I never written any
port :)
-- 
Florent Peterschmitt   | Please:
flor...@peterschmitt.fr|  * Avoid HTML/RTF in E-mail.
+33 (0)6 64 33 97 92   |  * Send PDF for documents.
http://florent.peterschmitt.fr | Thank you :)



signature.asc
Description: OpenPGP digital signature


PHP5 - separate apache module from php5 port

2013-07-10 Thread Florent Peterschmitt
Hi,

Everything is in the title. Would it be possible to make a new port to
build the apache (2.2) php module ?

It will prevent php from not being installable with apache24 using this
option.

If help is needed, I can start working on it. But I never written any
port :)

-- 
Florent Peterschmitt   | Please:
flor...@peterschmitt.fr|  * Avoid HTML/RTF in E-mail.
+33 (0)6 64 33 97 92   |  * Send PDF for documents.
http://florent.peterschmitt.fr | Thank you :)



signature.asc
Description: OpenPGP digital signature


Re: lang/php5 - separate apache module from php5 port

2013-07-10 Thread Loïc BLOT
Hi,
if i understand you say php5 isn't usable with Apache2.4 ?
I'm using Apache 2.4 with PHP 5.4.16 without any problems on my devel
monitoring distro.
mod_perl have problems with Apache 2.4 but not php5
-- 
Best regards,
Loïc BLOT,
UNIX systems, security and network expert
http://www.unix-experience.fr



Le mercredi 10 juillet 2013 à 22:48 +0200, Florent Peterschmitt a
écrit :
 Hi,
 
 Everything is in the title. Would it be possible to make a new port to
 build the apache (2.2) php module ?
 
 It will prevent php from not being installable with apache24 using this
 option.
 
 If help is needed, I can start working on it. But I never written any
 port :)

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Re: lang/php5 - separate apache module from php5 port

2013-07-10 Thread Florent Peterschmitt
Le 10/07/2013 23:11, Loïc BLOT a écrit :
 Hi,
 if i understand you say php5 isn't usable with Apache2.4 ?
 I'm using Apache 2.4 with PHP 5.4.16 without any problems on my devel
 monitoring distro.
 mod_perl have problems with Apache 2.4 but not php5
 
Ah ? Have you defined DEFAULT_APACHE_VERSION=24 in make.conf ? Because I
use poudriere and I haven't tried with.

-- 
Florent Peterschmitt   | Please:
flor...@peterschmitt.fr|  * Avoid HTML/RTF in E-mail.
+33 (0)6 64 33 97 92   |  * Send PDF for documents.
http://florent.peterschmitt.fr | Thank you :)



signature.asc
Description: OpenPGP digital signature


Re: lang/php5 - separate apache module from php5 port

2013-07-10 Thread olli hauer
On 2013-07-10 23:18, Florent Peterschmitt wrote:
 Le 10/07/2013 23:11, Loïc BLOT a écrit :
 Hi,
 if i understand you say php5 isn't usable with Apache2.4 ?
 I'm using Apache 2.4 with PHP 5.4.16 without any problems on my devel
 monitoring distro.
 mod_perl have problems with Apache 2.4 but not php5

 Ah ? Have you defined DEFAULT_APACHE_VERSION=24 in make.conf ? Because I
 use poudriere and I haven't tried with.
 

Try APACHE_PORT=www/apache24

DEFAULT_APACHE_VERSION is a read only variable defined in Mk/bsd.apache.mk

--
Regards,
olli
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Re: lang/php5 - separate apache module from php5 port

2013-07-10 Thread Florent Peterschmitt
Le 10/07/2013 23:28, olli hauer a écrit :
 Try APACHE_PORT=www/apache24

Ow… poudriere wants to rebuild everything…

But, what if I want to keep both apache22 and apache24 in the repository ?

A separate module would be useful.

I have a question about that. Who to build two versions of one module ?
Like for python, if I want py27 and py33 versions of the same module,
under the same repository ?

Here it would be ap22-mod_php5 and ap24-mod_php5.



signature.asc
Description: OpenPGP digital signature


Re: lang/php5 - separate apache module from php5 port

2013-07-10 Thread olli hauer
On 2013-07-10 23:45, Florent Peterschmitt wrote:
 Le 10/07/2013 23:28, olli hauer a écrit :
 Try APACHE_PORT=www/apache24
 
 Ow… poudriere wants to rebuild everything…
 
 But, what if I want to keep both apache22 and apache24 in the repository ?
 
 A separate module would be useful.
 
 I have a question about that. Who to build two versions of one module ?
 Like for python, if I want py27 and py33 versions of the same module,
 under the same repository ?
 
 Here it would be ap22-mod_php5 and ap24-mod_php5.
 

Thats what I thought with your first mail and I suspect this is a good idea.



___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org