<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/php-clamav/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/php-clamav/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/php-clamav/bugs/</id><updated>2017-02-18T23:56:30.925000Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>clamav.so install directory not correct on Ubuntu installs</title><link href="https://sourceforge.net/p/php-clamav/bugs/15/" rel="alternate"/><published>2017-02-18T23:56:30.925000Z</published><updated>2017-02-18T23:56:30.925000Z</updated><author><name>Jeff Stratton</name><uri>https://sourceforge.net/u/jdstratton1978/</uri></author><id>https://sourceforge.net76ca28284acb7c8184fd53317938ef72ff62ffec</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;After a recent update to php the directions for installing this are not correct, at least for Ubuntu.  The modules/clamav.so needs to be copied to /usr/lib/php5/2009062 as opposed to /usr/local/lib/php/extensions/&lt;/p&gt;
&lt;p&gt;I hope this helps others as well.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#13 installation - functions not found</title><link href="https://sourceforge.net/p/php-clamav/bugs/13/?limit=25#7d04" rel="alternate"/><published>2016-12-10T09:58:05.795000Z</published><updated>2016-12-10T09:58:05.795000Z</updated><author><name>yones safari</name><uri>https://sourceforge.net/u/yonessafari/</uri></author><id>https://sourceforge.netc9d78c4c64302e466230c2765bc8676238964a5f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have the same problem&lt;/p&gt;
&lt;p&gt;Error:&lt;br/&gt;
Starting php-fpm56: &lt;span&gt;[10-Dec-2016 13:20:32]&lt;/span&gt; NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/php56/lib/php/extensions/clamav.so' - libclamav.so.7: cannot open shared object file: No such file or directory in Unknown on line 0&lt;/p&gt;
&lt;p&gt;please help me to fix this&lt;br/&gt;
Thanks&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Php-Clamav in ubuntu-14.04</title><link href="https://sourceforge.net/p/php-clamav/bugs/14/" rel="alternate"/><published>2016-06-14T13:38:21.866000Z</published><updated>2016-06-14T13:38:21.866000Z</updated><author><name>marcio souza</name><uri>https://sourceforge.net/u/marciorunner/</uri></author><id>https://sourceforge.netaea9ef4281c4389d3830e84123400492ae6b54a9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello guys&lt;/p&gt;
&lt;p&gt;I installed ubuntu in 14:04 and when I try to find the virus file, even lowering the eicar_com.zip the cl_scanfile () function does not find anything. Confirmed in phpinfo () if the php-clamav classes this installed but this. I need some help to make it work properly.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#13 installation - functions not found</title><link href="https://sourceforge.net/p/php-clamav/bugs/13/?limit=25#49e1" rel="alternate"/><published>2016-02-06T15:37:55.317000Z</published><updated>2016-02-06T15:37:55.317000Z</updated><author><name/><uri>https://sourceforge.net</uri></author><id>https://sourceforge.netcb1a52b44b6247eae871f05c0699ecb0817b9bff</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks - fixed!&lt;/p&gt;
&lt;p&gt;I recompiled and now it works.  Odd... I had recompiled before and that did not fix it.  However this time I cleaned out the old stuff before recompiling.  Perhaps that was the problem.&lt;/p&gt;
&lt;p&gt;Three questions: &lt;/p&gt;
&lt;p&gt;QUESTION 1: the &lt;br/&gt;
./configure&lt;br/&gt;
command gave the warning:&lt;br/&gt;
checking for re2c... no&lt;br/&gt;
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.&lt;/p&gt;
&lt;p&gt;What is regenerating PHP parsers, and why might I want to do this?&lt;/p&gt;
&lt;p&gt;QUESTION 2: What does "make test" do?  I ran it  and got the following, indicating "no tests were run":&lt;/p&gt;
&lt;p&gt;root@communion: /usr/php-clamav/php-clamav-0.15.8:# make test&lt;/p&gt;
&lt;p&gt;Build complete.&lt;br/&gt;
Don't forget to run 'make test'.&lt;/p&gt;
&lt;p&gt;=====================================================================&lt;br/&gt;
PHP         : /usr/bin/php &lt;br/&gt;
PHP_SAPI    : cli&lt;br/&gt;
PHP_VERSION : 5.5.31&lt;br/&gt;
ZEND_VERSION: 2.5.0&lt;br/&gt;
PHP_OS      : Linux - Linux communion 3.10.0-327.4.5.el7.x86_64 #1 SMP Mon Jan 25 22:07:14 UTC 2016 x86_64&lt;br/&gt;
INI actual  : /usr/php-clamav/php-clamav-0.15.8/tmp-php.ini&lt;br/&gt;
More .INIs  :&lt;br/&gt;
CWD         : /usr/php-clamav/php-clamav-0.15.8&lt;br/&gt;
Extra dirs  : &lt;br/&gt;
VALGRIND    : Not used&lt;br/&gt;
=====================================================================&lt;br/&gt;
TIME START 2016-02-06 10:19:21&lt;br/&gt;
=====================================================================&lt;br/&gt;
No tests were run.&lt;/p&gt;
&lt;p&gt;QUESTION 3:  Will recompiling be needed every time clamav updates?&lt;/p&gt;
&lt;p&gt;Thanks for your help, and for writing this great program!&lt;/p&gt;
&lt;p&gt;Jose&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#13 installation - functions not found</title><link href="https://sourceforge.net/p/php-clamav/bugs/13/?limit=25#aad6" rel="alternate"/><published>2016-02-06T08:28:39.212000Z</published><updated>2016-02-06T08:28:39.212000Z</updated><author><name>ARGOS</name><uri>https://sourceforge.net/u/argos66/</uri></author><id>https://sourceforge.net65df78dfa2815e25dcdbafcd44f46d12ecb4c206</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;assigned_to&lt;/strong&gt;: ARGOS&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#13 installation - functions not found</title><link href="https://sourceforge.net/p/php-clamav/bugs/13/?limit=25#9414" rel="alternate"/><published>2016-02-06T08:28:24.672000Z</published><updated>2016-02-06T08:28:24.672000Z</updated><author><name>ARGOS</name><uri>https://sourceforge.net/u/argos66/</uri></author><id>https://sourceforge.net212bae69e1cf25cb5ba96d409c20092af71bf906</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for your report and debug.&lt;br/&gt;
I've look the new clamav 0.99 version are a libclamav version 7.&lt;br/&gt;
I think that need to compile php-clamav after this new clamav version are installed.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#13 installation - functions not found</title><link href="https://sourceforge.net/p/php-clamav/bugs/13/?limit=25#5b4d" rel="alternate"/><published>2016-02-05T22:40:23.389000Z</published><updated>2016-02-05T22:40:23.389000Z</updated><author><name/><uri>https://sourceforge.net</uri></author><id>https://sourceforge.net530f8d4a0810bf12446945971c076920f8178b00</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;php -i also shows the lines:&lt;/p&gt;
&lt;p&gt;PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/clamav.so' - libclamav.so.6: cannot open shared object file: No such file or directory in Unknown on line 0&lt;br/&gt;
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/php-clamav/php-clamav-0.15.8/modules/clamav.so' - libclamav.so.6: cannot open shared object file: No such file or directory in Unknown on line 0&lt;/p&gt;
&lt;p&gt;Sure enough, there is no libclamav.so.6, but there is a libclamav.so.7 (which points to libclamav.so.7.1.1) and a libclamav.so (which points to the same libclamav.so.7.1.1)&lt;/p&gt;
&lt;p&gt;libclamav.so.7.1.1 exists.&lt;/p&gt;
&lt;p&gt;So... it seems that php-clamav is trying to load an older version of the libclamav shared object.&lt;/p&gt;
&lt;p&gt;clamav had been updated (that's when it broke), but php-clamav has not changed to match.&lt;/p&gt;
&lt;p&gt;Jose&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#13 installation - functions not found</title><link href="https://sourceforge.net/p/php-clamav/bugs/13/?limit=25#5afc" rel="alternate"/><published>2016-02-03T18:38:27.663000Z</published><updated>2016-02-03T18:38:27.663000Z</updated><author><name/><uri>https://sourceforge.net</uri></author><id>https://sourceforge.net6f51387904e3a4d93343ac2552ed3e8d5125cc8c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Oh - one other thing - during the installation I got the message; &lt;/p&gt;
&lt;p&gt;You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.&lt;/p&gt;
&lt;p&gt;What does this mean?  What is "regenerating PHP parsers" and why might I want to do this?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>installation - functions not found</title><link href="https://sourceforge.net/p/php-clamav/bugs/13/" rel="alternate"/><published>2016-02-03T18:33:36.261000Z</published><updated>2016-02-03T18:33:36.261000Z</updated><author><name/><uri>https://sourceforge.net</uri></author><id>https://sourceforge.net4604e84f9b8e72a8d9d974f6d91b1112f20922b8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have installed clamav, clamav-devel, and php-clamav.  Having done so, I can access the functions (e.g. cl_scanfile()) in my php scripts.&lt;/p&gt;
&lt;p&gt;It suddenly stopped working after a yum update, but I cannot figure out why.&lt;/p&gt;
&lt;p&gt;PHP Version 5.5.31&lt;br/&gt;
Centos 7:  3.10.0-327.4.5.el7.x86_64 #1 SMP Mon Jan 25 22:07:14 UTC 2016 x86_64 &lt;br/&gt;
Apache 2.0 Handler&lt;/p&gt;
&lt;p&gt;clamav itself still works (from the linux command line)&lt;br/&gt;
phpinfo.php reports that /etc/php.d/php-clamav.ini has been processed as an .ini file&lt;br/&gt;
There is no separate php-clamav section in phpinfo.php (but I don't know if there ever was)&lt;/p&gt;
&lt;p&gt;I tried recompiling from the php-clamav_0.15.8.tar.gz file:&lt;br/&gt;
tar -xvzf php-clamav_0.15.8.tar.gz&lt;br/&gt;
cd php-clamav-0.15.8&lt;br/&gt;
phpize&lt;br/&gt;
./configure&lt;br/&gt;
make&lt;br/&gt;
    reports that libraries have been installed in /usr/php-clamav/php-clamav-0.15.8/modules&lt;br/&gt;
make install&lt;br/&gt;
    Installing shared extensions:     /usr/lib64/php/modules/&lt;/p&gt;
&lt;p&gt;/etc/php.d/php-clamav.ini contains:&lt;br/&gt;
; enable extension for php-clamav&lt;br/&gt;
; created by Jose&lt;br/&gt;
extension=/usr/php-clamav/php-clamav-0.15.8/modules/clamav.so&lt;br/&gt;
; load antivirus db on startup rather than on every scan&lt;br/&gt;
;clamav.load_db_on_startup=1&lt;/p&gt;
&lt;p&gt;... and the clamav.so is in fact there (and newly created, or at least newly touched)&lt;/p&gt;
&lt;p&gt;I have restarted apache:&lt;br/&gt;
service httpd restart&lt;br/&gt;
and still the php-clamav functions are not available.&lt;/p&gt;
&lt;p&gt;Where else should I look?&lt;/p&gt;
&lt;p&gt;Jose&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>installation - functions not found</title><link href="https://sourceforge.net/p/php-clamav/bugs/13/" rel="alternate"/><published>2016-02-03T18:33:36.261000Z</published><updated>2016-02-03T18:33:36.261000Z</updated><author><name/><uri>https://sourceforge.net</uri></author><id>https://sourceforge.netb00cb14c9b00e9635a4161bfdfd363e46911a25a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 13 has been modified: installation - functions not found&lt;br/&gt;
Edited By: ARGOS (argos66)&lt;br/&gt;
Owner updated: None =&amp;gt; u'argos66'&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>