Jump to content

Recommended Posts

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 0

I 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.
Link to comment
https://forums.phpfreaks.com/topic/24340-how-to-change-phpini-path/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.