strange behavior - PHP question...

Phil Dobbin phildobbin at gmail.com
Mon Jan 23 01:40:51 PST 2012


-----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>

[..]

Have you uncommented the `LoadModule php5_module
modules/libphp5.so` at line 117 in httpd.conf?

Cheers,

   Phil...

- -- 
Some [people] feel that the best way to improve Perl would be to go
back in time and shoot the author before he wrote it.
                                                       -Larry Wall
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: §auto-key-locate cert pka ldap hkp://keys.gnupg.net
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPHSsjAAoJEKpMeDHWT5ADPGYH/0si6HBTQ2R7B5Nb0FniUaAs
+U5j6rCUz+O6LKn6aPNvn5UumWDuEUTsGfZBTlpfVVJOUEpHAnS25It5RktIEVgb
nILpSaQwjvEAVeZILppMhvubxn7YSCfE5JnzeOAqZjlG+WTSHAxaf1OeDEa1S9L4
uismMb09spqWujLbsNRT74yvtjiRYBSLJZmOwA065PIOykkIQPFxHSZDAxMUl1uX
vcxfRozAPaZ2EIoXaIgzuHn+nVp1RJ/cwpDCQ8qFCdopYhoTxJGh0Ws4/lTRK8D7
9XdB3ivON0nyVdteVg3VOuZ1DDzwtf4qhwApmWLQRTJBuVklcst9CQnDm3ybeOs=
=hman
-----END PGP SIGNATURE-----


More information about the macports-users mailing list