Your "Hello World" PHP script should look like: <? echo "Hello World"; ?> Save that as helloworld.php3 in /usr/local/httpd/htdocs Now, vi /etc/httpd/httpd.conf Make sure there is a section that says <IfDefine PHP> AddType application/x-httpd-php3 .php3 .php </IfDefine> Run rcapache restart And now load up http://localhost/helloworld.php3 Tada. Kev
-----Original Message----- From: Lenz Grimmer [mailto:grimmer@suse.de] Sent: 27 June 2000 12:45 To: suse-linux-e@suse.com Subject: Re: [SLE] SUSE 6.4/php
Hi,
On Mon, 26 Jun 2000, Chris Herrnberger wrote:
Started exploring php with apache on 6.4 stock installation and have run into a nubie snag. The Suse supplied test page (localhost) supplies info that php is up and running, but generating the typical test script <hello world> results in no joy, similar to other php scripts.
Is there something that I am missing in the conifig to setting up php with suse's apache install.
Does your test page end on ".php3" or ".phtml"? This is a requirement.
Bye, LenZ
-- ------------------------------------------------------------------ Lenz Grimmer SuSE GmbH mailto:grimmer@suse.de Schanzaeckerstr. 10 http://www.suse.de/~grimmer/ 90443 Nuernberg, Germany There are two sides to a question, politicians take both.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/