unable to view libjpeg , libpng, libXpm modules in phpinfo.php

prashantp786j

Active Member
Jan 16, 2009
28
0
51
I have a account on server with libjpeg , libpng, libXpm installed with GD library and they are showing in phpinfo page (php version 5.3.24). It has DSO apache handler..

However I have migrated the account to another server and have all modules installed but they are not showing in phpinfo page (php version 5.2.17).

I have recompiled the modules with gd with the following ...

--with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-xpm-dir=/usr/lib --with-zlib-dir=/usr/

and ran /script/easyapache..
but still phpinfo does not showing required modules.. is this php version issue or other ?

Can anyone please help me on this urgent ?
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
Hello :)

I tested this with PHP 5.2.17 and PHP 5.3.26. The following output occurred with "php -i" on both versions after GD was installed through EasyApache:

Code:
'--with-gd' 
'--with-jpeg-dir=/usr' 
'--with-png-dir=/usr' 
'--with-xpm-dir=/usr' 
'--with-zlib' 
'--with-zlib-dir=/usr'
Are you using a different PHP handler? Do you experience any issues with your scripts that utilize GD?

Thank you.
 

prashantp786j

Active Member
Jan 16, 2009
28
0
51
Probably not. We are using only one php handler on the server and i.e. suPHP. But these modules are not showing in the phpinfo page.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
You may want to check to see if you are using a custom php.ini within the account. It's possible it's overriding the system php.ini file for the account.

Thank you.