Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 24 additions & 24 deletions faq/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<title>Build Problems</title>
<titleabbrev>Build Problems</titleabbrev>

<para>
This section gathers most common errors that occur at
<simpara>
This section gathers the most common errors that occur at
build time.
</para>
</simpara>

<qandaset>
<qandaentry xml:id="faq.build.configure">
Expand Down Expand Up @@ -88,12 +88,12 @@
</para>
</question>
<answer>
<para>
<simpara>
This error usually comes up when one compiles the Apache
core program as a DSO library for shared usage. Try to
reconfigure apache, making sure to use at least the
reconfigure Apache, making sure to use at least the
following flags:
</para>
</simpara>
<para>
<screen>
--enable-shared=max --enable-rule=SHARED_CORE
Expand Down Expand Up @@ -214,13 +214,13 @@
</listitem>
<listitem>
<simpara>
Make sure you have added the correct Mime Type to one of your
<literal>Apache .conf</literal> files. It should be:
Make sure you have added the correct MIME type to one of your
<literal>Apache .conf</literal> files. It should be:
<literal>AddType application/x-httpd-php .php</literal>
</simpara>
<simpara>
Also make sure that this AddType line is not hidden away inside a
&lt;Virtualhost&gt; or &lt;Directory&gt; block which would
&lt;VirtualHost&gt; or &lt;Directory&gt; block which would
prevent it from applying to the location of your test script.
</simpara>
</listitem>
Expand All @@ -241,18 +241,18 @@

<qandaentry xml:id="faq.build.activate-module">
<question>
<para>
It says to use: <literal>--activate-module=src/modules/php4/libphp4.a</literal>,
but that file doesn't exist, so I changed it to
<literal>--activate-module=src/modules/php4/libmodphp4.a</literal> and it
<simpara>
It says to use: <literal>--activate-module=src/modules/php4/libphp4.a</literal>,
but that file doesn't exist, so I changed it to
<literal>--activate-module=src/modules/php4/libmodphp4.a</literal> and it
doesn't work!? What's going on?
</para>
</simpara>
</question>
<answer>
<para>
<simpara>
Note that the <filename>libphp4.a</filename> file is not supposed to exist. The
apache process will create it!
</para>
Apache process will create it!
</simpara>
</answer>
</qandaentry>

Expand Down Expand Up @@ -415,7 +415,7 @@ $ gcc -E test.c >/dev/null
</question>
<answer>
<para>
Either you look at config.nice file, in the source tree of your current PHP
Either you look at the config.nice file, in the source tree of your current PHP
installation or, if this is not available, you simply run a
<programlisting role="php">
<![CDATA[
Expand All @@ -436,19 +436,19 @@ $ gcc -E test.c >/dev/null
</para>
</question>
<answer>
<para>
Make sure your GD library and PHP are linked against the same depending
<simpara>
Make sure your GD library and PHP are linked against the same dependency
libraries (e.g. libpng).
</para>
</simpara>
</answer>
</qandaentry>

<qandaentry xml:id="faq.installation.needgnu">
<question>
<para>
When compiling PHP I seemingly get random errors, like it hangs.
<simpara>
When compiling PHP I seemingly get random errors, such as it hanging.
I'm using Solaris if that matters.
</para>
</simpara>
</question>
<answer>
<para>
Expand Down
58 changes: 29 additions & 29 deletions faq/com.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,30 +30,30 @@
</para>
</question>
<answer>
<para>
<simpara>
There are dozens of VARIANT types and combinations of them. Most of them are already supported but
a few still have to be implemented.
Arrays are not completely supported. Only single dimensional indexed
only arrays can be passed between PHP and COM.
Arrays are not completely supported. Only single-dimensional, indexed-only
arrays can be passed between PHP and COM.
If you find other types that aren't supported, please report them as a bug (if not already reported)
and provide as much information as available.
</para>
</simpara>
</answer>
</qandaentry>

<qandaentry xml:id="faq.com.q3">
<question>
<para>
Is it possible manipulate visual objects in PHP?
</para>
<simpara>
Is it possible to manipulate visual objects in PHP?
</simpara>
</question>
<answer>
<para>
Generally it is, but as PHP is mostly used as a web scripting language it runs in the web servers context, thus
visual objects will never appear on the servers desktop.
<simpara>
Generally it is, but as PHP is mostly used as a web scripting language it runs in the web server's context, thus
visual objects will never appear on the server's desktop.
If you use PHP for application scripting e.g. in conjunction with PHP-GTK there is no limitation in accessing and
manipulating visual objects through COM.
</para>
</simpara>
</answer>
</qandaentry>

Expand Down Expand Up @@ -130,15 +130,15 @@

<qandaentry xml:id="faq.com.q8">
<question>
<para>
How can I run COM object from remote server?
</para>
<simpara>
How can I run a COM object from remote server?
</simpara>
</question>
<answer>
<para>
Exactly like you run local objects. You only have to pass the IP of the remote machine as second parameter to
<simpara>
Exactly like you run local objects. You only have to pass the IP of the remote machine as the second parameter to
the COM constructor.
</para>
</simpara>
<para>
Make sure that you have set
<link linkend="ini.com.allow-dcom">com.allow_dcom</link><literal>=</literal>&true;
Expand Down Expand Up @@ -168,11 +168,11 @@
</para>
</question>
<answer>
<para>
This has nothing to do with PHP. ActiveX objects are loaded on client side if they are requested
<simpara>
This has nothing to do with PHP. ActiveX objects are loaded on the client side if they are requested
by the HTML document. There is no relation to the PHP script and therefore there is no direct
server side interaction possible.
</para>
</simpara>
</answer>
</qandaentry>
<qandaentry xml:id="faq.com.q11">
Expand Down Expand Up @@ -201,9 +201,9 @@ $word = new COM("C:\docs\word.doc");
</qandaentry>
<qandaentry xml:id="faq.com.q12">
<question>
<para>
Is there a way to handle an event sent from COM object?
</para>
<simpara>
Is there a way to handle an event sent from a COM object?
</simpara>
</question>
<answer>
<para>
Expand All @@ -223,9 +223,9 @@ $word = new COM("C:\docs\word.doc");
</para>
</question>
<answer>
<para>
The answer is as simple as unsatisfying. We don't know exactly but we think you can do nothing.
</para>
<simpara>
The answer is as simple as it is unsatisfying. We don't know exactly but we think you can do nothing.
</simpara>
</answer>
</qandaentry>

Expand All @@ -245,10 +245,10 @@ $word = new COM("C:\docs\word.doc");

<qandaentry xml:id="faq.com.q15">
<question>
<para>
<simpara>
If PHP can manipulate COM objects, can we imagine to use
MTS to manage components resources, in conjunction with PHP?
</para>
MTS to manage components' resources, in conjunction with PHP?
</simpara>
</question>
<answer>
<para>
Expand Down
16 changes: 8 additions & 8 deletions faq/databases.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<title>Database issues</title>
<titleabbrev>Database issues</titleabbrev>

<para>
This section holds common questions about relation between
<simpara>
This section holds common questions about the relation between
PHP and databases. Yes, PHP can access virtually any
database available today.
</para>
</simpara>

<qandaset>
<qandaentry xml:id="faq.databases.mssql">
Expand Down Expand Up @@ -47,7 +47,7 @@
Another alternative is to use an SQL server that has
Windows ODBC drivers and use that to store the data, which you can
then access from Microsoft Access (using ODBC) and PHP (using the
built in drivers), or to use an intermediary file format that Access
built-in drivers), or to use an intermediary file format that Access
and PHP both understand, such as flat files or dBase databases.
On this point Tim Hayes from OpenLink software writes:
<blockquote>
Expand All @@ -60,11 +60,11 @@
</para>
</blockquote>
</para>
<para>
<simpara>
One option that has proved successful is to use MySQL and its
MyODBC drivers on Windows and synchronizing the databases. Steve Lawrence
MyODBC drivers on Windows and synchronize the databases. Steve Lawrence
writes:
</para>
</simpara>
<para>
<itemizedlist>
<listitem>
Expand All @@ -88,7 +88,7 @@
<simpara>
Create a user or system dsn in your ODBC administrator, located in the
control panel. Make up a dsn name, enter your hostname, user name, password,
port, etc for you MySQL database configured in step 1.
port, etc. for your MySQL database configured in step 1.
</simpara>
</listitem>
<listitem>
Expand Down
14 changes: 7 additions & 7 deletions faq/general.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@
<para>What does PHP stand for?</para>
</question>
<answer>
<para>
<simpara>
PHP stands for <emphasis>PHP: Hypertext Preprocessor</emphasis>.
This confuses many people because the first word of the acronym is
the acronym. This type of acronym is called a recursive acronym.
For more information, the curious can visit
<link xlink:href="&url.foldoc;">Free On-Line Dictionary of Computing</link>
<link xlink:href="&url.foldoc;">the Free On-line Dictionary of Computing</link>
or the
<link xlink:href="&url.wiki.recursive-acronym;">Wikipedia entry on
recursive acronyms</link>.
</para>
</simpara>
</answer>
</qandaentry>

Expand All @@ -50,17 +50,17 @@
<para>What is the relation between the versions?</para>
</question>
<answer>
<para>
<simpara>
PHP/FI 2.0 is an early and no longer supported version of PHP. PHP 3
is the successor to PHP/FI 2.0 and is a lot nicer. PHP 8 is the current
generation of PHP, which uses the Zend
engine 4 which, among other things, offers many additional
engine 4, which, among other things, offers many additional
<link linkend="language.oop5">OOP</link> features.
</para>
</simpara>
</answer>
</qandaentry>

<qandaentry xml:id="faq.general.running-concurent">
<qandaentry xml:id="faq.general.running-concurrent">
<question>
<para>Can I run several versions of PHP at the same time?</para>
</question>
Expand Down
Loading
Loading