[CFT] php7 for FreeBSD

loic.blot at unix-experience.fr loic.blot at unix-experience.fr
Wed Jan 13 14:55:49 UTC 2016


Hi martin,
i pulled, add portrevision and upgrade on my servers. It's working properly. I removed extensions from php.ini and extensions.ini was read

Here is my FreeBSD + Apache 2.4 + PHP 7 (in devel) site http://www.epixel-game.net/en/

Here are the tested modules:

[PHP Modules]
Core
ctype
date
dom
filter
hash
iconv
json
libxml
mysqlnd
openssl
pcre
PDO
pdo_pgsql
Phar
Reflection
session
SimpleXML
SPL
standard
tokenizer
zlib


13 janvier 2016 12:28 "Martin Wilke" <miwi.fbsd at gmail.com> a écrit:
> Hi,
> 
> I've fixed it in github, you need to checkout again and rebuild lang/php7.
> after that php -m should show all installed extensions.
> 
> Thanks for your feeback!
> 
> On Wed, Jan 13, 2016 at 7:14 PM, Martin Wilke <miwi.fbsd at gmail.com> wrote:
> 
>> Hi,
>> 
>> Thanks for your feedback. I'll have a look.
>> 
>> On Wed, Jan 13, 2016 at 6:38 PM, <loic.blot at unix-experience.fr> wrote:
>> 
>>> Since my recent message, i noticed that apache could not load php
>>> exntesions because we don't have the -c option in apache.
>>> To fix this problem i added extensions entries in the [PHP] group in
>>> /usr/local/etc/php.ini file and removed the old file
>>> 
>>> 13 janvier 2016 11:16 loic.blot at unix-experience.fr a écrit:
>>>> Hi Martin,
>>>> i noticed another problem (the mk problem wasn't one):
>>>> php doesn't read extensions.ini (i tested from command line, using
>>> composer.phar and it said Phar
>>>> not found. php -c /usr/local/etc/php/extensions.ini works)
>>>> 
>>>> 12 janvier 2016 13:03 loic.blot at unix-experience.fr a écrit:
>>>> 
>>>>> Hi Martin, great job.
>>>>> I noticed that php7-redis is not present. Does this exists ?
>>>>> I will test it on my poudriere.
>>>>> 
>>>>> I also noticed the following error
>>>>> 
>>>>> make: "/usr/local/poudriere/ports/default/Mk/bsd.php.mk" line 367:
>>> Malformed conditional
>>>>> (${_USE_PHP_VER${PHP_VER}:M${:Uxml}} != "")
>>>>> 
>>>>> 12 janvier 2016 09:35 "Martin Wilke" <miwi at freebsd.org> a écrit:
>>>>> 
>>>>>> Hey..
>>>>>> 
>>>>>> I have spent the last few days on getting php7 ready for FreeBSD.
>>>>>> The initial work was done by Senta Ltd [1] via github. I picked up
>>> what's
>>>>>> left from there and finished up all missing ports and cleaned up a
>>> lot of
>>>>>> mess.
>>>>>> 
>>>>>> So far everything that is related to php7 works for me. Pear and pecl
>>> ports
>>>>>> are
>>>>>> still untested but I'll look into them after php7 has landed in
>>> ports, in
>>>>>> order to
>>>>>> please the majority. If you have the time it would be very much
>>> appreciated
>>>>>> if
>>>>>> you can test them and send me some feedback.
>>>>>> 
>>>>>> You can find all the ports here:
>>>>>> https://github.com/miwi-fbsd/miwi-ports
>>>>>> 
>>>>>> NOTE:
>>>>>> In case you are still using phpX-mysql, you have to replace it with
>>> mysqli.
>>>>>> 
>>>>>> Whats New in PHP7
>>>>>> http://php.net/ChangeLog-7.php
>>>>>> 
>>>>>> Thanks Martin
>>>>>> 
>>>>>> [1]
>>>>>> https://github.com/SentaLtd/freebsd-php7-ports
>>>>>> _______________________________________________
>>>>>> freebsd-ports at freebsd.org mailing list
>>>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
>>>>>> To unsubscribe, send any mail to "
>>> freebsd-ports-unsubscribe at freebsd.org"
>>>>> 
>>>>> _______________________________________________
>>>>> freebsd-ports at freebsd.org mailing list
>>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
>>>>> To unsubscribe, send any mail to "
>>> freebsd-ports-unsubscribe at freebsd.org"
>>>> 
>>>> _______________________________________________
>>>> freebsd-ports at freebsd.org mailing list
>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
>>>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org
>>> "
> 
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"


More information about the freebsd-ports mailing list