web:mirror
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
web:mirror [2012/06/05 11:03] – use git bjori | web:mirror [2013/12/05 06:50] – add link to the README file bjori | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ==== Setting up phpweb for local development ==== | ||
+ | |||
+ | See [[https:// | ||
+ | |||
+ | |||
+ | |||
+ | Alternatively, | ||
==== How to create a PHP.net mirror ==== | ==== How to create a PHP.net mirror ==== | ||
Line 43: | Line 50: | ||
- | === The SVN way, but with a hack === | ||
- | |||
- | - Checkout phpweb (svn co https:// | ||
- | - Within phpweb, run this: <code php> | ||
- | <?php | ||
- | // Note: This is a complete hack | ||
- | // Mirror to steal from | ||
- | $mirror = ' | ||
- | |||
- | // Files phpweb needs (typically from rsync box) | ||
- | $files = array(' | ||
- | |||
- | foreach ($files as $file) { | ||
- | file_put_contents($file, | ||
- | } | ||
- | |||
- | // Another required file, let's create it ourselves | ||
- | file_put_contents(' | ||
- | ?> | ||
- | </ | ||
- Make a virtual host, see [[http:// | - Make a virtual host, see [[http:// | ||
- If wanting the PHP Manual too, either: | - If wanting the PHP Manual too, either: |
web/mirror.txt · Last modified: 2023/12/05 12:17 by derick