PHp Warning

php.internals

sivasakthi

18 years ago
Hi All, When ever i have executed the php files it throws the following warning message, PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/msql.so' - /usr/lib/php/modules/msql.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/odbc.so' - libodbc.so.1: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pdo_odbc.so' - libodbc.so.1: cannot open shared object file: No such file or directory in Unknown on line 0 How can i eliminate that?? is that a problem of php installation??? Thanks, Siva

John Mertic

18 years ago
Yes, remove any lines in your php.ini that reference those files. John On 10/24/07, sivasakthi <msivasakthi@gmail.com> wrote:
> Hi All, > > When ever i have executed the php files it throws the following warning > message, > > > PHP Warning: PHP Startup: Unable to load dynamic library > '/usr/lib/php/modules/msql.so' - /usr/lib/php/modules/msql.so: cannot > open shared object file: No such file or directory in Unknown on line 0 > PHP Warning: PHP Startup: Unable to load dynamic library > '/usr/lib/php/modules/odbc.so' - libodbc.so.1: cannot open shared object > file: No such file or directory in Unknown on line 0 > PHP Warning: PHP Startup: Unable to load dynamic library > '/usr/lib/php/modules/pdo_odbc.so' - libodbc.so.1: cannot open shared > object file: No such file or directory in Unknown on line 0 > > > > How can i eliminate that?? is that a problem of php installation??? > > > Thanks, > Siva >
-- John Mertic jmertic@gmail.com http://jmertic.wordpress.com "Explaining a joke is like dissecting a frog: you understand it better, but the frog dies in the process." --Mark Twain

Daniel Brown

18 years ago
On 10/24/07, John Mertic <jmertic@gmail.com> wrote:
> Yes, remove any lines in your php.ini that reference those files. > > John > > On 10/24/07, sivasakthi <msivasakthi@gmail.com> wrote: > > Hi All, > > > > When ever i have executed the php files it throws the following warning > > message, > > > > > > PHP Warning: PHP Startup: Unable to load dynamic library > > '/usr/lib/php/modules/msql.so' - /usr/lib/php/modules/msql.so: cannot > > open shared object file: No such file or directory in Unknown on line 0 > > PHP Warning: PHP Startup: Unable to load dynamic library > > '/usr/lib/php/modules/odbc.so' - libodbc.so.1: cannot open shared object > > file: No such file or directory in Unknown on line 0 > > PHP Warning: PHP Startup: Unable to load dynamic library > > '/usr/lib/php/modules/pdo_odbc.so' - libodbc.so.1: cannot open shared > > object file: No such file or directory in Unknown on line 0 > > > > > > > > How can i eliminate that?? is that a problem of php installation??? > > > > > > Thanks, > > Siva > > > > > -- > John Mertic > jmertic@gmail.com > http://jmertic.wordpress.com > > "Explaining a joke is like dissecting a frog: you understand it > better, but the frog dies > in the process." --Mark Twain > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >
Or just comment it out by adding a semicolon to the front of the line.
-- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 Give a man a fish, he'll eat for a day. Then you'll find out he was allergic and is hospitalized. See? No good deed goes unpunished....

sivasakthi

18 years ago
On Wed, 2007-10-24 at 10:04 -0400, Daniel Brown wrote:
> On 10/24/07, John Mertic <jmertic@gmail.com> wrote: > > Yes, remove any lines in your php.ini that reference those files. > > > > John > > > >
Thanks for your response... i have commented the mysql.so module in php.ini.. but i couldn't find another two modules in php.ini... which files are related to odbc.so and pdo_odbc.so modules?? Thanks...

Tomas Kuliavas

18 years ago
>> > Yes, remove any lines in your php.ini that reference those files. > > Thanks for your response... > > i have commented the mysql.so module in php.ini.. but i couldn't find > another two modules in php.ini... > > which files are related to odbc.so and pdo_odbc.so modules??
Test your PHP setup. Create file with "<?php phpinfo(); ?>", execute it with php and check configuration directories and files that are listed on top. Please note that you are asking user level questions on mailing list/newsgroup designed for PHP development and not for user support.
-- Tomas