Re: Configuration of Apache Server - Thanks for advice
| From: | Craig Smith | Date: | Sun, 19 Jan 2003 18:03:04 +0000 |
| Subject: | Re: Configuration of Apache Server - Thanks for advice | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-17977@lists.php.net to get a copy of this message | ||
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" <scarr@progbits.com> wrote in message
news:1042992918.3e2acf16e7eff@progbits.com...
> 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 <chris@kranz.com>:
>
> > 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:craigsmith44@blueyonder.co.uk]
> > Sent: Saturday, January 18, 2003 5:17 PM
> > To: php-windows@lists.php.net
> > 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/