Do you need to roll your own PHP build to support MySQL now? I don't see support built into the included libphp module..
Thx, CC
On Wed, Jul 29, 2009 at 1:24 PM, Chuckchuck.carson@gmail.com wrote:
Do you need to roll your own PHP build to support MySQL now? I don't see support built into the included libphp module..
You need to install the php-mysql module :)
On Wed, Jul 29, 2009 at 1:24 PM, Chuckchuck.carson@gmail.com wrote:
Do you need to roll your own PHP build to support MySQL now? I don't see support built into the included libphp module..
It's not compiled in statically. It's built as a module. You need to install php-mysql.
yum list php* will show you loads of goodies you're probably missing.
So PHP now supports modules and you can add/remove features on the fly? Or does installing the php-mysql module replace the libphp.so module in the apache tree?
-Chuck
On Wed, Jul 29, 2009 at 12:29 PM, Jim Perrin jperrin@gmail.com wrote:
On Wed, Jul 29, 2009 at 1:24 PM, Chuckchuck.carson@gmail.com wrote:
Do you need to roll your own PHP build to support MySQL now? I don't see support built into the included libphp module..
It's not compiled in statically. It's built as a module. You need to install php-mysql.
yum list php* will show you loads of goodies you're probably missing.
-- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Wed, Jul 29, 2009 at 1:41 PM, Chuckchuck.carson@gmail.com wrote:
So PHP now supports modules and you can add/remove features on the fly? Or does installing the php-mysql module replace the libphp.so module in the apache tree?
PHP supports modules, though not on the fly. You still have to restart/reload httpd if you add a module to php.
At Wed, 29 Jul 2009 12:41:59 -0500 CentOS mailing list centos@centos.org wrote:
So PHP now supports modules and you can add/remove features on the fly? Or does installing the php-mysql module replace the libphp.so module in the apache tree?
Installing php-mysql *adds* a module (shared library in this case). It is much like the way Perl extensions work: you install the base package (perl-<versionmumble>.i386.rpm for example), and then you install the addons you want. Some are pure perl code (perl-<packagename>-<versionmumble>.noarch.rpm) and some are C/C++ coded (perl-<packagename>-<versionmumble>.i386.rpm). Same with php.
-Chuck
On Wed, Jul 29, 2009 at 12:29 PM, Jim Perrin jperrin@gmail.com wrote:
On Wed, Jul 29, 2009 at 1:24 PM, Chuckchuck.carson@gmail.com wrote:
Do you need to roll your own PHP build to support MySQL now? I don't see support built into the included libphp module..
It's not compiled in statically. It's built as a module. You need to install php-mysql.
yum list php* will show you loads of goodies you're probably missing.
-- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
MIME-Version: 1.0
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Chuck wrote:
Do you need to roll your own PHP build to support MySQL now? I don't see support built into the included libphp module..
Thx, CC
Use yum search php and watch the output very closely, that should (hopefully...) give you the clues you need to enable support for MySQL.
Glenn
At Wed, 29 Jul 2009 12:24:44 -0500 CentOS mailing list centos@centos.org wrote:
Do you need to roll your own PHP build to support MySQL now? I don't see support built into the included libphp module..
You need to include some additional packages:
(CentOS 4Plus): php-mysql-5.1.6-3.el4s1.10
You should be able to do something like:
yum install php-mysql
to get MySQL support for PHP.
Thx, CC
MIME-Version: 1.0
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos