Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 05-28-2008, 01:36 AM   #1
LQ Newbie
Registered: May 2008
Posts: 1

Rep: Reputation: 0
[Debian - Etch] GDLib with php5 not working?

I just set up a new Debian box and have php5 installed with php5-gd from aptitude.

For some reason, my functions don't work, nor do they show any errors.

For example, when I do imagecreatefrompng() on a PHP file, it only shows its URL path.

I seem to have forgotten how to make PHP pages run as images under .php extension.

I had thought it was "AddType application/x-httpd-php .png" (without quotes) to my /etc/apache2/apache.conf file, but apparently it wasn't.

Care to help a newbie out?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Integrating XCache Into PHP5 (Debian Etch & Apache2) LXer Syndicated Linux News 0 04-03-2008 06:10 PM
LXer: Installing Lighttpd With PHP5 And MySQL Support On Debian Etch LXer Syndicated Linux News 0 08-12-2007 10:30 AM
php5 not working with apache2 in debian 4.0 mohtasham1983 Linux - Server 2 08-08-2007 09:19 PM
LXer: How To Harden PHP5 With Suhosin (Debian Etch/Ubuntu) LXer Syndicated Linux News 0 04-03-2007 06:31 PM
Debian Etch and php5 problem paddyjoy Linux - Newbie 4 12-02-2006 05:54 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration