From owner-freebsd-questions Mon Mar 19 3:52:53 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail44.fg.online.no (mail44-s.fg.online.no [148.122.161.44]) by hub.freebsd.org (Postfix) with ESMTP id D6B4C37B718 for ; Mon, 19 Mar 2001 03:52:44 -0800 (PST) (envelope-from la3sg@sensewave.com) Received: from tpad (user00484.du.no.uu.net [212.125.161.230]) by mail44.fg.online.no (8.9.3/8.9.3) with SMTP id MAA20499; Mon, 19 Mar 2001 12:52:42 +0100 (MET) Message-Id: <200103191152.MAA20499@mail44.fg.online.no> From: "Kjell" To: freebsd-questions@freebsd.org Date: Mon, 19 Mar 2001 12:52:26 -0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Rebuilding PHP4 for image support Reply-To: la3sg@sensewave.com Cc: la3ag@sensewave.com X-mailer: Pegasus Mail for Win32 (v3.01b) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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