LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   'make' command failing when install pdo on CentOS 6.4 (64 bit) (https://www.linuxquestions.org/questions/linux-newbie-8/make-command-failing-when-install-pdo-on-centos-6-4-64-bit-4175458032/)

John VV 04-16-2013 08:58 PM

to uninstall mysql installed using the package manager
use the package manager to remove it
Code:

su -
yum remove mysql

see the manual and help pages for the basic operation of yum
Code:

yum --help
--- and ---
man yum

use the <q> button to get out of the manual page

then fallow the build instructions on the mysql page
http://dev.mysql.com/doc/refman/5.6/en/index.html
-- build form source link on the above docs---
http://dev.mysql.com/doc/mysql-sourc.../en/index.html

but include the option in the configure line " --with-pdo-mysql "
as per the the build guide from the php build instructions
http://php.net/manual/en/ref.pdo-mysql.php

for a listing of possible "build options " for MySQL
run this configure option FIRST - it only outputs a list of options

run this is the SAME folder as the mysql "configure" script
Code:

./configure --help
there is no real very simple
"type these 5 commands and you are done "

you need to be able to integrate php with mysql
as in mysql needs to have options turned on that you will need for php

recommended
you might want to use the source mysql.src.rpm
in the centos6 "source repo"
and edit the build for that using "rpmbuild"

that way it IS THE SAME version that is used on CentOS6
see chapter #2 of the build from source guide
http://dev.mysql.com/doc/mysql-sourc...tribution.html




Apache , php, mysql are all interdependent on each other

this is why i stated in post # 9
Quote:

I do recommend ,installing from source , for the first few Apache stack installs -- so that you learn how to configure it
the Apache stack is like the Chinese game "go"
5 min. to learn
but a lifetime to master ( or at least a few months for more than just the basics )


All times are GMT -5. The time now is 08:10 PM.