Skip to content

Tag: apache

“no acceptable variant” from MultiViews in Apache

In one deployment of a PHP-based application, Apache’s MultiViews option is being used to hide the .php extension of a request dispatcher script. E.g. a request to …would be handled by …with the trailing part of the request URI available in PATH_INFO. Most of the time this works fine, but oc…

Apache shows PHP code instead of executing it

I have recently been trying to install PHP and Apache on my computer. After many hours, they’re installed. I have modified the httpd.conf and php.ini files like everyone says. I then created a simple PHP script: But when I try to run it with http://127.0.0.1/phpinfo.php it just shows the source code ins…

Install fileinfo php extension

As the fileinfo is moved from PECL to PHP. What is the best way to install it through WHM or putty.? I tried following command: and received following error: WARNING: “pear/Fileinfo” is deprecated in favor of “channel://php-src/ext/fileinfo/in php sources “WARNING: channel “pear.…