terrafrost / php5.0 Goto Github PK
View Code? Open in Web Editor NEWPHP 5.0 Docker container
License: MIT License
PHP 5.0 Docker container
License: MIT License
In contrast to terrafrost/php4.4 I was never able to even get PHP to compile with OpenSSL support.
I tried it with OpenSSL 0.9.8x and at first was getting this error:
ext/openssl/openssl.o: In function `zif_openssl_sign':
/usr/local/src/php-build/php-5.0.5/ext/openssl/openssl.c:2890: undefined reference to `EVP_md2'
collect2: error: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1
So I created a patchfile to fix it:
http://pastebin.com/raw/U9CgJdZA
But then I started getting this error:
/tmp/php-5.0.5/ext/openssl/openssl.c:3198:11: error: expected ';' before '__s1_len'
/tmp/php-5.0.5/ext/openssl/openssl.c:3198:11: error: '__s1_len' undeclared (first use in this function)
/tmp/php-5.0.5/ext/openssl/openssl.c:3198:11: error: '__s2_len' undeclared (first use in this function)
/tmp/php-5.0.5/ext/openssl/openssl.c:3198:11: error: expected expression before 'const'
/tmp/php-5.0.5/ext/openssl/openssl.c:3198:11: error: expected expression before 'const'
/tmp/php-5.0.5/ext/openssl/openssl.c:3198:11: error: expected expression before 'const'
/tmp/php-5.0.5/ext/openssl/openssl.c:3198:11: error: expected expression before 'const'
/tmp/php-5.0.5/ext/openssl/openssl.c:3198:11: error: expected expression before 'const'
/tmp/php-5.0.5/ext/openssl/openssl.c:3198:11: error: expected expression before 'const'
/tmp/php-5.0.5/ext/openssl/openssl.c:3198:11: error: expected expression before 'const'
/tmp/php-5.0.5/ext/openssl/openssl.c:3198:11: error: expected expression before 'const'
/tmp/php-5.0.5/ext/openssl/openssl.c:3198:11: error: expected expression before 'const'
/tmp/php-5.0.5/ext/openssl/openssl.c:3198:11: error: expected expression before 'const'
/tmp/php-5.0.5/ext/openssl/openssl.c:3198:11: error: expected expression before 'const'
/tmp/php-5.0.5/ext/openssl/openssl.c:3198:11: error: expected expression before 'const'
Here's line 3198:
match = strcmp(cnmatch, buf) == 0;
That line looks fine to me. I'm also not seeing __s1_len
anywhere in the file. Not on line 3198 or on any other line for that matter.
https://museum.php.net/php5/php-5.0.5-Win32.zip uses OpenSSL 0.9.8.0.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.