Answer the question
In order to leave comments, you need to log in
Is it possible to remove some packages with dependencies from Debian?
I'm not the biggest expert in Debian. I can put some things according to the instructions and no more ...
My problem is that I installed virtualmin, but I could not fully get a taste of what and how with virtual servers. I tried to demolish virtualmin and do everything manually (Install LAMP on one host without any virtual servers) as a result, no matter how I twist the apache and php packages, php scripts are not interpreted ... even banal
<?php
phpinfo();
?>
aptitude purge php5 php5-cli php5-common apache2 apache2.2-common apache2-utils apache2.2-bin apache2-mpm-prefork
Answer the question
In order to leave comments, you need to log in
1. Check that php works on the command line
2. If it works, then configure Apache
Read this
At least in Apache, you need to load the php module something like this:
well, specify that Apache transfer php files for processing to the module:
<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question