Graphicals libraries not loaded.
Posted: Thu May 18, 2006 1:43 pm
Hello,
The graphical libraries had been well installed, with Debian Linux, in the directory /usr/share/doc.
In the file, php.ini, I have decommented the ligne: extension=gd2.so, and added the path for the directory extension:
extension_dir=/usr/share/doc.
However, after the reboot of the pc(and apache), I look to the phpinfo and notice that the "table" gd does not exist!
I tryed to do an essay, by executing the following php file(let's call it gd.php):
Here is the result of the execution of gd.php:
That mean: the graphical libraries that I have installed, are not loaded.
Ma question is: what must I do in order that the gd will be activated?
Thanks in advence for the help.
The graphical libraries had been well installed, with Debian Linux, in the directory /usr/share/doc.
In the file, php.ini, I have decommented the ligne: extension=gd2.so, and added the path for the directory extension:
extension_dir=/usr/share/doc.
However, after the reboot of the pc(and apache), I look to the phpinfo and notice that the "table" gd does not exist!
I tryed to do an essay, by executing the following php file(let's call it gd.php):
Code: Select all
//gd.php
<?php
print "<pre>";
print_r (gd_info());
print "</pre>";
?>Here is the result of the execution of gd.php:
Code: Select all
lynx http://localhost/gd.phpFatal error: Call to undefined function: gd_info() in /var/www/gd.php on line
3
That mean: the graphical libraries that I have installed, are not loaded.
Ma question is: what must I do in order that the gd will be activated?
Thanks in advence for the help.