From owner-freebsd-questions@FreeBSD.ORG Wed Aug 18 16:29:10 2004 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 A3F6516A4CE for ; Wed, 18 Aug 2004 16:29:10 +0000 (GMT) Received: from smtp813.mail.sc5.yahoo.com (smtp813.mail.sc5.yahoo.com [66.163.170.83]) by mx1.FreeBSD.org (Postfix) with SMTP id 8D8A943D39 for ; Wed, 18 Aug 2004 16:29:10 +0000 (GMT) (envelope-from addymin@pacbell.net) Received: from unknown (HELO ?192.168.1.12?) (m?chinn@pacbell.net@67.120.100.85 with plain) by smtp813.mail.sc5.yahoo.com with SMTP; 18 Aug 2004 16:29:08 -0000 Message-ID: <412384D6.3080806@pacbell.net> Date: Wed, 18 Aug 2004 09:33:26 -0700 From: Mike User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Odhiambo Washington , drue@therub.org, freebsd-questions References: <412379F2.80401@pacbell.net> <20040818160301.GB52106@ns2.wananchi.com> In-Reply-To: <20040818160301.GB52106@ns2.wananchi.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: How to get php4 extensions to "show up"? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: addymin@pacbell.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 16:29:10 -0000 Odhiambo Washington wrote: > * Mike [20040818 18:47]: wrote: > >>Greetings, >> >>I'm running 4.10. And I just and ran portupgrade and got php-4.3.8. I >>read the UPDATING file and noticed that the php4 extensions are now >>installed separately [/usr/ports/lang/php4-extensions]. >> >>Note: I'm running Apache-1.3.31 >> >>So I installed (make install && make clean) the php4 extensions using >>the curses based screen. Aside from MySQL support (a default) I choose >>bz2, gettext, IMAP, calendar, ftp, zlib, xml, and imagick support. >> >>The install and registration seemed to work without any errors. And all >>possible php extensions are listed in /usr/local/etc/php/extensions.ini >> >>However, >> >>When I check php (phpinfo.php) with >>"http://192.168.1.40/~test1/phpinfo.php", I get this from the "Configure >>Command" portion of the resulting php output: >> >>[Configure Command] >>'./configure' '--enable-versioning' '--enable-memory-limit' >>'--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' >>'--disable-all' '--with-regex=php' '--disable-cli' >>'--with-apxs=/usr/local/sbin/apxs' '--prefix=/usr/local' >>'i386-portbld-freebsd4.10' >> >>Question: Where are the extensions I selected for installation??? >> >>I'm trying to install a CMS (MamboServer) and the CMS install routine >>reports that php DOES NOT have MySQL, zlib, or xml support. >> >>I've had previous success installing this CMS using an older version of >>php4 that did not have the extensions installation seperate. >> >>What am I missing? > > > In my /usr/local/etc/php.ini, I added > > include_path = ".:/usr/local/lib/php:/usr/local/lib/php/20020429" > > Try that and test again! > Hmm.. I tried adding the "include_path ..." AND I tried modifying the "extension_dir" (Dan's idea). But no go. The extension are still not showing up. Any further ideas? Michael > > > > -Wash > > http://www.netmeister.org/news/learn2quote.html > > -- > +======================================================================+ > |\ _,,,---,,_ | Odhiambo Washington > Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com > |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 > '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 > +======================================================================+ > What if everything is an illusion and nothing exists? In that case, I > definitely overpaid for my carpet. > -- Woody Allen, "Without Feathers" >