doc:phd:view

This is an old revision of the document!


Viewing the results

After building the docs you probably want to view them now. You have a few choices:

  • See how it would be online (the php/ folder)
  • Just quickly see the results (the html/ folder)
  • Test how long it takes for your browser to render 20mb xhtml file (the bightml.html file)

Viewing the php/ folder

These files are tightly integrated into www.php.net, so to view them you need a phpweb mirror. This method is currently the only “supported” method as the online manual is the most important one.

(Note; On Windows you are pretty much out of luck regarding instructions on setting up a phpweb mirror, you may try the following instructions but I have no idea if it would work.)

$ rsync -avzC --timeout=600 --delete --delete-after \
    --exclude='manual/**' --exclude='distributions/**' --exclude='extra/**' --exclude='backend/notes/**' \
    rsync.php.net::phpweb /path/to/your/webroot/phpweb
$ ln -s /path/to/phd/php /path/to/your/webroot/phpweb/manual/en

Now locate your webserver configuration file and add a new virtual host. For an example virtual host configuration, see http://www.php.net/mirroring.php#settings. Now restart your webserver. Tada!

Viewing the html/ folder

Do not place the contents of the html/ folder onto your webserver. Especially not if you are running apache2. Just browse to the folder in your faviorite file manager and open the “index.html” file (or any page you are interested in viewing).

Viewing the bightml.html file

Double click it.

doc/phd/view.1205924414.txt.gz · Last modified: 2017/09/22 13:28 (external edit)