On Sat, Feb 21, 2009 at 12:16 AM, Drex <devans3...@gmail.com> wrote:

> Hi,
> I need to install PHP with CLI MYSQL not to be confused with mysqli.   This
> is for a Lilac Installation(nagios).  I am installing on solaris 10.   I
> compiled php without pdo extensions and added them in manually.   I
> configured mysql.so by first using phpize then running the configure command
> PHP_PDO_SHARED=1 ./configure --with-pdo-mysql=/opt/mysql/mysql
> --with-zlib-dir=/usr/lib --with-php-config=/opt/ACSphp/bin/php-config
> here are my lib paths
> LDFLAGS="-L/usr/local/lib -R/usr/local/lib -L/usr/local/mysql/lib
> -R/usr/local/mysql/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib"
> CPPFLAGS="-I/usr/local/ssl/include -I/usr/local/include
> -I/usr/local/mysql/include"
>
> # ./php -v
> PHP Warning:  PHP Startup: Invalid library (maybe not a PHP library)
> 'mysql.so'  in Unknown on line 0
> PHP 5.2.9RC4-dev (cli) (built: Feb 20 2009 12:41:33)
> Copyright (c) 1997-2009 The PHP Group
> Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
>
> Please help
>
> Thanks
>
> --
> Drex
>



-- 
Drex

Reply via email to