On 5 Oct 2005, at 11:06 PM, Marc Balmer wrote:
Ian McWilliam wrote:
Attached is a diff to flavor phppgadmin to depend on php4 or php5
as per the diff sent to ports@ for the phpMyAdmin port.
The maintainer has been cc'd, hopefully some more discussion on
php4 vs php5 flavoring of ports will ensue.
Note that not all PHP software will run on PHP4, e.g. phpldapadmin
now requires PHP5 as it uses new features of PHP5.
IMO, the right way would be to upgrade to PHP5 instead of
retrofitting ports to use an older version of PHP.
- Marc Balmer
And here in lies the problem. A lot of software specifically needs
PHP4 and fails miserably with PHP5. Others are written well and run
under both or are written just for PHP5.
What I propose is:
software that runs under php4 AND php5 should be flavored for both.
(phpMyAdmin && phppgadmin are examples that run on both php4 and
php5) for those of us who are stuck with php4 and want to run these.
As the case of phpladpadmin-0.9.7 INSTALL file states
"* Requirements
phpLDAPadmin requires the following:
a. A web server (Apache, IIS, etc).
b. PHP 4.1.0 or newer (with LDAP support)"
http://prdownloads.sourceforge.net/phpldapadmin/
phpldapadmin-0.9.7.tar.gz?use_mirror=optusnet
Forcing people to use PHP5 is not an option for me at this point in
time. Too much PHP software is PHP4 dependent. What's the timeline
for change? I have no idea.
Ian McWilliam