richard smooth Posted October 18, 2006 Share Posted October 18, 2006 Need help with php error!I have installed ZCS Open Source Edition (on suse linux) with success but received php error trying to install oscommerce catalog and phpmyadmin : PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php/extensions/mysql.so' - libmysqlclient.so.15: cannot open shared object file: No such file or directory in Unknown on line 0.PHP Warning: Unknown(): Invalid library (maybe not a PHP library) 'libmysqlclient.so' in Unknown on line 0I have tried possible solutions like copying both files to my extentions dir and uncommenting the directives in php.ini but no success so far. I have read somewhere that I might have to recompile php but I have no idea how this will affect my zimbra and it's already running services.My phpinfo() is pointing to /opt/zimbra/php-5.0.5/lib/php.ini for my php.ini PATH while my php.ini was actually in /etc/php.ini. I have tried copying php.ini to /opt/zimbra/php-5.0.5/lib/ as indicated by phpinfo() but it doest work.How do I change the env path for php to read /etc/php.in as this is where my php.ini is located?What do I need to do to sort this out guys? Please help! Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/24340-how-to-change-phpini-path/ Share on other sites More sharing options...
Daniel0 Posted October 20, 2006 Share Posted October 20, 2006 Make sure you restart the webserver after editing php.ini Quote Link to comment https://forums.phpfreaks.com/topic/24340-how-to-change-phpini-path/#findComment-111763 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.