cvs: php4 / INSTALL phpdoc/en/chapters install.apache.xml install.configure.servers.xml

From: Date: Sun, 07 Jul 2002 16:44:23 +0000
Subject: cvs: php4 / INSTALL phpdoc/en/chapters install.apache.xml install.configure.servers.xml
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-12741@lists.php.net to get a copy of this message
jan Sun Jul 7 12:44:23 2002 EDT Modified files: /phpdoc/en/chapters install.apache.xml install.configure.servers.xml /php4 INSTALL Log: - fix #16290 Index: phpdoc/en/chapters/install.apache.xml diff -u phpdoc/en/chapters/install.apache.xml:1.10 phpdoc/en/chapters/install.apache.xml:1.11 --- phpdoc/en/chapters/install.apache.xml:1.10 Thu Mar 28 12:16:36 2002 +++ phpdoc/en/chapters/install.apache.xml Sun Jul 7 12:44:23 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <sect1 id="install.apache"> <title>Servers-Apache</title> <para> @@ -189,14 +189,25 @@ <simpara> Apache's default http.conf currently ships with a section that looks like this: - - User nobody - Group "#-1" - + <informalexample> + <programlisting> +<![CDATA[ +User nobody +Group "#-1" +]]> + </programlisting> + </informalexample> Unless you change that to "Group nogroup" or something like that ("Group daemon" is also very common) PHP will not be able to open files. </simpara> - </note> + </note> + <note> + <para> + Make sure you specify the installed version of apxs when using --with-apxs=/path/to/apxs. + You must NOT use the apxs version that is in the apache sources but the one that is actually + installed on your system. + </para> + </note> </sect2> <sect2 id="install.apache.windows"> <title>Installing PHP on Windows with Apache 1.3.x</title> Index: phpdoc/en/chapters/install.configure.servers.xml diff -u phpdoc/en/chapters/install.configure.servers.xml:1.1 phpdoc/en/chapters/install.configure.servers.xml:1.2 --- phpdoc/en/chapters/install.configure.servers.xml:1.1 Fri Jan 11 18:17:16 2002 +++ phpdoc/en/chapters/install.configure.servers.xml Sun Jul 7 12:44:23 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <sect3 id="install.configure.options.servers"> <title>Server options</title> <variablelist> @@ -20,7 +20,9 @@ <listitem> <para> Build shared Apache module. FILE is the optional pathname to the Apache - apxs tool; defaults to apxs. + apxs tool; defaults to apxs. Make sure you specify the version of apxs that + is actually installed on your system and NOT the one that is in the apache + source tarball. </para> </listitem> </varlistentry> @@ -180,4 +182,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> \ No newline at end of file +--> Index: php4/INSTALL diff -u php4/INSTALL:1.24 php4/INSTALL:1.25 --- php4/INSTALL:1.24 Wed May 15 06:23:42 2002 +++ php4/INSTALL Sun Jul 7 12:44:23 2002 @@ -72,6 +72,9 @@ look for it on your system and if you find it, provide the full path to it as: --with-apxs=/path/to/apxs +Make sure you specify the version of apxs that is actually installed on +your system and NOT the one that is in the apache source tarball. + Next you must copy php.ini-dist to the appropriate place (normally /usr/local/lib/php.ini) and edit it as necessary to set PHP options. @@ -160,6 +163,9 @@ look for it on your system and if you find it, provide the full path to it as: --with-apxs=/path/to/apxs + Make sure you specify the version of apxs that is actually installed on + your system and NOT the one that is in the apache source tarball. + You might also want other flags on this configure line. --with-mysql is just an example.

« previous php.cvs (#12741) next »