I get this message: Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 Warning: Unknown: Failed opening '/var/www/pic/upload.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0 Line 0? and there is no pear directory, in the /usr/share/ directory. What to do? ambiz_x
I guess you're trying to install some kind of web application that needs the PEAR extensions? When does this error show?
No I'am referring to this tutorial. http://www.howtoforge.com/scan_viruses_with_php_clamavlib_p2 I had it working as it is at above page, but when I changed directory to /var/www/pic the problem started. Command: chown www-data:www-data /var/www/pic and change in script:upload to pic message: Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 Warning: Unknown: Failed opening '/var/www/pic/upload.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0 and when I tray to do it, as it as describe at above page. I get same message, and it worked before. Hoooping for a solution. ambiz_x
That's page 2 of the same tutorial... Did you replace all occurrences of /var/www/upoads with /var/www/pic?
But not this line: <form method="post" action="upload.php" name="fileupload" enctype="multipart/form-data"> The up load page name is upload.php.
I'am gona handle this problem, as it is winXP. Format reinstall. Solution for all computer problemes.