Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Mar 2001 12:52:26 -0000
From:      "Kjell" <la3sg@sensewave.com>
To:        freebsd-questions@freebsd.org
Cc:        la3ag@sensewave.com
Subject:   Rebuilding PHP4 for image support
Message-ID:  <200103191152.MAA20499@mail44.fg.online.no>

next in thread | raw e-mail | index | archive | help
I am trying to rebuild PHP as an Apache module with image support. When I 
issue my make command in the /usr/ports/www/mod_php4 everything proceeds 
normal. All dependencies like Apache and the GD library are compiled 
without errors.

Everything done I take up a HTML page containing a <? phpinfo() ?> 
statement with my browser. The response tells me that PHP has been 
upgraded to Version 4.0.1pl2, but on the 'Configure Command' line I find '-
-without-gd' and PHP functions dependent upon the GD library does not 
work.

When I look in the generated Makefile.inc in the /usr/ports/www/mod_php4 
directory, it contains a CONFIGURE_ARGS += --with-gd.....

At the end of compilation I see a message: Make sure the Mime.types are 
connected to the PHP module properly. I do not see the significance of 
this.

In Linux there is a file php.ini that have to be placed in the Apache 
config folder. I have not found this file in FreeBSD apart from the file 
called php.ini-dist from the distribution CD.

Any hints appreciated!
Regards from Kjell
---------------
If you answer, please send a CC to my email as the postings to the list 
may take up to one week to reach me, if they arrive at all....


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103191152.MAA20499>