php and apache not working

Scott Haneda talklists at newgeo.com
Wed Sep 16 22:55:28 PDT 2009


Hmmm, never had this issue before:
/opt/local/bin/php /opt/local/apache2/htdocs/test.php
That works and parse the echo phpInfo() I have in the file.

Loading the page in apache via Safari, I get the raw code.  I enabled  
apache...
$grep php httpd.conf
LoadModule php5_module        modules/libphp5.so
That is the php that is in /opt/local

I have restarted apache2 on a few occasions.

* also, what is "preforkmpm"
** Can I uninstall mysql5 and just leave mysql5-server, I thought I  
had in the past.

$port installed
The following ports are currently installed:
   apache2 @2.2.13_2+darwin+darwin_9+preforkmpm (active)
   apr @1.3.8_0 (active)
   apr-util @1.3.9_0 (active)
   autoconf @2.64_2 (active)
   autoconf213 @2.13_1 (active)
   automake @1.11_0 (active)
   bzip2 @1.0.5_2+darwin (active)
   db46 @4.6.21_5 (active)
   expat @2.0.1_0 (active)
   gawk @3.1.7_0 (active)
   gettext @0.17_4 (active)
   gperf @3.0.4_0 (active)
   gsed @4.2.1_0 (active)
   help2man @1.36.4_1 (active)
   libiconv @1.13_0 (active)
   libtool @2.2.6a_0 (active)
   libxml2 @2.7.3_0 (active)
   m4 @1.4.13_0 (active)
   mhash @0.9.9.9_0 (active)
   mysql5 @5.0.85_0 (active)
   mysql5-server @5.0.85_0 (active)
   ncurses @5.7_0 (active)
   ncursesw @5.7_0 (active)
   openssl @0.9.8k_0+darwin (active)
   p5-locale-gettext @1.05_0 (active)
   pcre @7.9_0 (active)
   perl5 @5.8.9_0 (active)
   perl5.8 @5.8.9_3 (active)
   php5 @5.3.0_2+apache2+macosx (active)
   pkgconfig @0.23_1 (active)
   readline @6.0.000_1+darwin (active)
   sqlite3 @3.6.18_0 (active)
   zlib @1.2.3_3 (active)

-- 
Scott * If you contact me off list replace talklists@ with scott@ *



More information about the macports-users mailing list