make makesum
to update the checksum file, compiling/testing, and finally submitting per the Porter's Handbook guidelines. It's easier than it sounds, take a look and give it a try.True, that's a bit of a given since it's specific to lang/php5 and lang/php56-extensions is the one for lang/php56. Mainly my thought is installing something like www/owncloud or any of the other suites in ports that use PHP mean you're going to get lang/php56 pulled in as a dependency. It makes sense to keep things as simple as possible and use the default versions as that's what everybody using public package repos would be using.Actually that depends on which port you're talking about, php5-extensions is still using 5.4
//Danne
Hello.
Why are the ports on a FreeBSD system are created without enthusiasm and responsiveness?
Other distributions already have the patches for php 5.4.40.
If nobody submits patches the port won't be updated.I understand everything, but in the past these delays patches to the ports was not!
All bad!!!If nobody submits patches the port won't be updated.
kpa already mentioned this but ports are mostly a user driven effort. The port maintainer (if the port has one) may be busy with other things. Nobody does this for a living, so it's all done in somebody's spare time.
I think this is wrong!
Began to learn how to create a port.Then please tell us whose "responsibility" it is to update the port?
Since you have expressed interest in having the port updated and you seem to be capable of doing it, why don't you do it mate?
Can provide instructions your method.You can compile your own PHP without using the ports. I have web server and some of my clients require different PHP version 5.4, 5.5 and 5.6 in the same jail. It's not that hard to do. Also, it is not necessary to have the latest version unless if you have issues with the current version or serious security issues.
make
to compile them../configure CC=gcc49 CXX=g++49 --prefix=/usr/local/php/5.4.39 --sysconfdir=/usr/local/etc/php54 --with-config-file-scan-dir=/usr/local/etc/php54 --localstatedir=/var --with-bz2 --with-curl --with-freetype-dir --with-gd --with-gettext --with-jpeg-dir --with-kerberos --with-libxml-dir --with-mcrypt --with-mhash --with-mysql --with-mysqli --with-pear --with-pdo-sqlite --with-sqlite3 --with-iconv --with-iconv-dir --with-imap --with-imap-ssl --with-openssl --with-pcre-dir --with-pcre-regex --with-pdo-mysql --with-png-dir --with-fpm-user=root --with-fpm-group=wheel --with-regex=system --with-t1lib --with-xmlrpc --with-xpm-dir --with-xsl --with-zlib --with-zlib-dir --disable-all --disable-cgi --enable-bcmath --enable-calendar --enable-ctype --enable-dom --enable-exif --enable-fileinfo --enable-filter --enable-fpm --enable-ftp --enable-gd-native-ttf --enable-hash --enable-intl --enable-ipv6 --enable-json --enable-libxml --enable-mbstring --enable-mysqlnd --enable-pdo --enable-phar --enable-session --enable-simplexml --enable-sockets --enable-tokenizer --enable-wddx --enable-xml --enable-xmlreader --enable-zip
./configure CC=gcc49 CXX=g++49 --prefix=/usr/local/php/5.5.23 --sysconfdir=/usr/local/etc/php55 --with-config-file-scan-dir=/usr/local/etc/php55 --localstatedir=/var --with-bz2 --with-curl --with-freetype-dir --with-gd --with-gettext --with-jpeg-dir --with-kerberos --with-libxml-dir --with-mcrypt --with-mhash --with-mysql --with-mysqli --with-pear --with-pdo-sqlite --with-sqlite3 --with-iconv --with-iconv-dir --with-imap --with-imap-ssl --with-openssl --with-pcre-dir --with-pcre-regex --with-pdo-mysql --with-png-dir --with-fpm-user=root --with-fpm-group=wheel --with-regex=system --with-t1lib --with-xmlrpc --with-xpm-dir --with-xsl --with-zlib --with-zlib-dir --disable-all --disable-cgi --enable-bcmath --enable-calendar --enable-ctype --enable-dom --enable-exif --enable-fileinfo --enable-filter --enable-fpm --enable-ftp --enable-gd-native-ttf --enable-hash --enable-intl --enable-ipv6 --enable-json --enable-libxml --enable-mbstring --enable-mysqlnd --enable-opcache --enable-pdo --enable-phar --enable-session --enable-simplexml --enable-sockets --enable-tokenizer --enable-wddx --enable-xml --enable-xmlreader --enable-zip
./configure CC=gcc49 CXX=g++49 --prefix=/usr/local/php/5.6.7 --sysconfdir=/usr/local/etc/php56 --with-config-file-scan-dir=/usr/local/etc/php56 --localstatedir=/var --with-bz2 --with-curl --with-freetype-dir --with-gd --with-gettext --with-jpeg-dir --with-kerberos --with-libxml-dir --with-mcrypt --with-mhash --with-mysql --with-mysqli --with-pear --with-pdo-sqlite --with-sqlite3 --with-iconv --with-iconv-dir --with-imap --with-imap-ssl --with-openssl --with-pcre-dir --with-pcre-regex --with-pdo-mysql --with-png-dir --with-fpm-user=root --with-fpm-group=wheel --with-regex=system --with-t1lib --with-xmlrpc --with-xpm-dir --with-xsl --with-zlib --with-zlib-dir --disable-all --disable-cgi --enable-bcmath --enable-calendar --enable-ctype --enable-dom --enable-exif --enable-fileinfo --enable-filter --enable-fpm --enable-ftp --enable-gd-native-ttf --enable-hash --enable-intl --enable-ipv6 --enable-json --enable-libxml --enable-mbstring --enable-mysqlnd --enable-opcache --enable-pdo --enable-phar --enable-session --enable-simplexml --enable-sockets --enable-tokenizer --enable-wddx --enable-xml --enable-xmlreader --enable-zip
make install clean
Thank you, but I know this method.Before you compile PHP, you need to install lang/gcc49 and devel/pecl-intl.
These are optional installs if PHP throws an error during configuration or compilation.
devel/libtool
devel/pcre
ftp/curl
print/freetype2
graphics/png
graphics/jpeg
mail/cclient
security/libmcrypt
devel/t1lib
multimedia/libvpx
devel/gettext
textproc/libxslt
devel/icu
devel/re2c
devel/oniguruma4
databases/mysql56-client
datbases/sqlite3
Download the source code from PHP website.
You'll need to configure especially the directories before doing themake
to compile them.
Code:./configure CC=gcc49 CXX=g++49 --prefix=/usr/local/php/5.4.39 --sysconfdir=/usr/local/etc/php54 --with-config-file-scan-dir=/usr/local/etc/php54 --localstatedir=/var --with-bz2 --with-curl --with-freetype-dir --with-gd --with-gettext --with-jpeg-dir --with-kerberos --with-libxml-dir --with-mcrypt --with-mhash --with-mysql --with-mysqli --with-pear --with-pdo-sqlite --with-sqlite3 --with-iconv --with-iconv-dir --with-imap --with-imap-ssl --with-openssl --with-pcre-dir --with-pcre-regex --with-pdo-mysql --with-png-dir --with-fpm-user=root --with-fpm-group=wheel --with-regex=system --with-t1lib --with-xmlrpc --with-xpm-dir --with-xsl --with-zlib --with-zlib-dir --disable-all --disable-cgi --enable-bcmath --enable-calendar --enable-ctype --enable-dom --enable-exif --enable-fileinfo --enable-filter --enable-fpm --enable-ftp --enable-gd-native-ttf --enable-hash --enable-intl --enable-ipv6 --enable-json --enable-libxml --enable-mbstring --enable-mysqlnd --enable-pdo --enable-phar --enable-session --enable-simplexml --enable-sockets --enable-tokenizer --enable-wddx --enable-xml --enable-xmlreader --enable-zip
Code:./configure CC=gcc49 CXX=g++49 --prefix=/usr/local/php/5.5.23 --sysconfdir=/usr/local/etc/php55 --with-config-file-scan-dir=/usr/local/etc/php55 --localstatedir=/var --with-bz2 --with-curl --with-freetype-dir --with-gd --with-gettext --with-jpeg-dir --with-kerberos --with-libxml-dir --with-mcrypt --with-mhash --with-mysql --with-mysqli --with-pear --with-pdo-sqlite --with-sqlite3 --with-iconv --with-iconv-dir --with-imap --with-imap-ssl --with-openssl --with-pcre-dir --with-pcre-regex --with-pdo-mysql --with-png-dir --with-fpm-user=root --with-fpm-group=wheel --with-regex=system --with-t1lib --with-xmlrpc --with-xpm-dir --with-xsl --with-zlib --with-zlib-dir --disable-all --disable-cgi --enable-bcmath --enable-calendar --enable-ctype --enable-dom --enable-exif --enable-fileinfo --enable-filter --enable-fpm --enable-ftp --enable-gd-native-ttf --enable-hash --enable-intl --enable-ipv6 --enable-json --enable-libxml --enable-mbstring --enable-mysqlnd --enable-opcache --enable-pdo --enable-phar --enable-session --enable-simplexml --enable-sockets --enable-tokenizer --enable-wddx --enable-xml --enable-xmlreader --enable-zip
Code:./configure CC=gcc49 CXX=g++49 --prefix=/usr/local/php/5.6.7 --sysconfdir=/usr/local/etc/php56 --with-config-file-scan-dir=/usr/local/etc/php56 --localstatedir=/var --with-bz2 --with-curl --with-freetype-dir --with-gd --with-gettext --with-jpeg-dir --with-kerberos --with-libxml-dir --with-mcrypt --with-mhash --with-mysql --with-mysqli --with-pear --with-pdo-sqlite --with-sqlite3 --with-iconv --with-iconv-dir --with-imap --with-imap-ssl --with-openssl --with-pcre-dir --with-pcre-regex --with-pdo-mysql --with-png-dir --with-fpm-user=root --with-fpm-group=wheel --with-regex=system --with-t1lib --with-xmlrpc --with-xpm-dir --with-xsl --with-zlib --with-zlib-dir --disable-all --disable-cgi --enable-bcmath --enable-calendar --enable-ctype --enable-dom --enable-exif --enable-fileinfo --enable-filter --enable-fpm --enable-ftp --enable-gd-native-ttf --enable-hash --enable-intl --enable-ipv6 --enable-json --enable-libxml --enable-mbstring --enable-mysqlnd --enable-opcache --enable-pdo --enable-phar --enable-session --enable-simplexml --enable-sockets --enable-tokenizer --enable-wddx --enable-xml --enable-xmlreader --enable-zip
To compile the code:
make install clean
You will have to figure your Apache or Nginx to use the specific PHP version.
This is good!The work is in progress. See PR 199585. As said above this is a community effort. The maintainer may have been very busy lately as it does seem like the PHP ports have been slow to get updates. I don't know what has been going on but the maintainer doesn't have to be a single point of failure. When life does take priority, that's precisely when we should be stepping in to help out and reduce some of that burden.