Correct. Extensions, such as those found in the PECL repository,
are added in that manner. Things compiled into the core, such as what
you're doing with MySQLi, are automatically loaded regardless, because
they're statically-built into the PHP binary itself.
I was just going to try recompilign with mysql instead of mysqli... I hope
this fixes it.
In terms of mysql being compiled into the core, does this mean I do not have
to add
extension=mysqli.so
extension_dir=/usr/local/php/
include/php/ext/
Thanks in Advance,
On Thu, Oct 13, 2011 at 14:33, Nick Khamis wrote:
> I was just going to try recompilign with mysql instead of mysqli... I hope
> this fixes it.
> In terms of mysql being compiled into the core, does this mean I do not have
> to add
>
> extension=mysqli.so
> extension_dir=/usr/local/php/include/php
On Thu, Oct 13, 2011 at 14:19, Nick Khamis wrote:
> I have been stuck on this, and have no idea what is causing it. I have
> compiled PHP with mysqli support:
Right which will use mysqli_connect(), et al. If you didn't
compile it with straight MySQL support, then the mysql_*() functions
I have been stuck on this, and have no idea what is causing it. I have
compiled PHP with mysqli support:
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs
--with-config-file-path=/usr/local/php --with-mcrypt=/usr/local/bin/mcrypt
--with-mysqli --with-gettext=./ext/gettext
5 matches
Mail list logo