Thanks for advice. It turned out to be something simple as you would expect. Browsed using the the path http://localhost/test.php and it worked.
Regards Craig Smith "Scott Carr" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > You need to put the file under <apache drive>\Program Files\Apache > Group\Apache\htdocs > > That is the normal path for default apache. > -- > Scott Carr > Documentation Maintainer > http://documentation.openoffice.org > OpenOffice.org > > > Quoting Chris Kranz <[EMAIL PROTECTED]>: > > > Make sure your browsing to the file thru your webserver... > > > > http://localhost/test.php > > > > and not locally... > > > > file://c:/www/test.php > > > > for instance... other than this, I've had this problem, but it was > > configuration errors in httpd.conf. double check everything in here... > > > > chris kranz > > fatcuban.com > > > > > > -----Original Message----- > > From: Craig Smith [mailto:[EMAIL PROTECTED]] > > Sent: Saturday, January 18, 2003 5:17 PM > > To: [EMAIL PROTECTED] > > Subject: [PHP-WIN] Configuration of Apache Server > > > > Problem: > > > > When trying to open a test.php file containing a simple test php script, > > windows prompts for program to open file with. Apache is running from > > the > > console as opposed to a service. > > > > *PHP Installation* > > > > PHP version 4.3.0 installed from php-4.3.0-installer.exe. Also > > downloaded > > the zip file php-4.3.0-Win32.zip > > > > Install directory d:\program files\php > > > > Followed details in install.txt file from php install routine. Running > > from > > php.exe as opposed to dll. > > > > This included copying bundled dll files from zip file to windows\system > > directory. > > > > *MDAC Installation* > > > > Installed Microsoft Data Access Components version 2.6 as downloade form > > Microsoft Website. > > > > *Apache Server Installation* > > > > Apache Server version 1.3.23 installed. > > > > Install directory d:\Program Files\Apache > > > > Configured httpd.conf as per details in install.txt . This took account > > of > > where php install location. > > > > Suspect that the test.php file needs to be in a particular location to > > be > > picked up by php. Is where is this defined. > > > > Regard > > > > Craig Smith > > > > > > > > -- > > PHP Windows Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > -- > > PHP Windows Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php