enabling gd
I made a photo album script from scratch for an edu website that I run. The only thing I had left to do is make some code that creates thumbs on the fly during upload.
So it ends up gd isn't enabled on the server which I run the website on. I e-mail the admin and ask him to enable it. He responds saying that it came with the PHP distro he downloaded and that it should be enabled.
To make a long story short, I figured out it really isn't. He obviously doesn't know how to enable it so I tried to google it (php.net/gd wasn't too clear about the subject) to get instructions on how to enable it, but I didn't get very far.
Could someone possibly tell me how to correctly enable gd? From what I've been reading, I think he has to add '
Also, he said that the gdlib was bundled with the PHP distro, but just to make sure does anyone know where it is located if it is installed (so I can have him double check)?
The server is running FreeBSD 4.7-RELEASE-p27, Apache 2.0.44, and PHP 4.3.3RC1.
So it ends up gd isn't enabled on the server which I run the website on. I e-mail the admin and ask him to enable it. He responds saying that it came with the PHP distro he downloaded and that it should be enabled.
To make a long story short, I figured out it really isn't. He obviously doesn't know how to enable it so I tried to google it (php.net/gd wasn't too clear about the subject) to get instructions on how to enable it, but I didn't get very far.
Could someone possibly tell me how to correctly enable gd? From what I've been reading, I think he has to add '
extension=gd2.so' to php.ini and just restart the webserver but I don't want to give him instructions doing that if I'm not even sure thats what he needs to do (since I'm pretty sure he wouldn't know if what I am telling him is wrong or not).Also, he said that the gdlib was bundled with the PHP distro, but just to make sure does anyone know where it is located if it is installed (so I can have him double check)?
The server is running FreeBSD 4.7-RELEASE-p27, Apache 2.0.44, and PHP 4.3.3RC1.
