Page 1 of 1

FreeBSD with Apache, PHP, GD, MySQL, and Zend - Help Please

Posted: Wed Feb 01, 2006 9:50 pm
by waradmin
Ok, so I am in the process of setting up a new server to house my project myOpenSpace(.net) {if it werent for plugs like that i wouldnt have any members}, and want to get the site setup on a dedicated 3.0GHz server. I installed FreeBSD on the server, got Apache, Zend, MySQL, and PHP installed and working (for the most part) but dont have GD working.

I did install the port for GD, but didnt know if any config stuff had to be done to the php or apache config files to get it to work properly, because tho it is installed the server test script (to make sure everything needed for the site is installed) still shows that GD isnt installed (GD complied (Version: 0): No ).

So can someone walk me through installing GD (note i have no X its all done in text using PuTTY) and getting it configured. (I have FreeBSD 6.0)

Thank you in advance
-steve

Posted: Tue Feb 28, 2006 5:48 pm
by a94060
wat id zend? do you mean the remote debugging server?(thats what it is right?)

Posted: Tue Feb 28, 2006 6:02 pm
by John Cartwright
If you look at http://php.net/gd you'll notice a little blurb about installation
Installation

To enable GD-support configure PHP --with-gd[=DIR], where DIR is the GD base install directory. To use the recommended bundled version of the GD library (which was first bundled in PHP 4.3.0), use the configure option --with-gd. GD library requires libpng and libjpeg to compile.

In Windows, you'll include the GD2 DLL php_gd2.dll as an extension in php.ini. The GD1 DLL php_gd.dll was removed in PHP 4.3.2. Also note that the preferred truecolor image functions, such as imagecreatetruecolor(), require GD2.

Note: To enable exif support in Windows, php_mbstring.dll must be loaded prior to php_exif.dll in php.ini.
a94060 wrote:wat id zend? do you mean the remote debugging server?(thats what it is right?)
Could be a couple of different things, check out http://www.zend.com/products/ to see their products

Posted: Tue Feb 28, 2006 6:05 pm
by a94060
does it matter if we know precisly what he means?

Posted: Tue Feb 28, 2006 6:10 pm
by John Cartwright
a94060 wrote:does it matter if we know precisly what he means?
Nah.

Posted: Tue Feb 28, 2006 6:38 pm
by a94060
thnaks man,learning something new every day