LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   [Debian - Etch] GDLib with php5 not working? (https://www.linuxquestions.org/questions/debian-26/%5Bdebian-etch%5D-gdlib-with-php5-not-working-645231/)

Zac_tw 05-28-2008 01:36 AM

[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?


All times are GMT -5. The time now is 02:41 AM.