Re: [PHP] Re: How to enable cURL php extension on Debian Wheezy?

2013-06-02 Thread Tamara Temple
Csanyi Pal csanyi...@gmail.com wrote:
 Tamara Temple tamouse.li...@gmail.com writes:
  Csanyi Pal csanyi...@gmail.com wrote:
  It is interesting.. that when I switch to English language for
  Moodle installation ( on the web interface ), then I get not this
  error, but if I switch back to Hungarian language for installation, I
  get it again. 
 
  I am completely unfamiliar with Moodle, have no idea what it is or how
  it works with I18n stuff. But, if it works in one language and not the
  other, the problem probably isn't with curl, or necessarily with the
  php configuration, either.
 
 It doesn't work in Englis language either, just at this step of Moodle
 installation on the web interface, it doesn't complain for the missing
 cURL extension. But, when I proceed with the installation in English
 language, I come to the step where it shows up again the missing cURL
 extension. 

Ah, I'm sorry, my misundertanding.

  When you switch to Hungarian, what are the actual errors you are
  seeing? 
  Stick the log in a gist or pastebin so it doesn't get mangled by
  email. 
 
 I get no error message at this step of Moodle installation, when I use
 Hungarian language.
 
  The info.php file with the content of:
  ?
   phpinfo();
  ?
  
  should show the enabled cURL extension?
 
  I missed this one, somehow.
 
  Yes, exactly, the cURL module should show up on phpinfo() output.
 
 Well, the phpinfo() output doesn't show up the cURL module yet.
 
 I have the following directories and files in the 
 
 /etc/php5/ directory:
 
  /apache2 directory with the content:
php.ini file
/conf.d subdirectory with the content:
  gd.ini
  ..
  xcache.ini
 
  But here I don't have
  curl.ini
  xmlrpc.ini
 
  and I think that that it should be here curl.ini, xmlrpc.ini
 
  Why is not here curl.ini?

My ../apache2/conf.d directory is a symlink to the ../conf.d
directory. This might indeed be the problem.

Not to make *your* ../apache2/conf.d a symlink, but to put symlinks
inside it to the .ini files you need in ../conf.d. Give that go, and
see? I'm sorry I'm not much better help -- this all came out of the box
the way I needed it and I didn't think about it much.

 
  /conf.d directory with the content:
@10-pdo.ini
@20-curl.ini
..
@20-xmlrpc.ini
ldap.ini
 
  /mods-available subdirectory with the files:
curl.ini
..
xmlrpc.ini
 
  /cgi directory
  /cli directory
 
 
 -- 
 Regards from Pal
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 

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



Re: [PHP] Re: How to enable cURL php extension on Debian Wheezy?

2013-06-02 Thread Tamara Temple
Csanyi Pal csanyi...@gmail.com wrote:
 Tamara Temple tamouse.li...@gmail.com writes:
  My ../apache2/conf.d directory is a symlink to the ../conf.d
  directory. This might indeed be the problem.
 
 Yes.
 My system was Debian Squeeze and I just upgraded it to Debian
 Wheezy. Some configuration files and directories remains from Squeeze
 and probably cause this problem.

Okay, I've not made that particular upgrade; perhaps there something
that doesn't quite go along smoothly there.

  Not to make *your* ../apache2/conf.d a symlink, but to put symlinks
  inside it to the .ini files you need in ../conf.d. Give that go, and
  see? I'm sorry I'm not much better help -- this all came out of the box
  the way I needed it and I didn't think about it much.
 
 Yes, that help me out. Now the phpinfo() funktion gives the cURL module
 enabled. 

Excellent! 



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



Re: [PHP] Re: How to enable cURL php extension on Debian Wheezy?

2013-06-01 Thread Tamara Temple
Csanyi Pal csanyi...@gmail.com wrote:
 It is interesting.. that when I switch to English language for
 Moodle installation ( on the web interface ), then I get not this error,
 but if I switch back to Hungarian language for installation, I get it
 again. 

I am completely unfamiliar with Moodle, have no idea what it is or how
it works with I18n stuff. But, if it works in one language and not the
other, the problem probably isn't with curl, or necessarily with the php
configuration, either.

When you switch to Hungarian, what are the actual errors you are seeing?
Stick the log in a gist or pastebin so it doesn't get mangled by email.

 The info.php file with the content of:
 ?
  phpinfo();
 ?
 
 should show the enabled cURL extension?

I missed this one, somehow.

Yes, exactly, the cURL module should show up on phpinfo() output.


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