|
Posted by joeblow on 06/10/06 10:55
"-Lost" <spam_ninjaREMOVEME@REMOVEMEcomcast.net> wrote in message
news:BZ-dnVfxpd0dWBTZnZ2dnUVZ_oGdnZ2d@comcast.com...
> As far as I can tell (after testing it myself) you need:
>
> http://us3.php.net/get/php_manual_en.tar.gz/from/a/mirror
I had a feeling this might've been part of the problem. I was hoping that it
wasn't, but I'll give it a shot.
>
> It is the *many* HTML files version. Then, what I personally did was set
up a VirtualHost
> for "php" and modified my hosts file (%WinDir%\system32\drivers\etc\hosts)
to:
>
> 127.0.0.1 php
>
> No need to worry, typing in php.net will still get you to www.php.net.
>
> Now, in this fashion instead of my original:
>
> docref_root = http://www.php.net/
>
> I have:
>
> docref_root = http://php/
> docref_ext = ".html"
>
> And in my vhost.conf (which I include via httpd.conf in Apache):
>
> ## php manual many html files
> <VirtualHost *>
> ServerName local-php_manual_html
> ServerAlias *php*
> ServerAdmin admin@local-php_manual_html
>
> DocumentRoot "D:/sites/php_manual_en/_html"
>
> <Directory "D:/sites/php_manual_en/_html">
> AllowOverride None
> </Directory>
> </VirtualHost>
>
> The thing is, using "html_errors" you cannot use CHM. Might be why it is
not called
> "chm_errors". (Yeah, I know, har har very funny.)
:-)
Yeah, I knew deep down in the darkness that .chm wasn't going to get it, but
being fresh off the boat I rationalized: "What do *I* know?"
>
> Also, I initially tried:
>
> docref_root = "/sites/php_manual_en/_html"
>
> ...to see what would happen. It appended /sites/php_manual_en/_html to
*every* single
> site I hosted on my local server. Which would obviously mean I need a
copy in each site's
> parent folder (or maybe a symbolic link of some kind?).
Wow. I believe I better get back to the manuals and so some more reading. I
feel like I've missed a huge amount of instruction here.
>
> Also, I tried:
> file:///D:\sites\php_manual_en\_html\
>
> ...because Firefox kept saying "Cannot blah blah because D: is
unrecognized" or some
> shite. So, anyway...
>
> ...long story sort of short, I found it easiest to create another "site"
so that I could
> point it to http rather than file.
Now here is where the doors are opening. I'm still not thinking of my local
little world here as being a simulation of the www and that I need to
include the server in the equation and treat it as such. I find myself
overlooking this *little detail* every so often.
>
> Sorry, that took so long. If I did not have to test it myself it would
have been a short
> quick response that might not have helped you. Hopefully in me rambling,
you found some
> justice to this problem.
>
> Hope it helps, if not, post again.
>
> P.S. I read that docref_ext is .html by default, um... I could not
reproduce that AT ALL.
> Also, you do not need to put .html in quotes, but who really cares?
php.ini sure does
> not.
>
> -Lost
>
>
Thank you very much. You've opened all kinds of doors for me. 90% of the joy
is the struggling ride anyways, eh?
Navigation:
[Reply to this message]
|