Page 1 of 1

startup errors

PostPosted: 18. October 2009 17:48
by ckosloff
I uncommented extension curl and gd in php.ini and now I get the following startup and stop errors:

Starting XAMPP for Linux 1.7.1...
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20060613/php_curl.dll' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20060613/php_curl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20060613/php_gd.dll' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20060613/php_gd.dll: cannot open shared object file: No such file or directory in Unknown on line 0

I know that if I put the semi-colon back I won't get them, however I do need those extensions to be active.
I don't get those errors in XAMPP for Windows, so why on Linux?
Thanks.

Re: startup errors

PostPosted: 18. October 2009 17:56
by Wiedmann
so why on Linux?

Because there is no file php_curl.dll or php_gd.dll in the XAMPP/Linux package (see the error message).

BTW:
GD is already enabled in PHP (XAMPP/Linux) It's statically build in, and so you can't load is shared. Don't know if curl is also already enabled. Just look in phpinfo.

Re: startup errors

PostPosted: 19. October 2009 04:11
by ckosloff
Wiedmann wrote:GD is already enabled in PHP (XAMPP/Linux) It's statically build in, and so you can't load is shared. Don't know if curl is also already enabled. Just look in phpinfo.

Wie gehets Wiedmann?
Vielen dank.
To answer your question, I am using XAMPP 1.7.1 on purpose, because many of the programs that I want to test do not support PHP 5.3
In short, the answer is yes, curl is built-in too.
So I have what I need, and am happy.
Auf wie der sehen.