[RESOLVED] PHP Compilation - Help Needed
hi guyz,
has anybody ever compiled PHP with a 3rd party code/app?
if yes pls tell me how.
i wanted to use CURL and i was told that i'll need to compile PHP with it.
i already have downloaded CURL but where do i get PHP to compile and how do i compile it.
Re: PHP Compilation - Help Needed
Re: PHP Compilation - Help Needed
I find the official website is, believe it or not, generally a good place to look.
http://www.php.net/downloads.php
Re: PHP Compilation - Help Needed
Quote:
Originally Posted by visualAd
Which operating system?
Windows XP Pro
Re: PHP Compilation - Help Needed
Quote:
Originally Posted by penagate
I find the official website is, believe it or not, generally a good place to look.
ok, i'm trying to see what i can get
Re: PHP Compilation - Help Needed
You need visual studio 6+ to compile PHP on windows and it is not easy. Besides, if you look at the documentation page for CURL, you'll find that you don't need to compile PHP, you just need a couple of DLL files.
If you download the ZIP version of PHP it will include the curl extension dll and you can get the other DLL's from the libcurl website.
Re: PHP Compilation - Help Needed
oh yeah i've read that before but this is what i don't understand
Quote:
To use PHP's CURL support you must also compile PHP --with-curl[=DIR] where DIR is the location of the directory containing the lib and include directories. In the "include" directory there should be a folder named "curl" which should contain the easy.h and curl.h files. There should be a file named libcurl.a located in the "lib" directory. Beginning with PHP 4.3.0 you can configure PHP to use CURL for URL streams --with-curlwrappers.
pls help
Re: PHP Compilation - Help Needed
What about the bit underneath?
Quote:
Note to Win32 Users: In order to enable this module on a Windows environment, libeay32.dll and ssleay32.dll must be present in your PATH.
You don't need libcurl.dll from the CURL site.
Re: PHP Compilation - Help Needed
must be present in your PATH
what path?
is php's installation or extension's directory?
Re: PHP Compilation - Help Needed
PATH is an environment variable in Windows. You can change this from Control Panel -> System -> Advanced -> Environment Variables.