|
Posted by -Lost on 06/09/06 19:01
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
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.)
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?).
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.
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
Navigation:
[Reply to this message]
|