It seems that I have to modify the php.ini file.
Here was my default php.ini : http://paste.ubuntu.com/911436/
I decommented (removed the ";" at the beginning on the line) the line ";extension=php_gd2.dll".
Then it said :
- Code: Select all
Warning: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/php_gd2.dll' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/php_gd2.dll: cannot open shared object file: No such file or directory in Unknown on line 0
I realized that a ".dll" might be only for Windows system. So I found in /opt/lampp/lib these files : "libgd.so", "libgd.so.2", "libgd.so.2.0.0"...
I copied these files in /opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/, and changed the line "extension=php_gd2.dll" by "extension=libgd.so", or "extension=libgd.so.2" or "extension=libgd.so.2.0.0".
Now i have this :
- Code: Select all
Warning: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/libgd.so' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/libgd.so: wrong ELF class: ELFCLASS64 in Unknown on line 0
What should I do.. ?
Thank you very much for your help.