Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22441 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24503 invoked by uid 1010); 15 Mar 2006 02:15:55 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 24488 invoked from network); 15 Mar 2006 02:15:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Mar 2006 02:15:55 -0000 Received: from ([127.0.0.1:21011]) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with ECSTREAM id 51/E5-55982-BD877144 for ; Tue, 14 Mar 2006 21:15:55 -0500 X-Host-Fingerprint: 83.67.88.174 i-83-67-88-174.freedom2surf.net Linux 2.5 (sometimes 2.4) (4) Received: from ([83.67.88.174:34744] helo=kirk) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 25/35-55982-4B577144 for ; Tue, 14 Mar 2006 21:02:29 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) by kirk (Postfix) with ESMTP id 04FB38542E2 for ; Wed, 15 Mar 2006 02:02:25 +0000 (GMT) Message-ID: <441775B1.2060406@cis.strath.ac.uk> Date: Wed, 15 Mar 2006 02:02:25 +0000 User-Agent: Thunderbird 1.5 (X11/20060309) MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: PHP Extension - newbie question From: gmclachl@cis.strath.ac.uk (George McLachlan) Hi, I have been lurking on this list for a while, and this is my first post. Sorry it has to be such a daft question. I don't even know if it's the right list, so my apologies in advance. I need to add mysqli support to a web server and our sys admin refuses to do anything unless it comes from a debian package. Anyway I thought it would be possible to compile PHP in a chroot enviroment with mysqli support and take the extension and use that on our servers. I ran a simple ./configure --with-apxs2=/usr/bin/apxs2 --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-zlib --with-gd However I can't seem to find the extension. I ran php-config --extension-dir but it points to a directory that doesn't exist. The only good thing to come out of this, is that I now have an environment where I can easily test builds. George