Can't install PDO / PDO_MYSQL

morfargekko

Verified User
Joined
Oct 21, 2007
Messages
189
Hello, I can't install PDO / PDO_MYSQL because pecl install pdo
pecl install pdo_mysql gives me the following error:
-bash: pecl: command not found

Can somebody please tell me what to do. :confused:
 
So I checked my configuration files that custombuild are using by issuing the command ./build used_configs an got the the result:

Apache configuration file: /usr/local/directadmin/custombuild/configure/ap2/configure.apache
suPHP configuration file: /usr/local/directadmin/custombuild/configure/suphp/configure.suphp
PHP5 configuration file: /usr/local/directadmin/custombuild/configure/suphp/configure.php5
suPHP configuration file: /usr/local/directadmin/custombuild/configure/suphp/configure.suphp
PHP6 configuration file: /usr/local/directadmin/custombuild/configure/suphp/configure.php6
ProFTPD configuration file: /usr/local/directadmin/custombuild/configure/proftpd/configure.proftpd

So I added the following lines to /usr/local/directadmin/custombuild/configure/suphp/configure.php5 and run ./build php n

"--enable-pdo=shared \
"--with-pdo-mysql=shared \
"--with-sqlite=shared \
"--with-pdo-sqlite=shared \

I got errors so I removed the lines and did ./build php n again and got the following errors:

Restarting apache.
Stopping httpd: [ OK ]
Starting httpd: /etc/init.d/httpd: line 55: 30118 Terminated $ENV $httpd -k start -DSSL

Can You please help me figure this out?
 
Back
Top