On Jan 23, 2012, at 1:40 AM, Phil Dobbin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 23/01/2012 06:35, William H. Magill wrote: >> A retired sysadmin who has been working with Macports since Darwin days -- >> I am playing with a software package written in php and attempting to learn >> php in the process. >> >> I have installed (and just recently updated Apache2/Mysql5/php via macports >> following the instructions >> at http://trac.macports.org/wiki/howto/MAMP >> >> All on a Mac mini running 10.6.8 - I'm working remotely on the mini from an >> iMac running 7.2. >> Both systems are "clean" Apple or Macports, without random software installs. >> >> The only "non-standard-macports-way" I did things was to stick the Apache >> log files under >> /var/log so I can read them with "console." >> >> Everything apparently works well and fine. >> All of the "tests" in that document (MMAP) pass with flying colors, >> including the "phpinfo.php" test. >> And phpmyadmin works as expected. >> The package I am playing with also works fine. >> >> However, when I visit php.net and follow their tutorial, the very first >> example fails. >> >> <html> >> <head> >> <title>PHP Test</title> >> </head> >> <body> >> <?php echo '<p>Hello World</p>'; ?> >> </body> >> </html>
What is the url of this file? Is the file extension ".php"? > Have you uncommented the `LoadModule php5_module > modules/libphp5.so` at line 117 in httpd.conf? If the phpinfo.php test works then this should not be the problem. Regards, Bradley Giesbrecht (pixilla) _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users