On Sat, Feb 21, 2009 at 12:16 AM, Drex <devans3428@xxxxxxxxx> 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 commandPHP_PDO_SHARED=1 ./configure --with-pdo-mysql=/opt/mysql/mysql --with-zlib-dir=/usr/lib --with-php-config=/opt/ACSphp/bin/php-confighere are my lib pathsLDFLAGS="-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 TechnologiesPlease helpThanks
--
Drex
--
Drex
- Prev by Date: PHP - Unix - Tomcat
- Next by Date: error in using php
- Previous by thread: PHP - Unix - Tomcat
- Next by thread: error in using php
- Index(es):