PHP4 GD module on Debian

    Date: 02/11/05 (IT Professionals)    Keywords: php, mysql, sql, google

    Does anybody have experience setting up PHP4 on Debian (woody) such that the GD module is recognized?

    I've installed PHP4 and three modules: mysql, mcrypt, gd2:

    apt-get install php4
    apt-get install php4-mysql
    apt-get install php4-mcrypt
    apt-get install php4-gd2
    During the install process for php4-gd2, I was prompted to modify php.ini with "extension=gd.so". I answered "Yes". I then verified that the line was added to php.ini.

    However, if I view PHP's info, there's no "GD" section.

    And if I create a test PHP script utilizing a GD function, I get the following:
    Fatal error: Call to undefined function: imagecreatefrompng() in /var/www/cparker15/test.php on line 3
    Anybody know what I might be doing wrong? I've Googled and have come up with nothing. I'm thinking of asking on debian-user, but the last time I posted there, I didn't get any answers.

    crossposted to '[info]'debian

    Source: http://www.livejournal.com/community/itprofessionals/5053.html

« Tape backup software/solutions || Welcome »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home