Re: Re: PHP7 Homework for everyone reading this list

From: Date: Sat, 24 Jan 2015 20:31:12 +0000
Subject: Re: Re: PHP7 Homework for everyone reading this list
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Pavel Kou?il in php.internals (Sat, 24 Jan 2015 19:07:28 +0100):
>> https://phpdev.toolsforresearch.com/php-7.0.0-dev-nts-Win32-VC11-x86.htm
>> https://phpdev.toolsforresearch.com/php-7.0.0-dev-nts-Win32-VC11-x86.zip

https://phpdev.toolsforresearch.com/php-7.0.0-dev-Win32-VC11-x86.htm
https://phpdev.toolsforresearch.com/php-7.0.0-dev-Win32-VC11-x86.zip

>may I use your build for testing my applications compability with PHP7?

Yes, of course. That is what they are for. In the meantime I have found
out that PHP7 will run as mod_php in Apache VC11 x86. Need lines in the
htttpd.conf something like:

PHPINIDir "/phpdev/php70.x86/" 
LoadModule php7_module "/phpdev/php70.x86/php7apache2_4.dll"

>   I would like to try PHP 7, but I'm not really feeling like
>compiling it by myself for Windows (I probably even don't have all the
>tools needed for it); or is there a simple HOWTO for building it
>myself?

I am following more or less these guides:
https://wiki.php.net/internals/windows
https://wiki.php.net/internals/windows/stepbystepbuild

For building PHP7 I am using “Visual Studio 2012 Express for Windows
Desktop” aka VC11. I do not have a Pro version of VC11, but the Express
version works fine as well.

The hard part is to find the appriopate dependent libraries.
http://windows.php.net/downloads/php-sdk/deps-5.6-vc11-x86.7z
could give
you a jump start, but if you want to build PECL extensions with
dependent libraries you are on your own

I build PHP myself for every 5.3/4/5/6 release. See
http://www.apachelounge.com/viewtopic.php?t=6359

My PHP 5.6 nts builds contain contains 105 extensions. Only 44 of them
compile for PHP7. There still is a long way to go for all extension
maintainers!

Jan


Thread (43 messages)

« previous php.internals (#81096) next »