1
0
mirror of https://github.com/php/web-php.git synced 2026-03-24 07:12:16 +01:00
Egon Schmid afe31aee00 Wrong URL.
2000-07-29 14:08:45 +00:00
2000-03-07 19:10:35 +00:00
2000-05-22 18:39:30 +00:00
2000-07-28 16:29:50 +00:00
2000-07-28 07:51:40 +00:00
2000-07-24 14:17:58 +00:00
2000-05-22 19:08:45 +00:00
2000-06-23 19:53:02 +00:00
2000-05-22 18:39:30 +00:00
2000-03-22 11:44:29 +00:00
1999-03-25 16:37:59 +00:00
2000-05-22 18:39:30 +00:00
2000-07-29 12:15:08 +00:00
2000-07-24 19:59:48 +00:00
2000-07-25 21:59:28 +00:00
2000-07-24 13:52:02 +00:00
2000-06-28 21:22:20 +00:00
2000-04-05 00:04:28 +00:00
1998-06-06 15:06:50 +00:00
1999-03-30 19:40:47 +00:00
1998-06-18 23:29:28 +00:00
1998-10-28 02:05:44 +00:00
1998-07-25 00:07:59 +00:00
2000-05-22 18:30:01 +00:00
2000-07-23 18:19:19 +00:00
2000-05-16 18:20:32 +00:00
2000-06-22 16:57:03 +00:00
2000-02-23 22:00:50 +00:00
2000-06-23 19:53:02 +00:00
2000-05-22 18:30:01 +00:00
2000-07-22 22:29:05 +00:00
2000-05-22 18:30:01 +00:00
1999-04-19 18:48:48 +00:00
1999-01-28 04:18:27 +00:00
2000-07-28 17:44:59 +00:00
2000-06-09 16:17:19 +00:00
2000-07-29 14:08:45 +00:00
2000-05-09 19:47:58 +00:00
2000-06-20 17:08:49 +00:00
1999-09-04 22:01:34 +00:00
2000-05-22 18:30:01 +00:00
2000-07-15 20:58:24 +00:00
2000-05-17 09:55:51 +00:00
2000-05-22 18:30:01 +00:00
2000-07-28 16:29:50 +00:00
2000-07-26 12:36:13 +00:00
2000-05-23 20:31:52 +00:00
2000-05-22 18:30:01 +00:00
2000-05-22 18:30:01 +00:00
2000-05-22 18:30:01 +00:00
2000-07-28 22:45:05 +00:00
2000-05-22 18:30:01 +00:00
2000-05-22 18:30:01 +00:00

Here is how to mirror the PHP site:

NOTE: We are not accepting new official mirrors at this time.

First, you need to have a rsync (http://rsync.samba.org/) installed.

Fetch the web files with the following:

   rsync -avzC rsync.php.net::phpweb /your/local/path 

If /your/local/path isn't in your web document tree (why isn't it?), 
then symlink the phpweb/ directory to the correct place on your server.

Now, make sure your web server is set up to serve up .php3 and .php
files as PHP parsed files.  If it isn't, add the mime-type to your config.

Rename the configuration.inc-dist file to configuration.inc and edit it
appropriately.  Set $failover_user_notes=true to enable a live query
to www.php.net to fetch user contributed manual notes.

Once you create a virtualhost which looks something like:

   <VirtualHost xx.php.net>
   ServerAdmin yourname@yourdomain.com
   DocumentRoot /www/htdocs/phpweb
   ServerName xx.php.net
   ErrorLog logs/error_log
   TransferLog logs/access_log
   DirectoryIndex index.php index.php3 manual.php3 index.html index.htm
   php3_include_path .:./include:../include
   </VirtualHost>

modified to reflect your local paths and country, of course, then your site
should start working.

Note: The official names for PHP mirrors are in the convention: "xx.php.net",
where "xx" is replaced by the 2-letter country code of your mirror's location.
If there already is a "xx.php.net", then you should set up your ServerName to
be "xx2.php.net" (or "xx3.php.net", etc.).  For a list of what's available and
whats taken, have a look at the mirror_list.txt file.

You must also set up a cron job that periodically does an rsync to refresh 
your web directory.  This will ensure that your web site is up to date. 
Something like:

   0,30 * * * * /usr/local/bin/rsync -avzC rsync.php.net::phpweb /your/path

Once you have done the above and your site appears to work, send a message to
mirrors@php.net with the following information, and appropriate steps will be 
taken to integrate your mirror site:

NOTE: We are not currently accepting new official mirror sites.

- Your name and email address as the admin for the mirror.
- Your country (we will update the DNS for php.net).
- Whether or not you've installed local searching support on your mirror.
  This uses ht://Dig (http://www.htdig.org), for which instructions for 
  setting it up can be found in Mirrors-htdig.tgz
- A logo for your hosting company, or the URL of where we can get one.
  The big and better the quality, the better.  We will do the fancy 
  graphics stuff to make it fit into the look of the site.
- The URL of the site that hosts the mirror.  This is where you want
  people will go when they click on the logo at the bottom of each page.

Don't worry about graphics for your country's flag - we've got them all!

You must also sign up to the mirrors mailing list, by sending an empty 
message to:

   php-dev-subscribe@lists.php.net

Traffic is pretty light, and we need to be able to keep in touch with you!

And finally, don't forget to put a nice little PHP logo somewhere on your 
hosting company's site if possible.  Grab one of the logos from the 
"Downloads" page on the PHP site, and link it to your mirror.

25-Jun-1999
Description
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-01-22T16:26:27.645Z
Readme 201 MiB
Languages
PHP 94.4%
CSS 2.6%
JavaScript 2.5%
PowerShell 0.2%
TypeScript 0.2%