enabling php_gd2.so
Moderator: General Moderators
-
croniccoder
- Forum Commoner
- Posts: 27
- Joined: Fri Jul 07, 2006 10:45 am
enabling php_gd2.so
I am trying to enable image support for my php installation (it's version 4.4). Does php_gd2.so or php_gd2.dll install by default with 4.4? Or does php need to be compiled to reveal this file. I can't seem to find this file on my server.
I uncommented the extension in php.ini, but I still can't get it to work. I believe that it's not seeing this file (if it is ever there).
Any suggestions?
I uncommented the extension in php.ini, but I still can't get it to work. I believe that it's not seeing this file (if it is ever there).
Any suggestions?
-
croniccoder
- Forum Commoner
- Posts: 27
- Joined: Fri Jul 07, 2006 10:45 am
-
croniccoder
- Forum Commoner
- Posts: 27
- Joined: Fri Jul 07, 2006 10:45 am
-
croniccoder
- Forum Commoner
- Posts: 27
- Joined: Fri Jul 07, 2006 10:45 am
But it might be the extension module was compiled but put into a separate package.
Perhaps <?php phpinfo(); ?> can help.
a) it shows which php.ini file is used
b) and it shows the compile flags used to build the php binary. Do you find something like --with-gd=shared there?
It's probably not too hard to find ready-made packages for solaris (though the link on php.net is a bit outdated).
And neither is compiling php from the sources (see http://www.php.net/manual/en/install.unix.php).
But mixing two instances of php might complicate matters. So you really should figure out your current system a bit more.
Perhaps <?php phpinfo(); ?> can help.
a) it shows which php.ini file is used
b) and it shows the compile flags used to build the php binary. Do you find something like --with-gd=shared there?
It's probably not too hard to find ready-made packages for solaris (though the link on php.net is a bit outdated).
And neither is compiling php from the sources (see http://www.php.net/manual/en/install.unix.php).
But mixing two instances of php might complicate matters. So you really should figure out your current system a bit more.