Date: Thu, 23 Sep 2004 22:22:09 +0300 From: JohnsoBS@vicksburg.navy.mil To: reshamwa@usc.edu Cc: freebsd-questions@freebsd.org Subject: RE: PHP Problem Message-ID: <CE2BFBAA80DD874BB737A4E2C53AA44903B017B4@CG69UBD01>
next in thread | raw e-mail | index | archive | help
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:reshamwa@usc.edu] Sent: Thursday, September 23, 2004 8:59 PM To: freebsd-questions@freebsd.org 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 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CE2BFBAA80DD874BB737A4E2C53AA44903B017B4>