Public bug reported:

Binary package hint: php5-gd

I am running a web server with lighttpd & php5-cgi on Ubuntu 7.04, all
packages have already upgrade to newest.

Now I am facing a problem that, the webserver php5-cgi never load
php5-gd, when I find phpinfo() page, the "additional .ini files parsed"
column is missing gd one, that called my web server php can't run any gd
function.

I have already confirm all php5-gd files existing and install in right
place as I can find. And the permission seem no problem too.

The most confuse part which is, when I run "php-cgi -i | grep -i gd" on
terminal, I can find that gd loaded!

I tried to add "extension=gd.so" into php.ini manually, the terminal
will warning me that gd.so load already, but I still can't find it in
web phpinfo() page.


** I am sure that I have installed php5-gd already, as the below result:
...:/etc/php5/cgi# dpkg -l *php5*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                              Version                           
Description
+++-=================================-=================================-==================================================================================
ii  php5-cgi                          5.2.1-0ubuntu1.2                  
server-side, HTML-embedded scripting language (CGI binary)
ii  php5-cli                          5.2.1-0ubuntu1.2                  
command-line interpreter for the php5 scripting language
ii  php5-common                       5.2.1-0ubuntu1.2                  Common 
files for packages built from the php5 source
un  php5-dev                          <none>                            (no 
description available)
ii  php5-gd                           5.2.1-0ubuntu1.2                  GD 
module for php5
ii  php5-mysql                        5.2.1-0ubuntu1.2                  MySQL 
module for php5
un  php5-mysqli                       <none>                            (no 
description available)

** my lighttpd fastcgi config file
...:/etc/php5/cgi# cat /etc/lighttpd/conf-enabled/10-fastcgi.conf
## FastCGI programs have the same functionality as CGI programs,
## but are considerably faster through lower interpreter startup
## time and socketed communication
##
## Documentation: /usr/share/doc/lighttpd-doc/fastcgi.txt.gz
##                http://www.lighttpd.net/documentation/fastcgi.html

server.modules   += ( "mod_fastcgi" )

## Start an FastCGI server for php4 (needs the php4-cgi package)
fastcgi.server    = ( ".php" =>
        ((
                "bin-path" => "/usr/bin/php-cgi",
                "socket" => "/tmp/php.socket",
                "max-procs" => 4,
                "idle-timeout" => 20,
                "bin-environment" => (
                        "PHP_FCGI_CHILDREN" => "16",
                        "PHP_FCGI_MAX_REQUESTS" => "10000"
                ),
                "bin-copy-environment" => (
                        "PATH", "SHELL", "USER"
                ),
                "broken-scriptfilename" => "enable"
        ))
)

** Affects: php5 (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
php5-gd has not load
https://bugs.launchpad.net/bugs/118452
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to