[MacPorts] #25858: php5-curl works in command line but not in apache2

MacPorts noreply at macports.org
Thu Jul 29 05:43:32 PDT 2010


#25858: php5-curl works in command line but not in apache2
----------------------------------+-----------------------------------------
 Reporter:  dfingonnet@…          |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  1.9.1                                
 Keywords:                        |        Port:  php5-curl                            
----------------------------------+-----------------------------------------
 Hello,

 I've just installed php5-curl:

 {{{
 sudo port install php5-curl
 }}}

 But I get with apache2 :

 {{{
 Call to undefined function curl_version()
 }}}

 The same script works like a charm in command line.


 {{{
 /opt/local/bin/php -r 'var_dump(curl_version());'
 }}}

 Any idea ?

-- 
Ticket URL: <http://trac.macports.org/ticket/25858>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list