BB> try using this as a test script

BB> --snip--

BB> <?php

BB> phpinfo()

?>>

BB> --snip--

BB> if this works then your PHP installation is ready to fly.

BB> ----- Original Message ----- 
BB> From: "fa" <[EMAIL PROTECTED]>
BB> To: <[EMAIL PROTECTED]>
BB> Sent: Tuesday, March 25, 2003 9:26 AM
BB> Subject: [PHP-INST] A newbie question


BB> Hi, list.
BB> I'm a newbie in UNIX, so this might be a stupid question.
BB> Anyway, I've installed php-4.3.1 as a loadable module for
BB> apache-1.3.27. (apache configured: ./configure --enable-so; php
BB> configured: ./configure --with-apxs=/usr/local/apache/bin/apxs
BB> --with-mysql).
BB> Installation of both goes fine. Then I copy php.ini-dist to
BB> /usr/local/lib/php.ini. After that I've modified httpd.conf:
BB> AddType
BB> Application/x-httpd-php .php. I didn't modify anything else.
BB> Apache starts ok, but when I try to execute some php script,
BB> it gives
BB> me "Internal server error 500".
BB> I use FreeBSD-4.6.2.
BB> Please, tell me what am I doing wrong.


BB> -- 
BB> PHP Install Mailing List (http://www.php.net/)
BB> To unsubscribe, visit: http://www.php.net/unsub.php




I've tried
<html>
<body>
<?php
phpinfo();
?>
</body>
</htm>
It gave me an error.
Even this:
<html>
<body>
some text
</body>
</htm>
if saved with a .php extension doesn't work.


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to