public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ole Markus With" <olemarkus@olemarkus.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/php:master commit in: docs/
Date: Sun,  5 Jun 2011 12:29:43 +0000 (UTC)	[thread overview]
Message-ID: <5b6d655f90f71add58510e7c289c72b7c1424c29.ole_markus_with@gentoo> (raw)

commit:     5b6d655f90f71add58510e7c289c72b7c1424c29
Author:     Ole Markus With <olemarkus <AT> olemarkus <DOT> org>
AuthorDate: Sun Jun  5 12:25:10 2011 +0000
Commit:     Ole Markus With <olemarkus <AT> olemarkus <DOT> org>
CommitDate: Sun Jun  5 12:29:22 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/php.git;a=commit;h=5b6d655f

Removed documentation on old fcgi setup. No longer want users to use that one.

---
 docs/php-installing.xml |  128 -----------------------------------------------
 1 files changed, 0 insertions(+), 128 deletions(-)

diff --git a/docs/php-installing.xml b/docs/php-installing.xml
index 539207e..a1fad09 100644
--- a/docs/php-installing.xml
+++ b/docs/php-installing.xml
@@ -21,134 +21,6 @@ This document will guide you through installing PHP on Gentoo
 <date>2011-02-13</date>
 
 <chapter>
-<title>Installing PHP FastCGI </title>
-
-<section>
-<body>
-<warn>Discouraged for PHP 5.3.3 and newer</warn>
-</body>
-</section>
-
-<section>
-<title>Emerging PHP</title>
-
-<body>
-<p>
-PHP has a huge number of USE flags available. Luckily, the USE flags that the
-PHP ebuilds set by default are fairly sane so the only one we need to add is 
-the cgi USE flag, which gives us the FastCGI server API. I find that enabling
-cgi as a global USE flag in <path>/etc/make.conf</path> is a bad idea as I do not
-care about enabling cgi support for every single package in the tree that
-support such a thing. If you are like me, adding it to
-<path>/etc/portage/package.use</path> is what you want. Just drop the following line
-in there:
-</p>
-
-<pre caption="/etc/portage/package.use">
-dev-lang/php cgi
-</pre>
-
-<p>
-That is about all the configuration you need for PHP. Now, emerge!</p>
-
-<pre caption="Installing PHP">
-<i>emerge -av php</i>
-</pre>
-
-</body>
-</section>
-<section>
-<title>configuring Apache2</title>
-
-<body>
-<p>
-Apache is a trusted member of the LAMP stack and probably the webserver that
-the most people are familiar with. In addition to www-servers/apache, we need
-to install another package to get fastcgi working: <c>www-apache/mod_fastcgi</c>.
-</p>
-
-<pre caption="Install what we need">
-<i>emerge -av apache mod_fastcgi</i>
-</pre>
-
-
-<p>After all has been installed, simply enable it in:</p>
-<pre caption="/etc/conf.d/apache">
-<var>APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D LANGUAGE -D USERDIR -D FASTCGI"</var>
-</pre>
-
-<p>Once that is done, drop the following into <path>/etc/apache2/vhosts.d/00_default_vhost.conf</path></p>
-
-<pre caption="/etc/apache2/vhosts.d/00_default_vhost.conf">
-
-Listen 80
-
-NameVirtualHost *:80
-
-
-&lt;VirtualHost *:80>
-        ServerName localhost
- 
-        DocumentRoot /var/www/localhost/htdocs/
- 
-        &lt;IfModule mpm_peruser_module>
-                ServerEnvironment apache apache
-        &lt;/IfModule>
-         AddHandler php5-fastcgi .php
-         FastCgiServer /usr/lib/php5.2/bin/php-cgi
- 
-        &lt;Directory /var/www/localhost/htdocs/>
-        Order deny,allow
-        Allow from all
- 
-        &lt;/Directory>
- 
-&lt;/VirtualHost>
-
-</pre>
-
-<p>That is it. Now start apache</p>
-
-<pre caption="Start apache">
-<i>/etc/init.d/apache2 start</i>
-</pre>
-
-<p>Put something like the following into <path>/var/www/localhost/htdocs/index.php</path></p>
-
-<pre caption="PHP test code">
-&lt;?php
-phpinfo();
-</pre>
-
-
-<p>That is it. Now you should be able to enter <uri link="http://localhost/index.php">http://localhost/index.php</uri> to test your setup.</p>
-
-</body>
-</section>
-<section>
-<title>Configuring lighttpd</title>
-
-<body>
-
-<p>First, make sure that you have the php USE flag enabled in your system. Revisit your /etc/portage/package.use is what and append the following:</p>
-<pre caption="/etc/portage/package.use">
-www-server/lighttpd php
-</pre>
-
-<p>Then emerge lighttpd</p>
-
-<pre caption="Install lighttpd">
-<i>emerge -av lighttpd</i>
-</pre>
-
-
-<p>That is basically it. The configuration files that comes with lighttpd should work out of the box, and you should be able to see your site at
-<uri link="http://localhost/index.php">http://localhost/index.php</uri></p>
-</body>
-</section>
-</chapter>
-
-<chapter>
 <title>Installing PHP FPM </title>
 <section>
 <body>



             reply	other threads:[~2011-06-05 12:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-05 12:29 Ole Markus With [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-06-05 12:29 [gentoo-commits] proj/php:master commit in: docs/ Ole Markus With
2011-06-05 12:29 Ole Markus With
2011-02-15 17:39 Ole Markus With
2011-02-13 15:45 Ole Markus With
2011-02-13 15:21 Ole Markus With
2011-02-13 15:21 Ole Markus With
2011-02-13 15:21 Ole Markus With

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5b6d655f90f71add58510e7c289c72b7c1424c29.ole_markus_with@gentoo \
    --to=olemarkus@olemarkus.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox