On Friday, October 24, 2014 12:34 PM, Gergely Buday <gbuday@xxxxxxxxx> wrote: Hi, I did tests and my Apache does interpret simple php files. I copied a directory structure from a working web server and my login.php is not interpreted. Apache emits some source code from the file. What could cause this? Hi Gergely, There are a few things that could cause that. For starters I don't know what O/S you're using and don't know what kind of configuration you're using on apache but the tips below should apply regardless. First on the list: is the php module installed? (on linux that's libphp5.so) Two: make sure that apache knows how to interpret php files; somewhere in its configuration file(s) should be a line like this: AddType application/x-httpd-php .php That should get you going. Have fun, Mike Wright -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php