Re: Having problems installing php with mysql.so

From: Date: Sat, 21 Feb 2009 14:44:04 +0000
Subject: Re: Having problems installing php with mysql.so
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-19616@lists.php.net to get a copy of this message
On Sat, Feb 21, 2009 at 12:16 AM, Drex <devans3428@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

« previous php.install (#19616) next »