views:

300

answers:

1

Hello,

I have OpenSuse Server 10.3 with nginx for web server.

I need to enable php5-curl. Installed it successfully. Then restarted web server, but nothing changed.

Any ideas?

Thank you

A: 

You probably didn't actually load the extension yet. Look at your phpinfo() to find out where PHP is looking for .ini files. If you have a section labelled something like "Scan this dir for additional .ini files", then make a new file in that directory ('curl.ini') with the single line:

extension=curl.so

If you don't have a 'Scan' dir, look for 'Loaded Configuration File' and append the same line to the end of that file.

TML