Code Monkey home page Code Monkey logo

php5.0's People

Contributors

terrafrost avatar

Watchers

 avatar

php5.0's Issues

enable OpenSSL

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.