reference/oci8/testing.xml
5fcbcd6b56477034278a2199a8819635f3a0d9b9
...
...
@@ -38,16 +38,16 @@
38
38
is used.
39
39
</para>
40
40
<para>
41
-
Next, set any necessary environment for the Oracle database. With
42
-
Oracle 10<emphasis>g</emphasis>R2 XE do:
43
-
<programlisting>
41
+
Next, set any necessary environment for the Oracle database. If you are
42
+
running PHP on the same machines as Oracle Database, you can run:
43
+
<programlisting>
44
44
<![CDATA[
45
-
$ . /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.sh
45
+
$ . /usr/local/bin/oraenv
46
46
]]>
47
-
</programlisting>
47
+
</programlisting>
48
48
</para>
49
49
<para>
50
-
With Oracle 11<emphasis>g</emphasis>R2 XE do:
50
+
With Oracle 11<emphasis>g</emphasis>R2 XE do:
51
51
<programlisting>
52
52
<![CDATA[
53
53
$ . /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh
...
...
@@ -55,14 +55,6 @@
55
55
</programlisting>
56
56
</para>
57
57
<para>
58
-
For other versions of the Oracle database do:
59
-
<programlisting>
60
-
<![CDATA[
61
-
$ . /usr/local/bin/oraenv
62
-
]]>
63
-
</programlisting>
64
-
</para>
65
-
<para>
66
58
Some shells require that &php.ini; has <literal>E</literal> in the
67
59
variables_order parameter, for example:
68
60
<programlisting>
69
61