Hot answers tagged php
I find the best way to install a lamp server on a debian based system is to simply run: sudo apt-get update sudo apt-get install tasksel tasksel install lamp-server It does all the configuration for you. But you should still learn how it all interconnects. After you can open up /etc/apache2/sites-available/000-default and add/alter your virtual hosts.
More information is needed: You need to look at /var/log/audit/audit.log for the avc denials. alternatively ensure you have the following installed setroubleshoot-server auditd messagebus The messages will appear in /var/log/messages further reference: http://danwalsh.livejournal.com/7995.html The reason your php interactive shell works is that it ...
I fixed it! I found a solution here: https://bugzilla.redhat.com/show_bug.cgi?id=772084#c8 What I did was take the 2 lines that were written to audit.log, and piped them into audit2allow, which generates 2 files, a binary and a text. Then I imported that file into semodule. I don't understand the file however. Make sure you capture the httpd errors. tail ...
I was encountering this problem as well and fixed it by loading the mcrypt extension in my php.ini. To do this, I did the following: Edit /etc/php5/apache2/php.ini Add the line extension=mcrypt.so Save Restart apache (sudo service apache2 restart)
Only top voted, non community-wiki answers of a minimum length are eligible