[PHP-DOC] cvs: phpdoc /en/install/unix gentoo.xml index.xml
nlopess Sun Jan 22 21:36:34 2006 UTC Removed files: /phpdoc/en/install/unix gentoo.xml Modified files: /phpdoc/en/install/unix index.xml Log: remove the gentoo install page as it is outdated and not relevant anymore because now gentoo provides itself the install instructions http://cvs.php.net/viewcvs.cgi/phpdoc/en/install/unix/index.xml?r1=1.5r2=1.6diff_format=u Index: phpdoc/en/install/unix/index.xml diff -u phpdoc/en/install/unix/index.xml:1.5 phpdoc/en/install/unix/index.xml:1.6 --- phpdoc/en/install/unix/index.xml:1.5Wed Jul 6 11:15:46 2005 +++ phpdoc/en/install/unix/index.xmlSun Jan 22 21:36:34 2006 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.5 $ -- +!-- $Revision: 1.6 $ -- chapter id=install.unix titleInstallation on Unix systems/title para @@ -94,7 +94,6 @@ install.unix.openbsd; install.unix.solaris; !-- distribution specific nodes -- - install.unix.gentoo; install.unix.debian; /chapter
[PHP-DOC] cvs: phpdoc /en/install/unix gentoo.xml
hsc Fri Jan 7 20:20:07 2005 EDT Modified files: /phpdoc/en/install/unix gentoo.xml Log: typo http://cvs.php.net/diff.php/phpdoc/en/install/unix/gentoo.xml?r1=1.3r2=1.4ty=u Index: phpdoc/en/install/unix/gentoo.xml diff -u phpdoc/en/install/unix/gentoo.xml:1.3 phpdoc/en/install/unix/gentoo.xml:1.4 --- phpdoc/en/install/unix/gentoo.xml:1.3 Thu Aug 12 21:00:42 2004 +++ phpdoc/en/install/unix/gentoo.xml Fri Jan 7 20:20:07 2005 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- sect1 id=install.unix.gentoo titleGentoo installation notes/title para @@ -22,7 +22,7 @@ simpara The first decision you need to make is whether you want to install Apache 1.3.x or Apache 2.x. While both can be used with PHP, the -steps given bellow will use Apache 1.3.x. Another thing to consider +steps given below will use Apache 1.3.x. Another thing to consider is whether your local Portage tree is up to date. If you have not updated it recently, you need to run commandemerge sync/command before anything else. This way, you will be using the most recent
[PHP-DOC] cvs: phpdoc /en/install/unix gentoo.xml index.xml /entities global.ent
ohill Mon Jun 14 16:58:34 2004 EDT Added files: /phpdoc/en/install/unix gentoo.xml Modified files: /phpdoc/entitiesglobal.ent /phpdoc/en/install/unix index.xml Log: Initial version of Installing PHP on Gentoo Linux http://cvs.php.net/diff.php/phpdoc/entities/global.ent?r1=1.186r2=1.187ty=u Index: phpdoc/entities/global.ent diff -u phpdoc/entities/global.ent:1.186 phpdoc/entities/global.ent:1.187 --- phpdoc/entities/global.ent:1.186Fri Jun 11 05:10:02 2004 +++ phpdoc/entities/global.ent Mon Jun 14 16:58:34 2004 @@ -1,6 +1,6 @@ !-- -*- SGML -*- - $Id: global.ent,v 1.186 2004/06/11 09:10:02 nlopess Exp $ + $Id: global.ent,v 1.187 2004/06/14 20:58:34 ohill Exp $ Contains global macros for all the XML documents. @@ -94,6 +94,9 @@ !ENTITY url.fribidi http://fribidi.sourceforge.net/; !ENTITY url.gd http://www.boutell.com/gd/; !ENTITY url.gdbm ftp://ftp.gnu.org/pub/gnu/gdbm/; +!ENTITY url.gentoo http://www.gentoo.org/; +!ENTITY url.gentoo.forums http://forums.gentoo.org/; +!ENTITY url.gentoo.portage http://www.gentoo.org/doc/en/portage-manual.xml; !ENTITY url.gettext http://www.gnu.org/software/gettext/gettext.html; !ENTITY url.gettext.docs http://www.gnu.org/software/gettext/manual/gettext.html; !ENTITY url.gmp http://www.swox.com/gmp/; http://cvs.php.net/diff.php/phpdoc/en/install/unix/index.xml?r1=1.1r2=1.2ty=u Index: phpdoc/en/install/unix/index.xml diff -u phpdoc/en/install/unix/index.xml:1.1 phpdoc/en/install/unix/index.xml:1.2 --- phpdoc/en/install/unix/index.xml:1.1Tue Jun 8 17:47:58 2004 +++ phpdoc/en/install/unix/index.xmlMon Jun 14 16:58:34 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.1 $ -- +!-- $Revision: 1.2 $ -- chapter id=install.unix titleInstallation on Unix systems/title para @@ -80,6 +80,7 @@ the link linkend=install.problemsProblems section/link. /para + install.unix.gentoo; install.unix.hpux; install.unix.openbsd; install.unix.solaris; http://cvs.php.net/co.php/phpdoc/en/install/unix/gentoo.xml?r=1.1p=1 Index: phpdoc/en/install/unix/gentoo.xml +++ phpdoc/en/install/unix/gentoo.xml ?xml version=1.0 encoding=iso-8859-1? !-- $Revision: 1.1 $ -- sect1 id=install.unix.gentoo titleGentoo installation notes/title para This section contains notes and hints specific to installing PHP on ulink url=url.gentoo;Gentoo Linux/ulink. /para sect2 id=install.unix.gentoo.portage titleUsing Portage (emerge)/title simpara While you can just download the PHP source and compile it youself, using Gentoo's packaging system is the simplest and cleanest method of installing PHP. If you are not familiar with building software on Linux, this is the way to go. /simpara simpara If you have built your Gentoo system so far, you are probably used to Portage already. Installing Apache and PHP is no different than the other system tools. /simpara simpara The first decision you need to make is whether you want to install Apache 1.3.x or Apache 2.x. While both can be used with PHP, the steps given bellow will use Apache 1.3.x. Another thing to consider is whether your local Portage tree is up to date. If you have not updated it recently, you need to run commandemerge sync/command before anything else. This way, you will be using the most recent stable version of Apache and PHP. /simpara simpara Now that everything is in place, you can use the following example to install Apache and PHP: /simpara example id=install.unix.gentoo.portage.example titleGentoo Install Example with Apache 1.3/title programlisting role=shell ![CDATA[ # emerge \apache-2 # USE=-* emerge php mod_php # ebuild /var/db/pkg/dev-php/mod_php-your PHP version/mod_php-your PHP version.ebuild config # nano /etc/conf.d/apache Add -D PHP4 to APACHE_OPTS # rc-update add apache default # /etc/init.d/apache start ]] /programlisting /example simpara You can read more about emerge in the excellent ulink url=url.gentoo.portage;Portage Manual/ulink provided on the Gentoo website. /simpara simpara If you need to use Apache 2, you can simply use commandemerge apache/command in the last example. /simpara /sect2 sect2 id=install.unix.gentoo.config titleBetter control on configuration/title simpara In the last section, PHP was emerged without any activated modules. As of this writing, the only module activated by default with Portage is XML which is needed by ulink url=url.php.pear;PEAR/ulink. This may not be what you want and you will soon discover that you need more activated module (like MySQL, gettext, GD, etc.) /simpara simpara When you compile PHP from source yourself, you need to activate modules via the commandconfigure/command command. With Gentoo, you can simply provide USE flags which
[PHP-DOC] cvs: phpdoc /en/install/unix gentoo.xml
gobaMon Jun 14 17:27:26 2004 EDT Modified files: /phpdoc/en/install/unix gentoo.xml Log: small WS fix and a grammatical one http://cvs.php.net/diff.php/phpdoc/en/install/unix/gentoo.xml?r1=1.1r2=1.2ty=u Index: phpdoc/en/install/unix/gentoo.xml diff -u phpdoc/en/install/unix/gentoo.xml:1.1 phpdoc/en/install/unix/gentoo.xml:1.2 --- phpdoc/en/install/unix/gentoo.xml:1.1 Mon Jun 14 16:58:34 2004 +++ phpdoc/en/install/unix/gentoo.xml Mon Jun 14 17:27:26 2004 @@ -1,10 +1,10 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.1 $ -- +!-- $Revision: 1.2 $ -- sect1 id=install.unix.gentoo titleGentoo installation notes/title para - This section contains notes and hints specific to installing - PHP on ulink url=url.gentoo;Gentoo Linux/ulink. + This section contains notes and hints specific to installing + PHP on ulink url=url.gentoo;Gentoo Linux/ulink. /para sect2 id=install.unix.gentoo.portage titleUsing Portage (emerge)/title @@ -64,7 +64,7 @@ As of this writing, the only module activated by default with Portage is XML which is needed by ulink url=url.php.pear;PEAR/ulink. This may not be what you want and you will soon discover that you need -more activated module (like MySQL, gettext, GD, etc.) +more activated modules, like MySQL, gettext, GD, etc. /simpara simpara When you compile PHP from source yourself, you need to activate modules
Re: [PHP-DOC] cvs: phpdoc /en/install/unix gentoo.xml index.xml /entities global.ent
Olivier Hill rta: ohill Mon Jun 14 16:58:34 2004 EDT Added files: /phpdoc/en/install/unix gentoo.xml Modified files: /phpdoc/entities global.ent /phpdoc/en/install/unix index.xml Log: Initial version of Installing PHP on Gentoo Linux Perfect. I wish we would have such detailed instructions with common errors for all platforms and servers. Although I have no experience with Gentoo, the instructions seem to be fine. If you have some experience with other platforms, please look around their XML files too, and provide patches in case you find errors/omissions. Goba
Re: [PHP-DOC] cvs: phpdoc /en/install/unix gentoo.xml index.xml /entities global.ent
Gabor Hojtsy wrote: Perfect. I wish we would have such detailed instructions with common errors for all platforms and servers. Although I have no experience with Gentoo, the instructions seem to be fine. If you have some experience with other platforms, please look around their XML files too, and provide patches in case you find errors/omissions. Goba Well.. I hope it's complete, because I never use Gentoo's packaging system for PHP, I like the old fashion ./configure way ;) Also, there is no easy way to compile PHP5 or CVS HEAD with Portage. I've contacted the maintainer of the package at Gentoo, I'm hoping for some feedback about the instructions. As for the other instructions, I'll look at them when I have to compile PHP for that particular platform. Currently this may be MacOS X and Windows. Sincerely, Olivier