Re: MacOS9+WebTenServer+PHP NOT WORKING!!!
| From: | Robert V. Zwink | Date: | Thu, 27 Jul 2000 21:20:51 +0000 |
| Subject: | Re: MacOS9+WebTenServer+PHP NOT WORKING!!! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-8672@lists.php.net to get a copy of this message | ||
Just a thought:
According to webten manual
PHP 3
PHP is a powerful and complete scripting language, with a rich set of
database interfaces, for creating sophisticated dynamic web content. This
package is a DSO (Dynamic Shared Object) Apache module.
This URL generates a PHP environment table as an example of PHP's
capabilities:
http://hostname.domain/test.php
Your file ends with the extension .php3 Could it be that the server is only
configured to process .php ?
Is what you included in you post the "source" of the html generated, or what
the browerser sees? Please include the full output of the script, "view
source".
Try to create a file test.php with the following contents
<?
phpinfo();
?>
Why is it that when I search www.tenon.com (the makers of webten) I get an
error:
ht://Dig error
htsearch detected an error. Please report this to the webmaster of this
site. The error message is:
Unable to read word database file
'/usr/local/apache/htdig/db/www.tenon.com/db.words.db'
Did you run htmerge?
Why do you suppose it says apache in directory?
-Rob Z.
----- Original Message -----
From: "David C. Brauer" <brauerd@prel.org>
To: <php-general@lists.php.net>
Sent: Thursday, July 27, 2000 4:22 PM
Subject: [PHP] MacOS9+WebTenServer+PHP NOT WORKING!!!
> I just downloaded an evaluation copy of WebTEN server for my Mac OS 9/G4
> server. It is supposed to support PHP ("the Apache server for Macs"),
> but I've only been able to serve up html files from WebTen. When I
> access a .php file or even an html file containing php tags from my own
> browser, it doesn't read the php correctly.
>
> Using the PHP tutorial at http://www.php.net/tut.php, I created
> a file
> named "hello.php3" containing the following lines :
>
> <html><head><title>PHP Test</title></head>
> <body>
> <?php echo "Hello World<P>"; ?>
> </body></html>
>
> and my browser displays this
>
> ";? > (Mac IE)
> (Mac NN--shows nothing)
>
> I thought I had to download PHP but there was no source code available
> for Macs and I thought WebTEN was supposed to support PHP already... why
> isn't my server working with PHP!!?!
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>