MARC
Mailing list ARChives
FOLDOC
Computing Dictionary
PHP 4 CVS Bash Script
Title: PHP 4 CVS Bash Script
Contributor: Randall Goguen (aka Ranman)
Last Update: Monday August 14 23:26 EDT 2000
#!/bin/sh
#
# This bash script fetches the latest PHP 4.0 source tree obtain
# through CVS.
#
# Randall Goguen (aka Ranman)
# ranman@nbnet.nb.ca
#
# Note: If you want --enable-bcmath=yes
# get http://www.php.net/extra/number4.tar.gz and
# un tar it in /usr/local/php4
#
if [ -s ~/.cvsrc ]; then {
mv ~/.cvsrc ~/.cvsrc.bak
echo "Moving ~/.cvsrc to ~/.cvsrc.bak" }
else {
echo "Creating ~/.cvsrc" }
fi
echo "cvs -z3" > ~/.cvsrc; echo "update -d -P" >> ~/.cvsrc
echo "checkout -P" >> ~/.cvsrc; echo "diff -u" >> ~/.cvsrc
cd /usr/local
echo "phpfi\n" > cvs -d :pserver:cvsread@cvs.php.net:/repository login
cvs -d :pserver:cvsread@cvs.php.net:/repository co php4
cd /usr/local/php4
cvs -d :pserver:cvsread@cvs.php.net:/repository co phpdoc
echo "zend\n" > cvs -d :pserver:cvsread@cvs.zend.com:/repository login
cvs -d :pserver:cvsread@cvs.zend.com:/repository co Zend TSRM
make distclean; /usr/local/php4/buildconf
echo "Done downloading php4, Zend, TSRM and phpdoc"
echo "Now cd /usr/local/php4/ and proceed normaly with"
echo "\`./configure [options]\`"
echo "then \`make; make install\`"
Download this script
Anyone who wishes to make additions or changes to this
PHP Tip email them to webmaster@linuxguruz.org
This document is Copyright (c) 1999 by LinuxGuruz
Return to the LinuxGuruz PHP Tutorials Page Return to the LinuxGuruz Main Page
www.PHP.net Search Engine
Restrict the search to:
Whole site
Online documentation
PHP 3.0 Mailing List
PHP Developers' List
PHP Documentation List
PHPLIB Mailing List
PHPLIB Developers' List
Site PHP 3.0 source code
Copyright © 1999, 2000 The PHP Development Team.
Return to the LinuxGuruz PHP Tutorials Page
Return to the LinuxGuruz Main Page