mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
The documentation regarding apache install is contradictory. A user needs
to compile and install apache before they can specify the --wiith-apxs option. Since apxs is the method of choice instructions have been updated to reflect this. Added --enable-module=so for completeness. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@70014 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
6474b688f2
commit
0d524d142f
1 changed files with 14 additions and 11 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<sect1 id="install.apache">
|
||||
<title>Servers-Apache</title>
|
||||
<para>
|
||||
|
@ -8,7 +8,7 @@
|
|||
<link linkend="install.apache.windows">Windows</link> versions.
|
||||
</para>
|
||||
<sect2 id="install.apache.unix">
|
||||
<title>Details of installing PHP with Apache on Unix</title>
|
||||
<title>Details of installing PHP with Apache using on Unix</title>
|
||||
<para>
|
||||
You can select arguments to add to the
|
||||
<command>configure</command> on line 8 below from the <link
|
||||
|
@ -20,7 +20,7 @@
|
|||
|
||||
<example id="install.apache.unix.longer">
|
||||
<title>
|
||||
Installation Instructions (Apache Module Version) for PHP 4
|
||||
Installation Instructions (Apache Shared Module Version) for PHP 4
|
||||
</title>
|
||||
<screen>
|
||||
<![CDATA[
|
||||
|
@ -29,15 +29,18 @@
|
|||
3. gunzip php-xxx.tar.gz
|
||||
4. tar -xvf php-xxx.tar
|
||||
5. cd apache_xxx
|
||||
6. ./configure --prefix=/www
|
||||
7. cd ../php-xxx
|
||||
8. ./configure --with-mysql --with-apxs=/www/bin/apxs
|
||||
9. make
|
||||
10. make install
|
||||
6. ./configure --prefix=/www --enable-module=so
|
||||
7. make
|
||||
8. make install
|
||||
9. cd ../php-xxx
|
||||
10. ./configure --with-mysql --with-apxs=/www/bin/apxs
|
||||
11. make
|
||||
12. make install
|
||||
|
||||
Instead of this step you may prefer to simply copy the httpd binary
|
||||
overtop of your existing binary. Make sure you shut down your
|
||||
server first though.
|
||||
If you decide to change your configure options after installation
|
||||
you only need to repeat the last three steps. You only need to
|
||||
restart apache for the new module to take effect. A recompile of
|
||||
Apache is not needed.
|
||||
|
||||
11. cp php.ini-dist /usr/local/lib/php.ini
|
||||
|
||||
|
|
Loading…
Reference in a new issue