configuring curl with php
| From: | Bob | Date: | Wed, 05 Sep 2001 19:53:39 +0000 |
| Subject: | configuring curl with php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-66093@lists.php.net to get a copy of this message | ||
hi everyone
i am following this page to add curl to php
http://curl.haxx.se/libcurl/php/install.html
i installed curl and knows it works (curl --version) but trying to
configure php with curl but don't know what this means for "Build PHP
-- Step 1" mean? i did a phpinfo() and got the configure but what do i
do with the -lssl and -lcrypto. where does that go?
./configure --prefix=/usr --with-config-file-path=/etc --disable-debug
--enable-pic --enable-shared --enable-inline-optimization
--with-apxs=/usr/sbin/apxs --with-exec-dir=/usr/bin --with-regex=system
--with-zlib --with-gdbm --with-gd --with-jpeg-dir=/usr --with-png
--with-ttf
--with-layout=GNU --with-openssl=/usr --enable-debugger
--enable-safe-mode
--enable-sockets --enable-sysvsem=shared --enable-sysvshm=shared
--enable-track-vars --enable-magic-quotes --enable-mem-limit --enable-yp
--enable-ftp --enable-wddx --without-mysql --with-imap=shared
--without-unixODBC
--without-oracle --without-oci8 --with-xml
Build PHP (In php-4.0.xpl1 directory)
==========================
[1] To make -lssl comes before -lcrypto (as advised), search for
"-lcrypto" in
./configure and put "-lssl" before it.
[2] ./configure --with-mysql --with-openssl=/usr/local/ssl
--with-curl=/usr/loca
l/lib --with-apache=../apache_1.3.x
(In most cases of linking problem, it should complain here in debug.log)
[3] make
[4] make install (If --with-apache option is omitted, it should generate
php
executable in /usr/loca/bin)
[5] Library for modphp4 is now in apache_1.3.x/src/modules/php4
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com