PHP Extension - newbie question
| From: | George McLachlan | Date: | Wed, 15 Mar 2006 02:02:25 +0000 |
| Subject: | PHP Extension - newbie question | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-22441@lists.php.net to get a copy of this message | ||
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