Re: Problems in php
| From: | Richard Lynch | Date: | Tue, 07 Aug 2007 23:58:04 +0000 |
| Subject: | Re: Problems in php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260360@lists.php.net to get a copy of this message | ||
On Tue, August 7, 2007 8:09 am, racol wrote:
> I have installed a Sambar 64 server and PHP 4.7 plus MySql. I connect
> through localhost and the PHPINFO.php file works OK on IE and Firefox.
> PHPINFO.php shows that the php.ini file is situated in C:/Windows as
> advised and I have altered the error_log and extensions_dir as advised
> by Sambar.
If phpinfo() *only* says "C:/Windows" and not "C:/Windows/php.ini"
then PHP *looked* for php.ini in C:/Windows, but it wasn't there, or
wasn't readable.
> The problem is:
>
> When I try to run a php file, either to connect to MySql OR just a
> simple Create Button file, neither browser will output either file. I
> get no error messages and the error logs show nothing significant. I
> just get the html source code (NONE of the php code) when I
> interrogate 'view source' in IE and just a blank in Firefox.
I wouldn't expect a MySQL connection statement to output anything if
it works. :-)
> Can you please advise. I don't know where to look next. I attach the
> two test files for your perusal.
Attachments were stripped, as they probably should have been.
Use pastebin.com or something similar.
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?