|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-05-14 10:19 UTC] nastasache_iulian at yahoo dot com
Description: ------------ PHP curl module doesn't work after upgrading to mysql 5.1.9. All other php modules working fine. System: Linux Redhat 9 Tested with: PHP 5.0.4, PHP 5.1.4 and PHP 5.2 -. Same error. I think it is mysql related, but both curl and mysql working as apllication and I have both installed correctly. On other systems what I have (Gentoo, RHE), php 5.1.4 and mysql 5.1.9 combination is working corectly. Reproduce code: --------------- I think is enough to try: ./configure --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-curl Here is my full configure: ./configure --prefix=/usr/local/apache/php --with-config-file-path=/usr/local/apache/conf --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-pgsql --with-mcrypt --with-mhash --with-bz2 --with-cybercash --with-curl --with-db4 --with-dba --with-dom --with-freetype-dir=/usr --with-ftp --with-gd --with-gdbm --with-gettext --with-iconv --with-jpeg-dir=/usr --with-mod_charset --with-openssl --with-png --with-png-dir=/usr --with-pspell --with-regex=system --with-ttf --with-zlib --with-xml --with-xslt-sablot=/usr/local/sablot --enable-bcmath --enable-bcmath=yes --enable-debug=no --enable-ftp --enable-gd-native-ttf --enable-inline-optimization --enable-magic-quotes --enable-mbstring --enable-memory-limit=yes --enable-pic --enable-safe-mode --enable-sockets --enable-sysvsem --enable-sysvshm --enable-trans-sid --enable-track-vars --enable-yp --enable-wddx --enable-xslt gmake gmake install Expected result: ---------------- correct installation of curl module. Actual result: -------------- Error at end of gmake install: [activating module `php5' in /usr/local/apache/conf/httpd.conf] Installing PHP CLI binary: /usr/local/apache/php/bin/ Installing PHP CLI man page: /usr/local/apache/php/man/man1/ Installing PEAR environment: /usr/local/apache/php/lib/php/ PHP Fatal error: Unable to start curl module in Unknown on line 0 gmake[1]: *** [install-pear-installer] Error 254 gmake: *** [install-pear] Error 2 Error in apache log: PHP Fatal error: Unable to start curl module in Unknown on line 0 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 11:00:02 2025 UTC |
Small, almost sure wrong, but usable workaround for me if comment /ext/curl/interface.c at line 519 and recompile php: if (curl_global_init(CURL_GLOBAL_SSL) != CURLE_OK) { /* return FAILURE; */ } With that, make install error is going on and curl module i see working fine for my needs but maybe I am wrong with fixing problem in this way.