Bacula-users

Re: [Bacula-users] My Webacula is not working yet

2011-05-11 08:36:33
Subject: Re: [Bacula-users] My Webacula is not working yet
From: Konstantin Khomoutov <flatworm AT users.sourceforge DOT net>
To: Wagner Pereira <wpereira AT pop-sp.rnp DOT br>
Date: Wed, 11 May 2011 16:34:06 +0400
On Tue, 10 May 2011 18:37:47 -0300
Wagner Pereira <wpereira AT pop-sp.rnp DOT br> wrote:

> I know there is a specific list for Webacula issues. I already posted
> my issue in that, but no one answered me yet.
This question is not even specific to webacula--it's about PHP
extension named "GD".

[...]
> So, following the Tim's Installation Manual I executed
> ./check_system_requirements.php and it showed to me what follows:
> 
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/lib/php5/20090626/gd.so' - /usr/lib/php5/20090626/gd.so: cannot
> open shared object file: No such file or directory in Unknown on line
[...]
> php pdo installed.    OK
> ERROR! PHP extension gd not installed.
[...]
> Warning. PHP extension pdo_mysql not installed.
> Warning. PHP extension pdo_pgsql not installed.
> Warning. PHP extension pdo_sqlite not installed.
[...]

Look carefully at the messages quoted above.
You did not provide any info about your system, but from the PHP
version string it follows that you're using Debian Squeeze.
Hence, the first thing is to check whether you have the php5-gd
package installed.

If yes, try to see if you may be have some
leftover "extension" directive lingering somewhere in PHP config files
(look at config files under /etc/php5/conf.d).
This is because [1] lists "/usr/lib/php5/20090626+lfs/" as the location
of gd.so, not "/usr/lib/php5/20090626/" from your output.
Also on one of my nearby Squeeze systems I have the "extension_dir"
variable set to "/usr/lib/php5/20090626+lfs/" as well.
You can test your installation using this encantation (provided the
php5-cli package is installed):

$ echo '<?php phpinfo(); ?>' | php | grep -i extension_dir

I hope this gives you enough clue to proceed with debugging your setup.

1. http://packages.debian.org/squeeze/i386/php5-gd/filelist

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users