PHP relies on a server side interpreter that normally runs under an apache
web server and you reference those files by having your browser fetch those
files through a URL that maps to your PHP files, beginning with something
like http://hostname.com/program.php.  If you opened the files directly with
your browser, you have bypassed the apache server and PHP interpreter, which
of course, would not allow the PHP code to actually be executed.  Not real
sure this is what you might have done, but it's a common mistake.

good luck,

Warren Vail
[EMAIL PROTECTED]

-----Original Message-----
From: Jason Barnett [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 03, 2004 9:13 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: PHP doesnt work!


Gmo Baez wrote:
> Hello, I have a Freebsd server 5.2.1 with Apache 2.0.48 and PHP 4.3.4.
>
> After the installation everything looks normal, but after i created some
PHP
> web files to test it, I found that  PHP is not working.
> When i open de PHP document with the browser i only receive a blank page.
> But if i check the source code, all the PHP code is in there.

What kind of code are you using to test the script?  Not every script
outputs html... have you tried phpinfo()?  It is unclear what your
problem may be from what you've given us.

Jason

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

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

Reply via email to