svn: /phpdoc/en/trunk/ appendices/about.xml faq/installation.xml install/macos/server.xml install/unix/apache1.xml install/unix/apache2.xml
install/windows/manual.xml security/magicquotes.xml

From: Date: Fri, 25 Sep 2009 12:48:14 +0000
Subject: svn: /phpdoc/en/trunk/ appendices/about.xml faq/installation.xml install/macos/server.xml install/unix/apache1.xml install/unix/apache2.xml
install/windows/manual.xml security/magicquotes.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-4984@lists.php.net to get a copy of this message
rquadling Fri, 25 Sep 2009 12:48:14 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=288791 Log: INI Files are development and production. Fix #49667 Bug: http://bugs.php.net/49667 (Closed) Documentation php.ini filenames don't match the zip Changed paths: U phpdoc/en/trunk/appendices/about.xml U phpdoc/en/trunk/faq/installation.xml U phpdoc/en/trunk/install/macos/server.xml U phpdoc/en/trunk/install/unix/apache1.xml U phpdoc/en/trunk/install/unix/apache2.xml U phpdoc/en/trunk/install/windows/manual.xml U phpdoc/en/trunk/security/magicquotes.xml Modified: phpdoc/en/trunk/appendices/about.xml =================================================================== --- phpdoc/en/trunk/appendices/about.xml 2009-09-25 12:43:41 UTC (rev 288790) +++ phpdoc/en/trunk/appendices/about.xml 2009-09-25 12:48:14 UTC (rev 288791) @@ -291,8 +291,8 @@ </para> <para> Many times the PHP manual lists "Default Values" for PHP directives. These - values are based on <filename>php.ini-dist</filename> and not - <filename>php.ini-recommended</filename>. They also refer to the latest + values are based on <filename>php.ini-development</filename> and not + <filename>php.ini-production</filename>. They also refer to the latest version of PHP. See the <link linkend="ini.list">PHP directive appendix</link> for details on these values and changes. </para> Modified: phpdoc/en/trunk/faq/installation.xml =================================================================== --- phpdoc/en/trunk/faq/installation.xml 2009-09-25 12:43:41 UTC (rev 288790) +++ phpdoc/en/trunk/faq/installation.xml 2009-09-25 12:48:14 UTC (rev 288791) @@ -62,7 +62,7 @@ <programlisting role="shell"> --with-config-file-path=/etc </programlisting> - And then you would copy <filename>php.ini-dist</filename> from + And then you would copy <filename>php.ini-development</filename> from the distribution to <filename>/etc/php.ini</filename> and edit it to make any local changes you want. </para> Modified: phpdoc/en/trunk/install/macos/server.xml =================================================================== --- phpdoc/en/trunk/install/macos/server.xml 2009-09-25 12:43:41 UTC (rev 288790) +++ phpdoc/en/trunk/install/macos/server.xml 2009-09-25 12:48:14 UTC (rev 288791) @@ -94,12 +94,12 @@ </listitem> <listitem> <simpara> - Copy and rename the <filename>php.ini-dist</filename> file to your + Copy and rename the <filename>php.ini-development</filename> file to your <filename class="directory">bin</filename> directory from your PHP 4 source directory: - <userinput>cp php.ini-dist /usr/local/bin/php.ini</userinput> + <userinput>cp php.ini-development /usr/local/bin/php.ini</userinput> or (if your don't have a local directory) - <userinput>cp php.ini-dist /usr/bin/php.ini</userinput>. + <userinput>cp php.ini-development /usr/bin/php.ini</userinput>. </simpara> </listitem> </orderedlist> Modified: phpdoc/en/trunk/install/unix/apache1.xml =================================================================== --- phpdoc/en/trunk/install/unix/apache1.xml 2009-09-25 12:43:41 UTC (rev 288790) +++ phpdoc/en/trunk/install/unix/apache1.xml 2009-09-25 12:48:14 UTC (rev 288791) @@ -55,13 +55,13 @@ 13. Setup your php.ini file: - cp php.ini-dist /usr/local/lib/php.ini + cp php.ini-development /usr/local/lib/php.ini You may edit your .ini file to set PHP options. If you prefer your php.ini in another location, use --with-config-file-path=/some/path in step 10. - If you instead choose php.ini-recommended, be certain to read the list + If you instead choose php.ini-production, be certain to read the list of changes within, as they affect how PHP behaves. 14. Edit your httpd.conf to load the PHP module. The path on the right hand @@ -139,7 +139,7 @@ it is your first install then you need to "make install" as well) 13. cd ../php-5.x.y -14. cp php.ini-dist /usr/local/lib/php.ini +14. cp php.ini-development /usr/local/lib/php.ini 15. You can edit /usr/local/lib/php.ini file to set PHP options. Edit your httpd.conf or srm.conf file and add: Modified: phpdoc/en/trunk/install/unix/apache2.xml =================================================================== --- phpdoc/en/trunk/install/unix/apache2.xml 2009-09-25 12:43:41 UTC (rev 288790) +++ phpdoc/en/trunk/install/unix/apache2.xml 2009-09-25 12:48:14 UTC (rev 288791) @@ -74,13 +74,13 @@ 13. Setup your php.ini - cp php.ini-dist /usr/local/lib/php.ini + cp php.ini-development /usr/local/lib/php.ini You may edit your .ini file to set PHP options. If you prefer having php.ini in another location, use --with-config-file-path=/some/path in step 10. - If you instead choose php.ini-recommended, be certain to read the list + If you instead choose php.ini-production, be certain to read the list of changes within, as they affect how PHP behaves. 14. Edit your httpd.conf to load the PHP module. The path on the right hand Modified: phpdoc/en/trunk/install/windows/manual.xml =================================================================== --- phpdoc/en/trunk/install/windows/manual.xml 2009-09-25 12:43:41 UTC (rev 288790) +++ phpdoc/en/trunk/install/windows/manual.xml 2009-09-25 12:48:14 UTC (rev 288791) @@ -117,9 +117,9 @@ | |-... | - |-php.ini-dist -- default php.ini settings + |-php.ini-development -- default php.ini settings | - |-php.ini-recommended -- recommended php.ini settings + |-php.ini-production -- recommended php.ini settings | |-php4ts.dll -- core PHP DLL | @@ -177,9 +177,9 @@ | |-... | - |-php.ini-dist -- default php.ini settings + |-php.ini-development -- default php.ini settings | - |-php.ini-recommended -- recommended php.ini settings + |-php.ini-production -- recommended php.ini settings | |-php5activescript.dll | @@ -297,12 +297,12 @@ <para> The next step is to set up a valid configuration file for PHP, &php.ini;. There are two ini files distributed in the zip file, - <filename>php.ini-dist</filename> and - <filename>php.ini-recommended</filename>. We advise you to use - <filename>php.ini-recommended</filename>, because we optimized the + <filename>php.ini-development</filename> and + <filename>php.ini-production</filename>. We advise you to use + <filename>php.ini-production</filename>, because we optimized the default settings in this file for performance, and security. Read this well documented file carefully because it has changes from - <filename>php.ini-dist</filename> that will drastically affect your + <filename>php.ini-development</filename> that will drastically affect your setup. Some examples are <link linkend="ini.display-errors"> display_errors</link> being <literal>off</literal> and <link linkend="ini.magic-quotes-gpc">magic_quotes_gpc</link> being Modified: phpdoc/en/trunk/security/magicquotes.xml =================================================================== --- phpdoc/en/trunk/security/magicquotes.xml 2009-09-25 12:43:41 UTC (rev 288790) +++ phpdoc/en/trunk/security/magicquotes.xml 2009-09-25 12:48:14 UTC (rev 288791) @@ -115,8 +115,8 @@ <function>addslashes</function>) at runtime is more efficient. </simpara> <simpara> - Although <filename>php.ini-dist</filename> enables these directives - by default, <filename>php.ini-recommended</filename> disables it. + Although <filename>php.ini-development</filename> enables these directives + by default, <filename>php.ini-production</filename> disables it. This recommendation is mainly due to performance reasons. </simpara> </listitem>

« previous php.doc.cvs (#4984) next »