Ask a Question related to FreeBSD, Design and Development.
-
Gareth Bailey #1
PHP installation woes
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
Gareth Bailey Guest
-
CFMX7 Installation Woes (404 null)
I'm trying to install ColdFusion MX7 to a brand new Windows 2003 server with IIS for one of my clients. I get one error when I install: ... -
Installation on Win2k3 SP1 Installation of ODBC serviceshangs forever
Hi there, I installed CF 6.1 on a Win2k3 SP1 box, it went fine until It prompted me to login to the administrator to complete the setup, I did... -
FCS 1.5 Installation Woes
Hi there, I?m having a few installation problems I?m hoping someone can help me with. I?m new to FCS and I?m a sysadmin. The developers need the... -
ColdFusion MX 7 - J2EE installation Woes on Linux
I know that this has been one of the more troubling issues for the Windows platform, but I, too, cannot get Coldfusion MX 7 to install sucessfully... -
X Installation Woes
I'm running a Ti4 500MHz with 768 MB RAM. Everytime that I try to install PE2, I go through both panes. Then it says 0 items are left to install,... -
Gary Hayers #2
Re: PHP installation woes
Gareth Bailey wrote:
# cd /usr/ports/lang/php4 && make rmconfig> 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.
# make
# make install
This is the way I did it with no problems encountered.
HTH
Regards,
Gary Hayers
Gary Hayers Guest



Reply With Quote

