amitabh said:Can anybody confirm if php port for 8.0 comes with 5.3 version?
As far as I know, the port has not been updated yet.
amitabh said:Can anybody confirm if php port for 8.0 comes with 5.3 version?
Voltar said:Looks like something to try out: http://lists.freebsd.org/pipermail/freebsd-ports/2009-December/058016.html
cd /usr/ports && patch -p0 -E ~/php53.diff
cd /usr/ports && patch -p0 -E < ~/php53.diff
MissileSilo said:Code:wget http://www.alexdupre.com/php53.diff mv php53.diff ~/ cd /usr/ports patch -p0 -E < ~/php53.diff
fetch http://www.alexdupre.com/php53.diff
mv php53.diff ~/
cd /usr/ports
patch -p0 -E < ~/php53.diff
/usr/ports/databases/php5-mysqli/work/php-5.3.1/ext/mysqli/mysqli.c:35:45: error: ext/mysqlnd/mysqlnd_portability.h: No such file or directory
/usr/ports/databases/php5-mysqli/work/php-5.3.1/ext/mysqli/mysqli_api.c:34:45: error: ext/mysqlnd/mysqlnd_portability.h: No such file or directory
/usr/ports/databases/php5-mysqli/work/php-5.3.1/ext/mysqli/mysqli.c:35:45: error: ext/mysqlnd/mysqlnd_portability.h: No such file or directory
/usr/ports/databases/php5-mysqli/work/php-5.3.1/ext/mysqli/mysqli_api.c:34:45: error: ext/mysqlnd/mysqlnd_portability.h: No such file or directory
usr/ports/databases/php5-mysqli/work/php-5.3.1/ext/mysqli/mysqli.c:35:45: error: ext/mysqlnd/mysqlnd_portability.h: No such file or directory
/usr/ports/databases/php5-mysqli/work/php-5.3.1/ext/mysqli/mysqli_api.c:34:45: error: ext/mysqlnd/mysqlnd_portability.h: No such file or directory
PORTNAME= php5
PORTVERSION= 5.3.1
PORTREVISION?= 0
CATEGORIES?= lang devel www
MASTER_SITES= ${MASTER_SITE_PHP}
MASTER_SITE_SUBDIR= distributions
DISTNAME= php-${PORTVERSION}
MAINTAINER= ale@FreeBSD.org
COMMENT= PHP Scripting Language
LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
USE_BZIP2= yes
MAKE_JOBS_SAFE= yes
.if !defined(PKGNAMESUFFIX)
USE_AUTOTOOLS= autoconf:262
CONFIGURE_ARGS= \
--with-layout=GNU \
--with-config-file-scan-dir=${PREFIX}/etc/php \
--disable-all \
--enable-libxml \
--with-libxml-dir=${LOCALBASE} \
[color="Red"][B]--with-mysqli=shared,mysqlnd \[/B][/color]
--program-prefix=""
....
cd /usr/ports/lang/php5 && make clean
/usr/local/etc/rc.d/apache22 stop
[/usr/ports/lang/php5] make deinstall
[/usr/ports/lang/php5] make
[/usr/ports/lang/php5] make install
ls /usr/local/lib/php/20090626-zts/ |grep mysql
mysql.so
mysqli.so
??crsd said:Missing \ at the end of previous line?
sed -n 35,40p Makefile
--enable-reflection \
--with-mysqli=shared,mysqlnd \
--program-prefix=""
USE_GNOME= libxml2
amitabh said:It should come out with 5.3.2 release. See this mail by the maintainer:
http://docs.freebsd.org/cgi/getmsg....ive/2010/freebsd-ports/20100124.freebsd-ports
chrcol said:guys you all realise right 5.2.x is not EOL.
from a productivity point of view 5.3 is essentially beta, it has no zend support and I am not sure about ioncube support, the configuration has major changes and various apps break.
If we are to get php-5.3 in ports I hope it appears as a new port eg. lang/php5-testing as 5.2.x still has development and is the mature version.
chrcol said:guys you all realise right 5.2.x is not EOL.
from a productivity point of view 5.3 is essentially beta, it has no zend support and I am not sure about ioncube support, the configuration has major changes and various apps break.
If we are to get php-5.3 in ports I hope it appears as a new port eg. lang/php5-testing as 5.2.x still has development and is the mature version.
PHP devs already told me it will be dropped soon (probably just before
summer), so creating a port for a few months has no sense. Anyway I have
no plan for lang/php52.