logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Building & Member Downloads View previous topic :: View next topic
Reply to topic   Topic: httPHPdSSL Win64 (Apache + PHP + OpenSSL) Page 1, 2, 3  Next
Author
Virsacer



Joined: 16 Jan 2010
Posts: 108
Location: Germany, Darmstadt

PostPosted: Fri 14 May '10 1:32    Post subject: httPHPdSSL Win64 (Apache + PHP + OpenSSL) Reply with quote

This is my x64 VC10 build of Apache and PHP with OpenSSL:
http://www.erazergermany.de/HOME/httPHPdSSL-Win64-2011-05-23.zip

Apache 2.2.19
PHP 5.3.6
OpenSSL 1.0.0d


ADDITIONAL PHP EXTENSIONS:
eAccelerator
memcache
uploadprogress
xdebug

MISSING PHP EXTENSIONS:
enchant
snmp


Last edited by Virsacer on Mon 23 May '11 12:22; edited 12 times in total
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Tue 22 Jun '10 15:32    Post subject: Reply with quote

Please post how you compiled PHP in 64 bit. Does that also work with VC 9 express edition?

Thanks for compiling since the 32 bit version is a bit anoying when I try to open files in System32, cause of the redirection. So
C:\windows\sytem32\drivers\etc\hosts become
C:\Windows\winsxs\amd64_microsoft-windows-w..nfrastructure-other_31bf3856ad364e35_6.1.7600.16385_none_6079f415110c0210\hosts
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Tue 22 Jun '10 16:49    Post subject: Reply with quote

Intressting is that the 64 bit is not much faster than the 32 bit version

I used the benchmarkscript from http://cvs.php.net/viewvc.cgi/ZendEngine2/bench.php?view=markup

Code:

C:\svn>\php\php bench.php
simple             0.258
simplecall         0.445
simpleucall        0.471
simpleudcall       0.587
mandel             0.831
mandel2            1.009
ackermann(7)       0.474
ary(50000)         0.046
ary2(50000)        0.041
ary3(2000)         0.388
fibo(30)           1.398
hash1(50000)       0.083
hash2(500)         0.072
heapsort(20000)    0.243
matrix(20)         0.234
nestedloop(12)     0.475
sieve(30)          0.226
strcat(200000)     0.033
------------------------
Total              7.314

C:\svn>\php64\php bench.php
simple             0.272
simplecall         0.414
simpleucall        0.431
simpleudcall       0.480
mandel             0.794
mandel2            1.099
ackermann(7)       0.447
ary(50000)         0.061
ary2(50000)        0.055
ary3(2000)         0.384
fibo(30)           1.318
hash1(50000)       0.097
hash2(500)         0.071
heapsort(20000)    0.233
matrix(20)         0.238
nestedloop(12)     0.461
sieve(30)          0.280
strcat(200000)     0.031
------------------------
Total              7.166

C:\svn>
Back to top
Virsacer



Joined: 16 Jan 2010
Posts: 108
Location: Germany, Darmstadt

PostPosted: Tue 22 Jun '10 17:09    Post subject: Reply with quote

Yes, VC9 Express is sufficient.
But you need the Windows SDK and the PHP Build Tools: http://pecl2.php.net/downloads/php-windows-builds/php-libs/binary-tools.zip
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Wed 23 Jun '10 16:31    Post subject: Reply with quote

So like discribed in the PHP Wiki except of /x86 but /x64 ?
Back to top
Virsacer



Joined: 16 Jan 2010
Posts: 108
Location: Germany, Darmstadt

PostPosted: Wed 23 Jun '10 18:04    Post subject: Reply with quote

Yes, but I use

C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\Visual Studio 2008 x64 Win64 Command Prompt.lnk

Then I switch to the sourcedir and run

Code:
cscript /E:JScript win32\build\buildconf.js
cscript /E:JScript configure.js --enable-snapshot-build
nmake snap
Back to top
Virsacer



Joined: 16 Jan 2010
Posts: 108
Location: Germany, Darmstadt

PostPosted: Sun 25 Jul '10 14:09    Post subject: Reply with quote

UPDATED:

PHP 5.3.3

PS: Compiled with VC2010
Back to top
Virsacer



Joined: 16 Jan 2010
Posts: 108
Location: Germany, Darmstadt

PostPosted: Mon 02 Aug '10 10:43    Post subject: Reply with quote

UPDATED:

Apache 2.2.16
OpenSSL 1.0.0a
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Mon 02 Aug '10 11:51    Post subject: Reply with quote

How do you build the php5apache2_2.dll? I tried the param in the configure script, but it don't build.

Code:

configure --enable-apache2filter --enable-apache2-2filter --enable-apache2handler --enable-apache2-2handler --enable-snapshot-build


Anything I miss?
Back to top
Virsacer



Joined: 16 Jan 2010
Posts: 108
Location: Germany, Darmstadt

PostPosted: Mon 02 Aug '10 12:40    Post subject: Reply with quote

I think you're missing this:
Code:
Checking for httpd.h ...  <not found>
Checking for httpd.h ...  <not found>
WARNING: Could not find apache2.2 libraries/headers
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Mon 02 Aug '10 13:19    Post subject: Reply with quote

Yepp that is my error. Adding the apache path to the %PATH% didn't help.

i.e.
Code:

SET PATH=%PATH%;%PHP_SDK_BIN_PATH%;%PHP_SDK_SCRIPT_PATH%;C:\Apache22\include;C:\Apache22\lib


Last edited by James Blond on Mon 02 Aug '10 14:17; edited 1 time in total
Back to top
Virsacer



Joined: 16 Jan 2010
Posts: 108
Location: Germany, Darmstadt

PostPosted: Mon 02 Aug '10 14:15    Post subject: Reply with quote

No, PHP expects it to be in a special dir:
Code:
    if (FSO.FolderExists("..\\deps")) {
        PHP_PHP_BUILD = "..\\deps";
    } else {
        if (FSO.FolderExists("..\\php_build")) {
            PHP_PHP_BUILD = "..\\php_build";
        } else {
            if (X64) {
                if (FSO.FolderExists("..\\win64build")) {
                    PHP_PHP_BUILD = "..\\win64build";
                } else if (FSO.FolderExists("..\\php-win64-dev\\php_build")) {
                    PHP_PHP_BUILD = "..\\php-win64-dev\\php_build";
                }
            } else {
                if (FSO.FolderExists("..\\win32build")) {
                    PHP_PHP_BUILD = "..\\win32build";
                } else if (FSO.FolderExists("..\\php-win32-dev\\php_build")) {
                    PHP_PHP_BUILD = "..\\php-win32-dev\\php_build";
                }
            }
        }
    }
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Mon 02 Aug '10 14:30    Post subject: Reply with quote

Thanks for that info. So it worked to copy C:\Apache22\include to C:\php-sdk\php53dev\vc9\x64\deps\include and copy C:\Apache22\lib to C:\php-sdk\php53dev\vc9\x64\deps\lib
Not it builds fine Smile
Back to top
ricardok1



Joined: 15 Dec 2009
Posts: 8
Location: Portugal

PostPosted: Sun 17 Oct '10 9:51    Post subject: Reply with quote

Hi there,

Have you compiled any opcode cacher (eac, apc, xcache) or memcache in x64 VC9 / VC10?

Thanks
Ricardo
Back to top
Virsacer



Joined: 16 Jan 2010
Posts: 108
Location: Germany, Darmstadt

PostPosted: Sun 17 Oct '10 11:51    Post subject: Reply with quote

Hi,
good idea!

I'll try it next week...
Back to top
Virsacer



Joined: 16 Jan 2010
Posts: 108
Location: Germany, Darmstadt

PostPosted: Tue 19 Oct '10 19:42    Post subject: Reply with quote

I tested apc, eaccelerator and memcache but they dont compile.

Perhaps I find a solution when I have more time...
Back to top
Virsacer



Joined: 16 Jan 2010
Posts: 108
Location: Germany, Darmstadt

PostPosted: Fri 10 Dec '10 9:51    Post subject: Reply with quote

UPDATED:

Apache 2.2.17
OpenSSL 1.0.0c
PHP 5.3.4
Back to top
Virsacer



Joined: 16 Jan 2010
Posts: 108
Location: Germany, Darmstadt

PostPosted: Mon 14 Feb '11 22:23    Post subject: Reply with quote

UPDATED:

OpenSSL 1.0.0d
PHP 5.3.5
Back to top
WhyT



Joined: 15 Feb 2011
Posts: 2

PostPosted: Tue 15 Feb '11 22:12    Post subject: Reply with quote

hi, and thx for your work, but i'm missing a lot of php extensions, like php_zip.dll or php_mcrypt.dll

i'm also searching for another PECL extensions fpr 5.3.5 x64

seeya
Michael
Back to top
Virsacer



Joined: 16 Jan 2010
Posts: 108
Location: Germany, Darmstadt

PostPosted: Thu 17 Feb '11 22:40    Post subject: Reply with quote

UPDATED:

Added gmp and mcrypt!


@WhyT: zip is built in (no dll needed)
Back to top


Reply to topic   Topic: httPHPdSSL Win64 (Apache + PHP + OpenSSL) View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads Page 1, 2, 3  Next