You installed the CGI port.. You need to install the apache module. CGI doesn't allow embedded php in the page.
The port you are looking for specifically is /usr/ports/www/mod_php4 Might be worth your while to look at /usr/ports/lang/php4 though. It allows compilation of php in various forms. cli, mod, and cgi. All have different functions and ways of using. -----Original Message----- From: digish reshamwala [mailto:[EMAIL PROTECTED] Sent: Thursday, September 23, 2004 8:59 PM To: [EMAIL PROTECTED] Subject: PHP Problem Hi I have installed Apache Mod_ssl 1.3.29 first then, I installed PHP using ports in FreeBSD 5.2.1 as: cd /usr/ports/www/php4-cgi make make install clean But my PHP doesn't seems to be working, as my simple Hello World program- <html> <body> <?php $myvar = "Hello World"; echo $myvar; ?> </body> </html> doesn't give any output. It just displays the blank page. Can u guys help me asap, please??! thanks a lot, digish _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"