webguy
Verified User
Hi all,
I'm trying to configure my fedora core 5 server to use pdo-mysql for the Magento eCommerce application.
I am using Custombuild on a Fedora Core 5 machine.
I have PHP 5.2.5 running with MySQL 5.
Now I need PDO-MYSQL.
What I did was the following:
pecl download pdo
tar xvzf PDO-1.0.3.tgz
cd PDO-1.0.3
./configure
make
make install
cd ..
pecl download pdo_mysql
tar xvzf PDO_MYSQL-1.0.2.tgz
cd PDO_MYSQL-1.0.2
./configure
make
make install
cd ..
This all seemed to have gone ok.
I now have the following:
ls -l /usr/local/lib/php/extensions/no-debug-non-zts-20060613
total 368
-rwxr-xr-x 1 root root 124017 Jan 2 15:19 pdo_mysql.so
-rwxr-xr-x 1 root root 238008 Jan 2 14:52 pdo.so
Now my question is: how to configure this in
/usr/local/directadmin/custombuild/configure/ap2/configure.php5 ?
I have tried several settings. The last one I have now is:
#!/bin/sh
./configure \
--with-apxs2 \
--with-curl=/usr/local/lib \
--with-gd \
--enable-gd-native-ttf \
--with-ttf \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-freetype-dir=/usr/local/lib \
--with-kerberos \
--with-openssl \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr \
--with-mysqli=/usr/bin/mysql_config \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--enable-zip \
--with-iconv=/usr/local \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-mbstring \
--enable-pdo \
--with-pdo-mysql=shared
But that doesn't seem to work.
Who can tell me how to setup the configure.php5 in the correct way?
Thanks,
Rene
I'm trying to configure my fedora core 5 server to use pdo-mysql for the Magento eCommerce application.
I am using Custombuild on a Fedora Core 5 machine.
I have PHP 5.2.5 running with MySQL 5.
Now I need PDO-MYSQL.
What I did was the following:
pecl download pdo
tar xvzf PDO-1.0.3.tgz
cd PDO-1.0.3
./configure
make
make install
cd ..
pecl download pdo_mysql
tar xvzf PDO_MYSQL-1.0.2.tgz
cd PDO_MYSQL-1.0.2
./configure
make
make install
cd ..
This all seemed to have gone ok.
I now have the following:
ls -l /usr/local/lib/php/extensions/no-debug-non-zts-20060613
total 368
-rwxr-xr-x 1 root root 124017 Jan 2 15:19 pdo_mysql.so
-rwxr-xr-x 1 root root 238008 Jan 2 14:52 pdo.so
Now my question is: how to configure this in
/usr/local/directadmin/custombuild/configure/ap2/configure.php5 ?
I have tried several settings. The last one I have now is:
#!/bin/sh
./configure \
--with-apxs2 \
--with-curl=/usr/local/lib \
--with-gd \
--enable-gd-native-ttf \
--with-ttf \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-freetype-dir=/usr/local/lib \
--with-kerberos \
--with-openssl \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr \
--with-mysqli=/usr/bin/mysql_config \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--enable-zip \
--with-iconv=/usr/local \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-mbstring \
--enable-pdo \
--with-pdo-mysql=shared
But that doesn't seem to work.
Who can tell me how to setup the configure.php5 in the correct way?
Thanks,
Rene