From owner-freebsd-questions@FreeBSD.ORG Tue Jan 4 09:59:11 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BAD4C16A4CE for ; Tue, 4 Jan 2005 09:59:11 +0000 (GMT) Received: from yggdrasil.interstroom.nl (yggdrasil.interstroom.nl [80.85.129.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B19C43D54 for ; Tue, 4 Jan 2005 09:59:11 +0000 (GMT) (envelope-from o.greve@axis.nl) Received: from ip127-180.introweb.nl ([80.65.127.180] helo=[192.168.1.30]) by yggdrasil with asmtp (Exim 3.35 #1 (Debian)) id 1CllT3-00047z-00; Tue, 04 Jan 2005 10:59:09 +0100 Message-ID: <41DA68FC.7090803@axis.nl> Date: Tue, 04 Jan 2005 10:59:24 +0100 From: Olaf Greve User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Olaf Greve References: <00f001c4db96$efd138a0$1e01a8c0@sjees> <41B473B2.4000906@raad.tartu.ee> <41DA6432.4050101@axis.nl> In-Reply-To: <41DA6432.4050101@axis.nl> Content-Type: text/plain; charset=ISO-8859-9; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner-Information: Interstroom virusscan, please e-mail helpdesk@interstroom.nl for more information X-MailScanner-SpamCheck: cc: Toomas Aas cc: questions@freebsd.org Subject: Re: Properly installing PHP4 extensions under Apache 1.3.x X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jan 2005 09:59:11 -0000 Hi again, Alright, I just found the missing step: I used to have an existing php.ini file in which the extension_dir directive was not disabled. Commenting that directive does the trick. :) So the correct procedure should then be: 1) Update the ports tree using CVSup 2) Build the /usr/ports/lang/php4 port (= 4.3.10 -> make install) 3) Build the /usr/ports/lang/php4-extensions port 4) Build several extensions I need (GD, MySQL, session), again, I did do a make install 5) Comment out the extension_dir directive in php.ini 6) Restart Apache Cheers! Olafo