Tag Info

Hot answers tagged

3

I just tested your php file in my server and it works just fine. You problem must be that the user www-data doesn't have write permissions to that folder. If indeed that user doesn't have write permissions to that folder, then you will see error messages at the file /var/log/apache2/error.log In order to look at the last errors, do tail -n 15 ...


2

Try recursively chown sudo chown -R tama:tama /opt/lampp/htdocs


1

You need to enable the directory explicitly in your /etc/apache2/apache2.conf Find the section that reads like this: <Directory /usr/share/or_whatever > Allow override none Require all granted </Directory> where granted or denied is the explicit permission for this non-standard directory. Without this directive everything outside of ...


1

maybe you want to try unlink command. link


1

The default path to served files in Ubuntu 14.04 has changed from /var/www to /var/www/html, mainly for security reasons. The packaging has been overhauled quite significantly. /etc/apache2/conf.d/ is now /etc/apache2/conf-available/ and /etc/apache2/conf-enabled/, to match the existing sites-enabled/ and mods-enabled/ mechanisms. The simplest way to ...


1

Must have been a long Friday when I posted the question. Now with a clear "Monday" head I was able to figure it out. The headers were not set correctly in terms of where the .= was for each one. It should have been: $headers = "From: " . $_POST['sendername'] . " <" . $_POST['senderemail'] . ">\r\n"; $headers .= "Reply-To: " . $_POST['sendername'] . " ...


1

To have Apache process PHP files, you need to install the PHP module for Apache: sudo apt-get install libapache2-mod-php5



Only top voted, non community-wiki answers of a minimum length are eligible