LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

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

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


Hi,
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?
 
  


Reply


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 07:10 PM
LXer: Installing Lighttpd With PHP5 And MySQL Support On Debian Etch LXer Syndicated Linux News 0 08-12-2007 11:30 AM
php5 not working with apache2 in debian 4.0 mohtasham1983 Linux - Server 2 08-08-2007 10:19 PM
LXer: How To Harden PHP5 With Suhosin (Debian Etch/Ubuntu) LXer Syndicated Linux News 0 04-03-2007 07:31 PM
Debian Etch and php5 problem paddyjoy Linux - Newbie 4 12-02-2006 06:54 PM


All times are GMT -5. The time now is 01:09 PM.

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