PHP Configuration

aaa comms arb at aaa-comms.com
Fri Aug 18 23:54:24 BST 2006


Why are you doing it that way ?

Use the ports tree under /usr/ports and all of the deps and build
requirements will be handled auto-majically

i.e install portupgrade then work from there.

Regards Richard

-----Original Message-----
From: freebsd-users-admin at uk.freebsd.org
[mailto:freebsd-users-admin at uk.freebsd.org] On Behalf Of Charles =
Brewster
Sent: 18 August 2006 17:48
To: freebsd-users at uk.freebsd.org
Subject: PHP Configuration

Hello

I'm trying to get PHP running on FreeBSD 5.3 with the GD graphics =
functions
and FreeType (TTF font support) on Apache 1.31

PHP compiles and works OK, also most of GD appears to be working fine, =
but
functions relating to TTF fonts aren't available.

The configure_php file I'm using to compile is as follows:
--

#!/bin/sh
./configure
--with-mysql=3D/usr/local/mysql-standard-4.0.24-unknown-freebsd4.7-i386
--with-apxs=3D/usr/local/apache/bin/apxs --with-gd
--with-zlib-dir=3D/usr/src/php/php-5.0.4/ext/zlib --enable-gd-native-ttf
--with-freetype-dir=3D/usr/local/include/freetype2/freetype

--

I'm probably missing a required option somewhere in there.=20

I'd be much obliged if anyone who has a working FreeBSD/PHP/GD/FreeType
configuration could point me towards a configure_php option string which
does the job.

Many thanks for any help.

Charles Brewster








512k Broadband =A314.99 per month
Unlimited Downloads - No extra Costs
=A314.99 per month (inc. VAT)
Order Now www.adsl4less.com

------ FreeBSD UK Users' Group  -  Mailing List ------
http://listserver.uk.freebsd.org/mailman/listinfo/freebsd-users





More information about the Ukfreebsd mailing list