micron

Member
Dec 1, 2002
22
0
151
Under PHP Module, there's an option for "Use System Mysql". Can someone enlighten me as to what this is?

Thanks. :)
 

PbG

Well-Known Member
Mar 11, 2003
249
0
166
The following comes from the compiler:

+--------------------------------------------------------------------+
| *** WARNING *** |
| |
| You chose to compile PHP with the built-in MySQL support. If you |
| are compiling a server module, and intend to use other server |
| modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0, |
| mod_perl) you must NOT rely on PHP's built-in MySQL support, and |
| instead build it with your local MySQL support files, by adding |
| --with-mysql=/path/to/mysql to your configure line. |
+--------------------------------------------------------------------+
 

Gavster

Active Member
Apr 3, 2002
27
0
301
Hi Micron -

Under PHP Module, there's an option for "Use System Mysql". Can someone enlighten me as to what this is?
The essential difference is that "Use system MySQL" compiles using the mysql system libs that are installed with MySQL, and "Mysql Module" uses the mysql libs in the mysql extension bundled with the php distro - which are usually behind the times.

Since PHP has dropped support for bundling their own set of mysql libs in new versions of PHP(especially 5.x), you should always build apache in cPanel with the "Use System MySQL" option.

Kind regards,

Gavin
 

LordJMann

Well-Known Member
Jun 15, 2003
74
0
156
Gavster said:
Hi Micron -



The essential difference is that "Use system MySQL" compiles using the mysql system libs that are installed with MySQL, and "Mysql Module" uses the mysql libs in the mysql extension bundled with the php distro - which are usually behind the times.

Since PHP has dropped support for bundling their own set of mysql libs in new versions of PHP(especially 5.x), you should always build apache in cPanel with the "Use System MySQL" option.

Kind regards,

Gavin
So "Use System MySQL" checked and "Mysql module" unchecked? Then I'll have a mysql 5.0 extension instead of a 4.1 extension?