PHP4 packages

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

PHP4 packages

Shane Lazarus
Heya

Given all of the PHP packages seem to require PHP5, where do I go to find
PHP4 packages/ports, or how do I modify the existing requirements?

Shane
Reply | Threaded
Open this post in threaded view
|

Re: PHP4 packages

Robbert Haarman-3
> Given all of the PHP packages seem to require PHP5, where do I go to find
> PHP4 packages/ports, or how do I modify the existing requirements?

There's a PHP4 port in the tree (/usr/ports/www/php4). It requires
Apache to build. There's an older (4.4.1) port that doesn't require
Apache on http://inglorion.net/software/packages/.

HTH,

Bob

Reply | Threaded
Open this post in threaded view
|

Re: PHP4 packages

Lars Hansson
In reply to this post by Shane Lazarus
On Thu, 2 Feb 2006 00:00:22 +1300
Shane Lazarus <[hidden email]> wrote:

> Heya
>
> Given all of the PHP packages seem to require PHP5, where do I go to find
> PHP4 packages/ports, or how do I modify the existing requirements?

Uh, I see php4 packages both for current and 3.8 on the mirrors:
ftp ftp://ftp.jaist.ac.jp/pub/OpenBSD/snapshots/packages/i386/
ftp> ls php4*
227 Entering Passive Mode (203,65,245,7,225,178)
150 Opening ASCII mode data connection for file list
-r--r--r--   1 openbsd  mirror      46987 Jan 28 20:32 php4-bz2-4.4.1p0.tgz
-r--r--r--   1 openbsd  mirror    1479199 Jan 28 20:32 php4-core-4.4.1p0.tgz
-r--r--r--   1 openbsd  mirror      53061 Jan 28 20:32 php4-curl-4.4.1p0.tgz
-r--r--r--   1 openbsd  mirror      62289 Jan 28 20:32 php4-dba-4.4.1p0.tgz
-r--r--r--   1 openbsd  mirror      53332 Jan 28 20:32 php4-dbase-4.4.1p0.tgz
-r--r--r--   1 openbsd  mirror      58727 Jan 28 20:32 php4-dbx-4.4.1p0.tgz
-r--r--r--   1 openbsd  mirror      73617 Jan 28 20:32 php4-domxml-4.4.1p0.tgz
-r--r--r--   1 openbsd  mirror        709 Jan 28 20:32 php4-extensions-4.4.1p0.t
gz
-r--r--r--   1 openbsd  mirror      45781 Jan 28 20:32 php4-filepro-4.4.1p0.tgz
-r--r--r--   1 openbsd  mirror     132152 Jan 28 20:32 php4-gd-4.4.1p4-no_x11.tg
z
-r--r--r--   1 openbsd  mirror     133015 Jan 28 20:32 php4-gd-4.4.1p4.tgz
-r--r--r--   1 openbsd  mirror      52881 Jan 28 20:32 php4-gmp-4.4.1p0.tgz
-r--r--r--   1 openbsd  mirror      73270 Jan 28 20:32 php4-imap-4.4.1p0.tgz
-r--r--r--   1 openbsd  mirror      56824 Jan 28 20:32 php4-ldap-4.4.1p0.tgz
-r--r--r--   1 openbsd  mirror      53565 Jan 28 20:32 php4-mcrypt-4.4.1p0.tgz
-r--r--r--   1 openbsd  mirror      44922 Jan 28 20:32 php4-mhash-4.4.1p0.tgz
-r--r--r--   1 openbsd  mirror      58922 Jan 28 20:32 php4-mysql-4.4.1p0.tgz
-r--r--r--   1 openbsd  mirror      64745 Jan 28 20:32 php4-ncurses-4.4.1p0.tgz
-r--r--r--   1 openbsd  mirror      63797 Jan 28 20:32 php4-odbc-4.4.1p0.tgz
-r--r--r--   1 openbsd  mirror      66427 Jan 28 20:32 php4-pdf-4.4.1p0.tgz
-r--r--r--   1 openbsd  mirror     487338 Jan 28 20:32 php4-pear-4.4.1p0.tgz
-r--r--r--   1 openbsd  mirror      74614 Jan 28 20:32 php4-pgsql-4.4.1p0.tgz
-r--r--r--   1 openbsd  mirror      44692 Jan 28 20:32 php4-shmop-4.4.1p0.tgz
-r--r--r--   1 openbsd  mirror      49579 Jan 28 20:32 php4-snmp-4.4.1p0.tgz
-r--r--r--   1 openbsd  mirror      57135 Jan 28 20:32 php4-sybase_ct-4.4.1p0.tg
z
-r--r--r--   1 openbsd  mirror      78231 Jan 28 20:32 php4-xmlrpc-4.4.1p0.tgz
-r--r--r--   1 openbsd  mirror      24395 Jan 28 20:32 php4-xslt-4.4.1p0.tgz
226 Transfer complete.


---
Lars Hansson

Reply | Threaded
Open this post in threaded view
|

Re: PHP4 packages

Stuart Henderson
On 2006/02/01 20:16, Lars Hansson wrote:
> On Thu, 2 Feb 2006 00:00:22 +1300
> Shane Lazarus <[hidden email]> wrote:
>
> > Given all of the PHP packages seem to require PHP5, where do I go to find
> > PHP4 packages/ports, or how do I modify the existing requirements?
>
> Uh, I see php4 packages both for current and 3.8 on the mirrors:

Perhaps OP refers to the RUN_DEPENDS requirements in the Makefile
of ports like www/{phpmyadmin,wordpress,mediawiki,...}.

Reply | Threaded
Open this post in threaded view
|

Re: PHP4 packages

Andreas Vögele
In reply to this post by Lars Hansson
Lars Hansson writes:

> On Thu, 2 Feb 2006 00:00:22 +1300
> Shane Lazarus <[hidden email]> wrote:
>
>> Heya
>>
>> Given all of the PHP packages seem to require PHP5, where do I go
>> to find PHP4 packages/ports, or how do I modify the existing
>> requirements?
>
> Uh, I see php4 packages both for current and 3.8 on the mirrors:

That's not the question.  What the OP probably means is that all
third-party PHP ports, like for example Horde, depend on the php5
port.  You can't built packages that depend on php4.

If I were the OP I would install the relevant third-party PHP packages
manually without using the ports system.  Alternatively, he could copy
those ports to /usr/ports/mystuff and alter the dependencies.

Reply | Threaded
Open this post in threaded view
|

Re: PHP4 packages

Lars Hansson
In reply to this post by Stuart Henderson
On Wed, 1 Feb 2006 12:35:40 +0000
Stuart Henderson <[hidden email]> wrote:

> Perhaps OP refers to the RUN_DEPENDS requirements in the Makefile
> of ports like www/{phpmyadmin,wordpress,mediawiki,...}.

Perhaps, but that wasnt his actual question ;)

---
Lars

Reply | Threaded
Open this post in threaded view
|

Re: PHP4 packages

Marc Balmer-2
In reply to this post by Andreas Vögele
* Andreas Vögele wrote:

> That's not the question.  What the OP probably means is that all
> third-party PHP ports, like for example Horde, depend on the php5
> port.  You can't built packages that depend on php4.

An you can't use modern software like recent horde based stuff with
PHP4.

> If I were the OP I would install the relevant third-party PHP packages
> manually without using the ports system.  Alternatively, he could copy
> those ports to /usr/ports/mystuff and alter the dependencies.

Why not consider using PHP5?

Reply | Threaded
Open this post in threaded view
|

Re: PHP4 packages

Shane Lazarus-2
On 2/2/06, Marc Balmer <[hidden email]> wrote:

>
> * Andreas Vögele wrote:
>
> > That's not the question.  What the OP probably means is that all
> > third-party PHP ports, like for example Horde, depend on the php5
> > port.  You can't built packages that depend on php4.
>
> An you can't use modern software like recent horde based stuff with
> PHP4.
>
> > If I were the OP I would install the relevant third-party PHP packages
> > manually without using the ports system.  Alternatively, he could copy
> > those ports to /usr/ports/mystuff and alter the dependencies.
>
> Why not consider using PHP5?


Hey Folks

Thanks for the replies.

The biggest issue I had related to the pear packages in particular.

Scanning through the list further now I'm awake I have finally located the
php4-pear-4.4.1p0.tgz package which will allow me to install everything I
need for my applications.
(although btw, I'm a little uncertain why you would install any
/usr/local/bin/pear, which calls /var/www/pear/*, with standard php4-core
when it just wont plain work... :)


As for why not PHP5, because not every application I want to run has
certified their compliance with PHP5, or just plainly states their stuff
doesn't work on PHP5.


Thanks again.

Shane
Reply | Threaded
Open this post in threaded view
|

Re: PHP4 packages

Toni Mueller-7
In reply to this post by Marc Balmer-2


Hello,

On Wed, 01.02.2006 at 16:52:24 +0100, Marc Balmer <[hidden email]> wrote:
> * Andreas Vögele wrote:
> > third-party PHP ports, like for example Horde, depend on the php5
> > port.  You can't built packages that depend on php4.
> An you can't use modern software like recent horde based stuff with
> PHP4.

why not depend on PHP5 for packages that need it, on PHP4 OR PHP5 for
packages that are ok with any of them, and have both PHP4 and PHP5
around?

> > If I were the OP I would install the relevant third-party PHP packages
> > manually without using the ports system.  Alternatively, he could copy
> > those ports to /usr/ports/mystuff and alter the dependencies.
>
> Why not consider using PHP5?

While neither PHP4 nor PHP5 give me great feelings of trust, PHP5 is
still too new for my taste, and also generally claimed to require
_much_ more machine resources. I'm not really thrilled at throwing more
hardware at PHP if there is no *compelling* reason.

Also, we need Typo3 (blech) which in turn requires PHP4, not PHP5.
Compatibility with PHP5 is planned for 4.0, so turned around, 3.8.x
isn't compatible with PHP5, and 4.0 beta isn't, either.


Best,
--Toni++

Reply | Threaded
Open this post in threaded view
|

Re: PHP4 packages

Marc Balmer-2
* Toni Mueller wrote:

> Also, we need Typo3 (blech) which in turn requires PHP4, not PHP5.
> Compatibility with PHP5 is planned for 4.0, so turned around, 3.8.x
> isn't compatible with PHP5, and 4.0 beta isn't, either.

iirc there is no typo3 port, so what are you trying to tell us?  On the
other hand we have software _in the tree_ that requires the PHP5
stuff.  it has been decided long time ago to go with PHP5 wherever
possible.  php4 remains in the ports collection, though.

- Marc Balmer

Reply | Threaded
Open this post in threaded view
|

Re: PHP4 packages

Toni Mueller-7

Hello Marc,

On Sat, 04.02.2006 at 16:42:57 +0100, Marc Balmer <[hidden email]> wrote:
> * Toni Mueller wrote:
> > Also, we need Typo3 (blech) which in turn requires PHP4, not PHP5.
> > Compatibility with PHP5 is planned for 4.0, so turned around, 3.8.x
> > isn't compatible with PHP5, and 4.0 beta isn't, either.
>
> iirc there is no typo3 port,

indeed, there isn't. It was also a bit of work getting it to run
properly w/o resortung to -u.

> so what are you trying to tell us?

I'm trying to say that PHP4 still is required, which you seemed to
dispute, and that ports should not be viewed as a closed shop but eg.
are useful to lay ground for other apps which maybe didn't make it into
ports yet, and that your argument that there is lang+1 for popular
languages - that's what I understand from you wrt. PHP4 vs. PHP5, for
instance, is invalid as long as important applications are not
certified for that language version.

> On the other hand we have software _in the tree_ that requires the
> PHP5 stuff.  it has been decided long time ago to go with PHP5
> wherever possible.

Don't get me wrong - I'm in no way advocating throwing out PHP5, but
I wish that different language versions could be installed in parallel,
and then eg. be differentiated by search paths, instead of having to
choose either one and discarding all others. This is impractical from
my perspective.

> php4 remains in the ports collection, though.

Ok...

While we are at it, what about PHP 4.4.2 which again claims to fix some
security problems over 4.4.1?


Best,
--Toni++

Reply | Threaded
Open this post in threaded view
|

Re: PHP4 packages

Marc Balmer-2
> I'm trying to say that PHP4 still is required, which you seemed to
> dispute, and that ports should not be viewed as a closed shop but eg.

No, I am not disputing that.  PHP4 is here to stay for a while.  Only
new stuff will use PHP5 and we try to (slowly) move towards PHP5.

- Marc