Richard Pyne wrote: > I finally got Apache 2.0.36 + PHP 4.2.1 to run without crashing on startup > (the secret was that the LoadModule line required the full path), but I am > now getting the contents of test.php displayed instead of executed. > > Any ideas will be greatly appreciated. > > --Richard > hi,
if you get the raw php source code displayed in your browser screen instead of a working php script it usually means that the php parsers isn't working correctly solution is the apache configuration like what file extensions did you associated with php ? default are .php .php3 .php4 .phtml to give you more information we need to know your system is it windows ? wich one ? is it *nix wich one ? if you are on a unix like platform the "LoadModule" line should be already there after compilation and also you must add the php mime type to your "httpd.conf" AddType application/x-httpd-php .php .php3 .php4 .phtml every time you edit that file you have to restart apache for the changes to take effect. did it helped you ? regards Erik -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php