[evolvis-commits] r13888: Update docs since now magic_quotes_gpc must be Off

mirabilos at evolvis.org mirabilos at evolvis.org
Mon Feb 28 03:33:47 CET 2011


Author: mirabilos
Date: 2011-02-28 03:33:43 +0100 (Mon, 28 Feb 2011)
New Revision: 13888

Modified:
   trunk/gforge_base/evolvisforge-5.1/gforge/INSTALL.TXT
   trunk/gforge_base/evolvisforge-5.1/gforge/INSTALL.restricted
   trunk/gforge_base/evolvisforge-5.1/gforge/contrib/rh8_apache20_config/php.ini
   trunk/gforge_base/evolvisforge-5.1/gforge/docs/docbook/docbook/installation_guide/installation_guide.xml
Log:
Update docs since now magic_quotes_gpc must be Off

Modified: trunk/gforge_base/evolvisforge-5.1/gforge/INSTALL.TXT
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/INSTALL.TXT	2011-02-28 02:33:35 UTC (rev 13887)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/INSTALL.TXT	2011-02-28 02:33:43 UTC (rev 13888)
@@ -187,7 +187,7 @@
 necessary for your php cgi to run the cron jobs.
 
 register_globals = Off
-magic_quotes_gpc = On
+magic_quotes_gpc = Off
 file_uploads = On
 include_path = ".:/opt/gforge/gforge/:/opt/gforge/gforge/www/include/:/etc/gforge/"
 
@@ -195,7 +195,7 @@
 it by running the following command and add the above include_path
 directive there:
 
-$ /usr/bin/php4 -i | fgrep php.ini
+$ /usr/bin/php -i | fgrep php.ini
 
 
 FRS - File Release System
@@ -373,12 +373,6 @@
 Mailman and the FRS uploads dir can also be backed up with tar.
 
 
-Q: Any time i enter an apostrophe in a text box, i get a parse error
-
-A: As stated in the instructions above, you should have magic_quotes_gpc=On
-in your php.ini file
-
-
 Q: Large uploads into FRS or the doc manager fail.
 
 A: Apache and the php.ini file need to have upload limits and possibly 

Modified: trunk/gforge_base/evolvisforge-5.1/gforge/INSTALL.restricted
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/INSTALL.restricted	2011-02-28 02:33:35 UTC (rev 13887)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/INSTALL.restricted	2011-02-28 02:33:43 UTC (rev 13888)
@@ -283,8 +283,8 @@
 Add the following lines to the .htaccess file in your ~/gforge/lib/www directory.
 The crontab.in file also can be modified to include this path as well.
 
-php_value register_globals 1d
-php_value magic_quotes_gpc 1
+php_value register_globals Off
+php_value magic_quotes_gpc Off
 php_value file_uploads 1
 php_value include_path = ".:~/gforge/lib/:~/gforge/lib/www/include/:~/gforge/etc/"
 
@@ -456,12 +456,6 @@
 Mailman and the FRS uploads dir can also be backed up with tar.
 
 
-Q: Any time i enter an apostrophe in a text box, i get a parse error
-
-A: As stated in the instructions above, you should have magic_quotes_gpc=On
-in your php.ini file
-
-
 Q: Large uploads into FRS or the doc manager fail.
 
 A: Apache and the php.ini file need to have upload limits and possibly 

Modified: trunk/gforge_base/evolvisforge-5.1/gforge/contrib/rh8_apache20_config/php.ini
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/contrib/rh8_apache20_config/php.ini	2011-02-28 02:33:35 UTC (rev 13887)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/contrib/rh8_apache20_config/php.ini	2011-02-28 02:33:43 UTC (rev 13888)
@@ -326,7 +326,7 @@
 ;
 
 ; Magic quotes for incoming GET/POST/Cookie data.
-magic_quotes_gpc = On
+magic_quotes_gpc = Off
 
 ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
 magic_quotes_runtime = Off    

Modified: trunk/gforge_base/evolvisforge-5.1/gforge/docs/docbook/docbook/installation_guide/installation_guide.xml
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/docs/docbook/docbook/installation_guide/installation_guide.xml	2011-02-28 02:33:35 UTC (rev 13887)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/docs/docbook/docbook/installation_guide/installation_guide.xml	2011-02-28 02:33:43 UTC (rev 13888)
@@ -383,7 +383,7 @@
           <para><emphasis>Serving Web pages</emphasis>.  In this case, PHP is usually used as module and its configuration is in virtual host configuration, as shown later in the document.  If you prefer to configure <filename>php.ini</filename>, the following directives are required by FusionForge:</para>
           <programlisting>
 <!-- register_globals = Off-->
-magic_quotes_gpc = On
+magic_quotes_gpc = Off
 file_uploads = On
 include_path=".:<replaceable>/opt/gforge</replaceable>:<replaceable>/opt/gforge</replaceable>/www/include:/etc/gforge"
 </programlisting>
@@ -517,7 +517,7 @@
 </programlisting>
           <para>Add these lines in your conf apache </para>
           <programlisting>
-php_flag   magic_quotes_gpc On
+php_flag   magic_quotes_gpc Off
 php_value  include_path     ".:/etc/gforge:<replaceable>/opt/gforge</replaceable>:<replaceable>/opt/gforge</replaceable>/www/include"
 </programlisting>
         </listitem>
@@ -1141,7 +1141,7 @@
     <para>Q: How do I backup FusionForge?</para>
     <para>A: The only proper way to backup the gforge database is with <command>pg_dump</command>.  Any attempt to backup the filesystem while pgsql is running will result in a useless and corrupt backup. You can backup CVS trees using <command>tar</command> as long as they are not actively and heavily used during the backup. Mailman and the FRS uploads dir can also be backed up with <command>tar</command>.</para>
     <para>Q: Any time i enter an apostrophe in a text box, i get a parse error</para>
-    <para>A: As stated in the instructions above, you should have <literal>magic_quotes_gpc=On</literal> in your <filename>php.ini</filename> file.</para>
+    <para>A: As stated in the instructions above, you should have <literal>magic_quotes_gpc=Off</literal> in your <filename>php.ini</filename> file.</para>
     <para>Q: Large uploads into FRS or the doc manager fail.</para>
     <para>A: Apache and the <filename>php.ini</filename> file need to have upload limits and possibly memory limits increased.</para>
     <para>Q: When I click on <filename>/projects/</filename> or <filename>/users/</filename> links, I get a <computeroutput>Page Not Found</computeroutput> error instead of the page I expected.</para>



More information about the evolvis-commits mailing list