mirror of https://github.com/tLDP/LDP
updated
This commit is contained in:
parent
9da3c3b849
commit
310e0a13e1
|
@ -2,7 +2,7 @@
|
|||
<article>
|
||||
|
||||
<artheader>
|
||||
<title>Linux-Apache-PHP-Sybase mini-HOWTO</title>
|
||||
<title>Sybase-PHP-Apache mini-HOWTO</title>
|
||||
<author>
|
||||
<firstname>Tyson</firstname>
|
||||
<othername>Lloyd</othername>
|
||||
|
@ -19,10 +19,10 @@
|
|||
|
||||
<revhistory>
|
||||
<revision>
|
||||
<revnumber>1.0</revnumber>
|
||||
<revnumber>1.1</revnumber>
|
||||
<date>2001-05-29</date>
|
||||
<authorinitials>TLT</authorinitials>
|
||||
<revremark>Initial Release.</revremark>
|
||||
<revremark>Updated environment configuration section, changed HOWTO name.</revremark>
|
||||
</revision>
|
||||
</revhistory>
|
||||
|
||||
|
@ -40,8 +40,8 @@ by reference. Send feedback to
|
|||
<sect1 id="instlinux"><title>Install Linux</title>
|
||||
<para>
|
||||
This howto assumes you have already installed a working Linux system.
|
||||
This howto is based on a Redhat 6.2 system. I would greatly welcome any
|
||||
information on setting this up on other distros.
|
||||
This howto is based on a Redhat 6.2 system. I would appreciate any
|
||||
feedback on setting this up on other distros.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
@ -121,6 +121,15 @@ as super user and insert the following lines:
|
|||
export DSQUERY=SYBASE
|
||||
</programlisting>
|
||||
|
||||
<para>
|
||||
Next you need to change to permissions of the Sybase directory. This fixes
|
||||
some problems where PHP is unable to connect to the Sybase server.
|
||||
Run the following command as super user:
|
||||
</para>
|
||||
<programlisting>
|
||||
chown -R sybase:sybase /opt/sybase
|
||||
</programlisting>
|
||||
|
||||
<para>
|
||||
To test whether your Sybase environment works, type the following:
|
||||
</para>
|
||||
|
@ -188,7 +197,7 @@ put its files when you run '<command>make install</command>'.
|
|||
</sect1>
|
||||
|
||||
|
||||
<sect1 id="instphp"><title>Configure Environment</title>
|
||||
<sect1 id="instphp"><title>Install PHP</title>
|
||||
<para>
|
||||
Download the latest PHP distribution and unpack it.
|
||||
</para>
|
||||
|
@ -199,6 +208,8 @@ script. You need to pass
|
|||
certains options to the script. To enable PHP access Sybase, you
|
||||
need <command>--with-sybase-ct</command>. You will also need to specify the web server interface
|
||||
to use; in our case, this is Apache, so we use <command>--with-apache</command>
|
||||
To build a CGI version of PHP, (which is also very useful as a shell scripting tool), just leave
|
||||
out the --with-apache.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
@ -334,3 +345,4 @@ Thanks.
|
|||
|
||||
</article>
|
||||
|
||||
|
||||
|
|
|
@ -2262,7 +2262,7 @@ How to change your Linux system so it uses UTF-8 as text encoding. </Para>
|
|||
Unix-and-Internet-Fundamentals-HOWTO</ULink>,
|
||||
<CiteTitle>The Unix and Internet Fundamentals HOWTO</CiteTitle>
|
||||
</Para><Para>
|
||||
<CiteTitle>Updated: May 2001</CiteTitle>.
|
||||
<CiteTitle>Updated: June 2001</CiteTitle>.
|
||||
Describes the working basics of PC-class computers, Unix-like
|
||||
operating systems, and the Internet in non-technical language. </Para>
|
||||
</ListItem>
|
||||
|
|
|
@ -44,7 +44,7 @@ requirements, and some resources. </Para>
|
|||
Unix-and-Internet-Fundamentals-HOWTO</ULink>,
|
||||
<CiteTitle>The Unix and Internet Fundamentals HOWTO</CiteTitle>
|
||||
</Para><Para>
|
||||
<CiteTitle>Updated: May 2001</CiteTitle>.
|
||||
<CiteTitle>Updated: June 2001</CiteTitle>.
|
||||
Describes the working basics of PC-class computers, Unix-like
|
||||
operating systems, and the Internet in non-technical language. </Para>
|
||||
</ListItem>
|
||||
|
|
|
@ -18,13 +18,22 @@
|
|||
</author>
|
||||
|
||||
<revhistory>
|
||||
<revision>
|
||||
<revnumber>2.4</revnumber>
|
||||
<date>12 June 2001</date>
|
||||
<authorinitials>esr</authorinitials>
|
||||
<revremark>
|
||||
Where to find more.
|
||||
</revremark>
|
||||
</revision>
|
||||
|
||||
<revision>
|
||||
<revnumber>2.3</revnumber>
|
||||
<date>22 May 2001</date>
|
||||
<authorinitials>esr</authorinitials>
|
||||
<revremark>
|
||||
Introduction to bus tyoes.
|
||||
Polish translatiopn link.
|
||||
Introduction to bus types.
|
||||
Polish translation link.
|
||||
</revremark>
|
||||
</revision>
|
||||
|
||||
|
@ -828,11 +837,11 @@ three decimal places).</para>
|
|||
<para>Characters are normally represented as strings of seven bits each in
|
||||
an encoding called ASCII (American Standard Code for Information
|
||||
Interchange). On modern machines, each of the 128 ASCII characters is the
|
||||
low seven bits of an 8-bit
|
||||
<firstterm>octet</firstterm><indexterm><primary>octet</primary></indexterm>;
|
||||
octets are packed into memory words so that (for example) a six-character
|
||||
string only takes up two memory words. For an ASCII code chart, type `man
|
||||
7 ascii' at your Unix prompt.</para>
|
||||
low seven bits of an
|
||||
<firstterm>octet</firstterm><indexterm><primary>octet</primary></indexterm>
|
||||
or 8-bit byte; octets are packed into memory words so that (for example) a
|
||||
six-character string only takes up two memory words. For an ASCII code
|
||||
chart, type `man 7 ascii' at your Unix prompt.</para>
|
||||
|
||||
<para>The preceding paragraph was misleading in two ways. The minor one is
|
||||
that the term `octet' is formally correct but seldom actually used; most
|
||||
|
@ -1567,13 +1576,21 @@ Content-Length: 2982
|
|||
Content-Type: text/html
|
||||
</screen>
|
||||
|
||||
<para>These headers will be followed by a blank line and the text of the web page
|
||||
(after which the connection is dropped). Your browser just displays that
|
||||
page. The headers tell it how (in particular, the Content-Type header
|
||||
tells it the returned data is really HTML).</para>
|
||||
<para>These headers will be followed by a blank line and the text of the
|
||||
web page (after which the connection is dropped). Your browser just
|
||||
displays that page. The headers tell it how (in particular, the
|
||||
Content-Type header tells it the returned data is really HTML).</para>
|
||||
|
||||
</sect2>
|
||||
</sect1>
|
||||
<sect1 id="more"><title>To Learn More</title>
|
||||
<para>There is a <ulink
|
||||
url="http://www.linuxdoc.org/HOWTO/Reading-List-HOWTO/">Reading List
|
||||
HOWTO</ulink> that lists books you can read to learn more about the
|
||||
topics we have touched on here. You might also want to read the
|
||||
<ulink url="http://www.tuxedo.org/~esr/faqs/hacker-howto.html">How To Become A
|
||||
Hacker</ulink> document.</para>
|
||||
</sect1>
|
||||
</article>
|
||||
|
||||
<!--
|
||||
|
@ -1583,4 +1600,3 @@ fill-column:75
|
|||
compile-command: "mail -s \"Unix and Internet Fundamentals HOWTO update\" submit@linuxdoc.org <Unix-and-Internet-Fundamentals-HOWTO.sgml"
|
||||
End:
|
||||
-- >
|
||||
|
||||
|
|
Loading…
Reference in New Issue