[PHP] Re: Properly installing curl in windows 2000

2002-08-30 Thread Steinar Kolnes

A.J.

It seems that you have exact same problem as me. Everything seems correctly
set up, the phpinfo shows;



curl
  CURL support enabled
  CURL Information libcurl 7.9 (OpenSSL 0.9.6b)


For the third day, I am trying to find out, but still I have not got any
useful information from the PHP forum members.

Rgs
Steinar Kolnes

-Opprinnelig melding-
Fra: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]På vegne av
[EMAIL PROTECTED]
Sendt: August 30, 2002 5:56 AM
Til: [EMAIL PROTECTED]
Emne: Properly installing curl in windows 2000


 I'm stuck completely. This is what I've done thus far...

I went into the php.ini and set the extensions_dir to point to the correct
path, and I enabled the extenions php_curl.dll.  When I hit phpinfo to get
info, it tells me that curl is enabled and it gives me the version. But I've
been reading and many people say the following...

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

How do I actually do this? I have no idea as to what I need to do for the
above, I do have curl extracted in a directory and the include folder does
contain curl in it contains the curl.h and easy.h. and the lib directory
contains the libcurl.a file as well, Now how do I compile
PHP --with-curl[=DIR]? I need the step by step instructions, I'm very new at
this and have really no experience in programming at all so take it easy on
me.

A.J.



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




[PHP] SV: SV: SV: [PHP-DEV] How to specify extension_dir in PHP.ini for Windows

2002-08-28 Thread Steinar Kolnes

Markus,

After reinstalling almost everything I am happy to report that PHP starts
without any complaints about missing dll's or other error messages.
So it seems that must have been some conflict with older versions.

However I am still not able run any cURL functions like $ch = curl_init
(http://www.example.com/;);
Is there anything more I have to do like copying some other dll's or any
form of black magic.
It seem so close, but still .. It does not work.

I always get this error: Parse error: parse error, unexpected T_VARIABLE,
expecting ',' or ';' in d:\apache\htdocs\phonec\sms\send_sms.php on line 45

Best regards
Steinar Kolnes

-Opprinnelig melding-
Fra: Markus Fischer [mailto:[EMAIL PROTECTED]]
Sendt: August 28, 2002 1:25 PM
Til: Steinar Kolnes
Kopi: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Emne: Re: SV: SV: [PHP-DEV] How to specify extension_dir in PHP.ini for
Windows


On Wed, Aug 28, 2002 at 02:09:57PM +0200, Steinar Kolnes wrote :

 When changing the directory to the latter it seems that it finds something
 because it comes up with an new error message:
 The procedure entry point _Zend_list_delete could not be located in the
 dynamic link library php4ts.dll

That sympton occurs if you the PHP version you're using
differes from the one the library was linked against. Make
sure you don't mix up those and always only use php and libs
from the very same distribution.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] How to use cURL in PHP under Win NT ?

2002-08-28 Thread Steinar Kolnes

I have tried to use cURL with PHP but without sucess so far.

In the php.ini I have made the following changes:

extension_dir = d:/php/extensions/

and

extension=php_curl.dll

Also, I have copied; SSLEY32.dll and libey32.dll to WINNT\SYSTEM32

Someone who have expirence with this ?

Thanks in advance.

Rgs
Steinar Kolnes

However I am still not able run any cURL functions like $ch = curl_init
(http://www.example.com/;);
Is there anything more I have to do like copying some other dll's or any
form of black magic.
It seem so close, but still .. It does not work.

I always get this error: Parse error: parse error, unexpected T_VARIABLE,
expecting ',' or ';' in d:\apache\htdocs\phonec\sms\send_sms.php on line 45

Best regards
Steinar Kolnes

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] How to use cURL in PHP under Win NT ?

2002-08-28 Thread Steinar Kolnes


I have tried to use cURL with PHP but without sucess so far.

In the php.ini I have made the following changes:

extension_dir = d:/php/extensions/

and

extension=php_curl.dll

Also, I have copied; SSLEY32.dll and libey32.dll to WINNT\SYSTEM32

Someone who have expirence with this ?

Thanks in advance.

Rgs
Steinar Kolnes

However I am still not able run any cURL functions like $ch = curl_init
(http://www.example.com/;);
Is there anything more I have to do like copying some other dll's or any
form of black magic.
It seem so close, but still .. It does not work.

I always get this error: Parse error: parse error, unexpected T_VARIABLE,
expecting ',' or ';' in d:\apache\htdocs\phonec\sms\send_sms.php on line 45

Best regards
Steinar Kolnes

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php