Date: Tue, 22 Feb 2005 10:27:10 +0200 From: Gareth Bailey <gjbailey@gmail.com> To: freebsd-questions <freebsd-questions@freebsd.org> Subject: PHP installation woes Message-ID: <48a5f32a050222002754c8da87@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi there, Could someone please give the low down on installing and configuring php on freebsd? I am running the 4.10 release as our development server with apache 1.3, php 4 and mysql 4. Up until now, the only way i have got php to work is to extract the php tarball, configure (with the switches below), make and make install from source. ./configure '--with-apxs=/usr/local/sbin/apxs' '--enable-versioning' '--with-gd' '--with-mysql' '--with-jpeg-dir=/usr/local/bin' '--with-zlib' '--with-mysql=/usr/local' '--prefix=/usr/local' '--with-mime-magic=/usr/share/misc/magic.mime' '--enable-sockets' '--enable-memory-limit' '--disable-all' The problem with this method is that it doesn't seem to install module libaries, and i'm just not convinced that i am going about it correctly. I also at some stage tried installing from ports (/usr/ports/lang/php4) with: # make 'insert switches from above here' build # make 'insert switches from above here' install None of the switches were acknowledged, as phpinfo() showed no support for the switches i required. I would really appreciate it if someone could recommend a way to install php with control over modules that are supported. Thanking you in adv, Gareth
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48a5f32a050222002754c8da87>