PHP & GD library problem
I have installed PHP4, gd library and php4-gd but I don't have a gd supprt in PHP.
When I run php I get this error: PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib64/php/extensions/gd.so' - /usr/lib64/php/extensions/gd.so: undefined symbol: gdImageCreateFromJpegCtx in Unknown on line 0 PHPinfo shows that gd support is not installed. I checked i YaST and it shows that all packages are installed and tried to reinstall them but the problem is same... Please, can you help? I don't know which information about problem to write, I'm new with Linux. p.s. Sorry for bed english |
Yeah well i had the same problem too. I'm not sure about you, but when I installed php 5 i didn't get any extensions. So i just needed to enable gd in ./configure. I did it with ./configure --with-gd, but if you want to see all specific gd flags you should try ./configure --help | grep -i gd.
If you're interested, this is the full command i used to configure my PHP 5: ./configure --enable-sockets --with-gd --enable-pcntl --with-mysql=/usr/local/www/mysql --with-apxs2=/usr/local/httpd/bin/apxs --with-zlib-dir=/usr --with-freetype-dir=/usr Hope this helps you :) |
I tried to install PHP5 but with it I have different problem - Apache do not see that it is installed.
p.s. Finally I solved problem with Apache and PHP5 and it works now. |
All times are GMT -5. The time now is 09:29 AM. |