Date: Sun, 23 Apr 2000 16:13:04 -0700 From: "Marc Wandschneider" <marcw@lanfear.com> To: <freebsd-questions@freebsd.org> Subject: Am I just being dumb (apache/php) Message-ID: <000701bfad79$7a9caec0$0300000a@katana>
next in thread | raw e-mail | index | archive | help
whasssuuuppp? so, I have apache 1.3.9 running on my FreeBSD 3.3 server. I also compiled in PHP 3.0.12 support, and added in mysql support as well. next, I added the following to httpd.conf AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .phps and did the demanded copy of php3.ini-dist to /usr/local/lib/php3.ini. stopped & started apache, and it prints out the following: [Sun Apr 23 15:10:28 2000] [notice] Apache/1.3.9 (Unix) PHP/3.0.12 configured -- resuming normal operations Now, the problem is, I can't get any script to actually DO anything. I'm assuming that this stuff is basically just server side script that can be embedded in HTML, and the server executes right before downloading the HTML. that being the case, I can't get any code to run at all, like <script language="php"> \n echo "mooo cow"; \n </script> or any of the other tags suggested ... Am I just way off on my understanding of what I'm supposed to be doing here?? Any suggestions would be appreciated. Thanks. marc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701bfad79$7a9caec0$0300000a>