Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 12461

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>What do I need?</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="tutorial.html">A simple tutorial</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="tutorial.firstpage.html">Your first PHP-enabled page</a></div>
 <div class="up"><a href="tutorial.html">A simple tutorial</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="tutorial.requirements" class="section">
   <div class="info"><h1 class="title">What do I need?</h1></div>
   <p class="para">
    In this tutorial we assume that your server has activated support 
    for PHP and that all files ending in <var class="filename">.php</var>
    are handled by PHP. On most servers, this is the default extension
    for PHP files, but ask your server administrator to be sure. If
    your server supports PHP, then you do not need to do anything. Just
    create your <var class="filename">.php</var> files, put them in your
    web directory and the server will automatically parse them for you.
    There is no need to compile anything nor do you need to install
    any extra tools. Think of these PHP-enabled files as simple HTML
    files with a whole new family of magical tags that let you do all
    sorts of things.
   </p>
   <p class="para">
    Let us say you want to save precious bandwidth and develop locally.  
    In this case, you will want to install a web server, such as 
    <a href="http://httpd.apache.org/" class="link external">&raquo;&nbsp;Apache</a>, and of course 
    <a href="http://www.php.net/downloads.php" class="link external">&raquo;&nbsp;PHP</a>. You will most likely 
    want to install a database as well, such as 
    <a href="http://dev.mysql.com/doc/" class="link external">&raquo;&nbsp;MySQL</a>.
   </p>
   <p class="para">
    You can either install these individually or choose a simpler way. Our
    manual has <a href="install.html" class="link">installation instructions for
    PHP</a> (assuming you already have some web server set up). If
    you have problems with installing PHP yourself, we would suggest you ask
    your questions on our <a href="http://www.php.net/mailing-lists.php" class="link external">&raquo;&nbsp;installation
    mailing list</a>. If you choose to go on the simpler route, then
    <a href="http://wikipedia.org/wiki/List_of_AMP_packages" class="link external">&raquo;&nbsp;locate a pre-configured package</a>
    for your operating system,  which automatically installs all of these
    with just a few mouse clicks. It is easy to setup a web server with PHP
    support on any operating system, including MacOSX, Linux and Windows.
    On Linux, you may find <a href="http://www.rpmfind.net/" class="link external">&raquo;&nbsp;rpmfind</a> and
    <a href="http://rpm.pbone.net/" class="link external">&raquo;&nbsp;PBone</a> helpful for
    locating RPMs. You may also want to visit <a href="http://www.apt-get.org/" class="link external">&raquo;&nbsp;apt-get</a> to find packages for Debian.
   </p>
  </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="tutorial.html">A simple tutorial</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="tutorial.firstpage.html">Your first PHP-enabled page</a></div>
 <div class="up"><a href="tutorial.html">A simple tutorial</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>