LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to remove a php zend extension (https://www.linuxquestions.org/questions/linux-software-2/how-to-remove-a-php-zend-extension-136426/)

docbrazen 01-19-2004 02:17 PM

How to remove a php zend extension
 
Hello,

A few days ago I was playing around with Alternative PHP Cache (APC) and now I can't seem to remove it from php. It installs itself as a zend_extension and I thought all I had to do was comment out the zend_extension line in php.ini and remove the shared object file, apc.so, from my extensions directory to get rid of the program. For some reason when I run php it still tries to run APC. How can I remove all instances of this extension from php?

Here is a command I am running that receives the error:
# php
Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20020429/apc.so: /usr/local/lib/php/extensions/no-debug-non-zts-20020429/apc.so: cannot open shared object file: No such file or directory


This happens whenever I try to run the command php.

Thanks,
docbrazen


All times are GMT -5. The time now is 03:37 PM.