1
0
mirror of https://github.com/php/web-php.git synced 2026-03-24 07:12:16 +01:00
1998-06-30 17:54:39 +00:00
1998-06-05 14:51:45 +00:00
1998-06-25 16:57:07 +00:00
1998-05-27 13:38:31 +00:00
1998-06-08 10:30:11 +00:00
1998-06-10 23:16:56 +00:00
1998-06-06 15:06:50 +00:00
1998-06-17 22:02:14 +00:00
1998-06-18 23:29:28 +00:00
1998-06-18 23:29:28 +00:00
1998-06-18 17:46:00 +00:00
1998-06-26 00:16:09 +00:00
1998-06-19 21:23:02 +00:00
1998-06-26 19:01:27 +00:00
1998-04-15 18:00:49 +00:00
1998-06-24 16:53:01 +00:00
1998-06-19 02:44:03 +00:00
1998-06-22 15:16:08 +00:00
1998-04-21 23:08:25 +00:00
1998-06-25 14:30:30 +00:00
1998-04-24 19:57:54 +00:00
1998-06-24 16:53:01 +00:00
1998-06-10 14:12:39 +00:00
1998-05-29 20:14:07 +00:00
1998-06-14 14:55:36 +00:00
1998-06-08 15:07:50 +00:00
1998-06-29 05:54:15 +00:00
1998-04-29 13:37:52 +00:00
1998-04-17 10:22:20 +00:00
1998-04-14 19:46:20 +00:00
1998-04-13 13:35:59 +00:00
1998-04-18 11:43:52 +00:00
1998-06-30 17:54:39 +00:00

Here is how to mirror the PHP3 site.

First, you need to have a cvs client.  See http://www.cyclic.com, or grab one
from your local GNU mirror.

Fetch the web files with the following:

   cvs -d:pserver:mirror@ca.php.net:/repository login
   Password: mirror
   cvs -d:pserver:mirror@ca.php.net:/repository co phpweb

Symbolic link the phpweb directory to the correct place on your server.

Now, make sure your web server is set up to serve up .php3 files as PHP3 
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.  

Once you create a virtualhost which looks something like:

 <VirtualHost ca.php.net>
 ServerAdmin rasmus@lerdorf.on.ca
 DocumentRoot /www/htdocs/phpweb
 ServerName ca.php.net
 ErrorLog logs/error_log
 TransferLog logs/access_log
 DirectoryIndex index.phtml 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.

You should also set up a cron job that periodically does a 'cvs update -d' in 
your web directory.  This will ensure that your web site is up to date. 
Something like: 0,30 * * * * (cd <your_path>; /usr/local/bin/cvs update -d)

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

- a logo for your hosting company, or the URL of where we can get one
  (the better the quality, the better)
- the URL of the site that hosts the mirror (this is where people will go when 
  they click on the logo at the bottom of each page)


And don't forget to put a nice little PHP logo on your hosting companies site 
(if possible)!  Grab one of the logos from the "Downloads" page on the PHP site, 
and link it to your mirror.
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%