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

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
User avatar
waradmin
Forum Contributor
Posts: 240
Joined: Fri Nov 04, 2005 2:57 pm

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

Post 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
User avatar
a94060
Forum Regular
Posts: 543
Joined: Fri Feb 10, 2006 4:53 pm

Post by a94060 »

wat id zend? do you mean the remote debugging server?(thats what it is right?)
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post 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
Last edited by John Cartwright on Tue Feb 28, 2006 6:09 pm, edited 1 time in total.
User avatar
a94060
Forum Regular
Posts: 543
Joined: Fri Feb 10, 2006 4:53 pm

Post by a94060 »

does it matter if we know precisly what he means?
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

a94060 wrote:does it matter if we know precisly what he means?
Nah.
User avatar
a94060
Forum Regular
Posts: 543
Joined: Fri Feb 10, 2006 4:53 pm

Post by a94060 »

thnaks man,learning something new every day
Post Reply