Discussion:
Build PHP
Brian Smither
2014-04-06 21:18:40 UTC
Permalink
Is there a site that has a tutorial on building PHP from source, for Windows 2008, specifically using Visual Studio Express 2013?

I don't actually want to have to build PHP, but it seems I am forced to go this route because in my looking around for a solution to a cURL limitation, I find that pre-compiled binaries for Windows do not have the fpm enabled.

I am hoping to get a compiled PHP with fpm enabled to see if it solves my cURL problem.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Christoph Becker
2014-04-07 21:56:08 UTC
Permalink
Post by Brian Smither
Is there a site that has a tutorial on building PHP from source, for
Windows 2008, specifically using Visual Studio Express 2013?
There is <https://wiki.php.net/internals/windows/stepbystepbuild>, which
should be helpful. However, the download link for VS 2012 is outdated
(<http://www.microsoft.com/en-us/download/details.aspx?id=34673> works,
though). (I have not tried building with VS 2013.) Furthermore
phpsdk_buildtree.bat of the php-sdk-binary-tools doesn't create folders
for vc11. I had to copy the vc9 folder manually.
--
Christoph M. Becker
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Brian Smither
2014-04-07 22:53:05 UTC
Permalink
Post by Christoph Becker
There is <https://wiki.php.net/internals/windows/stepbystepbuild>, which
should be helpful.
It was helpful, but did not allow me to understand what was going on, nor is it up to date, nor does it provide for any follow-up questions -- all within my definition of "tutorial".
Post by Christoph Becker
Furthermore phpsdk_buildtree.bat of the php-sdk-binary-tools
doesn't create folders for vc11. I had to copy the vc9 folder manually.
Which I did as well. Luckily, nothing broke.

The page of "Windows Libraries" is confusing. Do I need to download and put in place all of that? What does YES in the V11 column mean? What is V11?

I have PHP5.5.6 (snapshot, apparently) running on 2008 now, and I see an honorific to the FastCGI Process Manager. But where is it?

In my seventh and latest aborted attempt to compile PHP (last attempt is PHP5.5.11), I expected to see a mention of the FPM in the results of the "configure --help" command. But there is no mention.

The step-by-step implies I need to install VS2008 to compile PHP5.4. That's ridiculous.

Thank you for the reply.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Christoph Becker
2014-04-07 23:29:47 UTC
Permalink
Post by Brian Smither
Post by Christoph Becker
There is <https://wiki.php.net/internals/windows/stepbystepbuild>,
which should be helpful.
It was helpful, but did not allow me to understand what was going on,
nor is it up to date, nor does it provide for any follow-up questions
-- all within my definition of "tutorial".
Building PHP on Windows seems somewhat uncommon, so don't expect too much.
Post by Brian Smither
The page of "Windows Libraries" is confusing. Do I need to download
and put in place all of that?
I believe that downloading the php-sdk package is sufficient. At least
that worked for me (I did not try to build fpm, though).
Post by Brian Smither
What does YES in the V11 column mean?
What is V11?
Apparently, that should be VC9 resp. VC11.
Post by Brian Smither
I have PHP5.5.6 (snapshot, apparently) running on 2008 now, and I see
an honorific to the FastCGI Process Manager. But where is it?
The sources are in sapi/fpm.
Post by Brian Smither
In my seventh and latest aborted attempt to compile PHP (last attempt
is PHP5.5.11), I expected to see a mention of the FPM in the results
of the "configure --help" command. But there is no mention.
Indeed. The information on
<http://www.php.net/manual/en/install.fpm.php> doesn't seem to help, either.

Have you tried to contact the PHP-FPM community directly?
(<http://php-fpm.org/community/>)
--
Christoph M. Becker
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Brian Smither
2014-04-19 16:05:26 UTC
Permalink
Post by Brian Smither
I expected to see a mention of the FPM in the results
of the "configure --help" command.
The FPM sources are in sapi/fpm.
So, is there any guidance on how to get FPM to show in the "configure --help" command?

Or can I simply add "--with-fpm" and the compiler will go looking for it?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Loading...