Board index   FAQ   Search  
Register  Login
Board index PHP PHP Installation

Installing cURL on php5, Apache, Windows xp

Forum for you who has PHP installation issues

Moderators: macek, egami, gesf

Installing cURL on php5, Apache, Windows xp

Postby jeff01 » Wed Apr 19, 2006 11:57 am

I am trying to install cURL. I have searched and tried all of the recommendations that I could find and nothing works. Could someone look at my setup and see what is wrong or could someone tell me how to do it?

SETUP:
From phpinfo():
PHP Version 5.1.2

System Windows NT BBMR-J-TITUS 5.1 build 2600
Build Date Jan 11 2006 16:35:21
Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared"
Server API Apache
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\WINDOWS\php.ini
PHP API 20041225
PHP Extension 20050922
Zend Extension 220051025
Debug Build no
Thread Safety enabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, http, ftp, compress.zlib
Registered Stream Socket Transports tcp, udp
Registered Stream Filters convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, zlib.*

File Location:
C:\WINDOWS\system32\libeay32.dll
C:\WINDOWS\system32\libssl32.dll
C:\WINDOWS\system32\php_curl.dll
C:\WINDOWS\system32\php_openssl.dll
C:\WINDOWS\system32\php_sockets.dll
C:\WINDOWSphp.ini

PHP.INI:
extension_dir = "./"
enable_dl = On

;extension=php_mbstring.dll
;extension=php_bz2.dll
extension=php_curl.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_exif.dll
;extension=php_fdf.dll
;extension=php_filepro.dll
;extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_ifx.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_ldap.dll
;extension=php_mcrypt.dll
;extension=php_mhash.dll
;extension=php_mime_magic.dll
;extension=php_ming.dll
;extension=php_mssql.dll
;extension=php_msql.dll
;extension=php_mysql.dll
extension=php_oci8.dll
;extension=php_openssl.dll
;extension=php_oracle.dll
;extension=php_pgsql.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
;extension=php_sockets.dll
;extension=php_sqlite.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
;extension=php_xmlrpc.dll
;extension=php_xsl.dll
[/u]
jeff01
New php-forum User
New php-forum User
 
Posts: 2
Joined: Wed Apr 19, 2006 11:38 am

Postby Alexej Kubarev » Wed Apr 19, 2006 12:24 pm

whould look ok. Are you getting any errors?
didi you restart apache?
User avatar
Alexej Kubarev
Site Admin
Site Admin
 
Posts: 2223
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län

Postby jeff01 » Thu Apr 20, 2006 4:18 am

restarted apache about a kabillion times. What about the "'./php_curl.dll'" in the error log. Is it looking in the wrong place

Apache error log:
in Unknown on line 0
[Wed Apr 19 14:59:03 2006] [warn] Loaded DSO C:/php5/php5apache.dll uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI)
[Wed Apr 19 14:59:03 2006] [warn] Loaded DSO C:/CFusionMX7/runtime/lib/wsconfig/1/mod_jrun.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI)
[Wed Apr 19 14:59:04 2006] [notice] jrApache[init] JRun 4.0 (Build 92909) Apache module - Feb 18 2005 07:14:22
[Wed Apr 19 14:59:05 2006] [notice] FastCGI: process manager initialized
[Wed Apr 19 14:59:06 2006] [warn] FastCGI: server "c:/oracle/ora90/bin/isqlplus" started (pid 3200)

PHP Warning: PHP Startup: Unable to load dynamic library './php_curl.dll' - The operating system cannot run %1.
jeff01
New php-forum User
New php-forum User
 
Posts: 2
Joined: Wed Apr 19, 2006 11:38 am

Postby Alexej Kubarev » Thu Apr 20, 2006 4:25 am

Sorry missed that one: extension_dir = "./"

you have to geive a full path to the extension directory: extension_dir = "C:\php5\ext\"
User avatar
Alexej Kubarev
Site Admin
Site Admin
 
Posts: 2223
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län


Return to PHP Installation

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.