-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dander --

...and then [EMAIL PROTECTED] said...
% 
...
% and file:/var/www/test1.php could not be found using the browser.
% note that /var/www/test1.php is the only ?/www/? directory found.

I have to hand it to you for your documentation.  You've probably done it
enough to do it in your sleep by now :-) but it's still very helpful for
potential helpers.  Nothing in your procedure looks grossly wrong to me,
but I also haven't installed any of these any time recently.

There is one problem, though.  You're missing the server name spec in
your URL.  Try

  file:///var/www/test1.php

instead; note the two slashes, which are at the beginning of every URL,
and the empty server name (the third slash right up against it).

That, however, will only give you the contents of the file, since php is
parsed by the server instead of the browser.  The trick is that before
you can get the test1.php file you'll have to make sure it's under your
htdocs dir (see your httpd.conf; you didn't mention what you have for
your DocumentRoot setting).

Once you have test1.php in your DocumentRoot dir, try

  http://localhost/test1.php

and see what you get.  By that point you'll probably be in much better
shape :-)

At this point you're still struggling with getting apache configured and
knowing how to talk to it; php and mysql aren't (or don't have to be)
even involved.  I don't have any particular pointers, but if you still
have problems after these steps, start with the apache docs and try to
get something simple like a static html page or an image to come up.


HTH & HAND

mysql query,
:-D
- -- 
David T-G                      * There is too much animal courage in 
(play) [EMAIL PROTECTED] * society and not sufficient moral courage.
(work) [EMAIL PROTECTED]  -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE+OJeyGb7uCXufRwARAo+eAKCjnuQzRlCweqioI+X3BM2r7vawewCgjRJb
/tiNYWhIBnbZKFR00AcIb2w=
=7wym
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to