Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 5 Diegimas web serveris FreeBSD 6,0 su Apache 2.2, MySQL 5.0, PHP 5 - 5 dalis

Installing Apache 2.2, MySQL 5 and PHP 5 in FreeBSD 6.0 for a Reliable Web Server Įdiegti Apache 2.2, MySQL 5 ir PHP 5 FreeBSD 6.0 Reliable Web Server

Part 5 – Installing PHP Hypertext Preprocessor Scripting Language 5 and PHP 5 Extensions 5 dalis - įdiegimas PHP Hypertext Preprocessor scripting language 5 ir PHP 5 Extensions

  1. Install by enter the following commands on FreeBSD OS command line, wait for previous command to finish before running the next command: Įdiegti, įvesti šias komandas į FreeBSD OS komandinės eilutės, laukiame Ankstesnis komandą Baigti prieš pradedant kitą komandą:

    cd /usr/ports/lang/php5 CD / usr/ports/lang/php5
    make install clean make install švarus

  2. If you're prompted, select “use Apache 2.x instead”. Jei esate raginami, pasirinkite "naudoti Apache 2.x vietoj".
  3. Continue with the following commands to install PHP5 extensions and modules to enable the support of the modules in Apache: Toliau šias komandas įdiegti PHP5 extensions ir moduliai, kad būtų galima Apache modulių palaikymas:

    cd /usr/ports/lang/php5-extensions CD / usr/ports/lang/php5-extensions
    make config padaryti konfigūracijos

  4. At Options for php5-extension 1.0 menu, select all PHP extensions and modules that you may use with Apache webserver. Į Options php5-extension 1,0 meniu, pasirinkite visas plėtinių PHP ir modulių, kuriuos galima naudoti su Apache webserver. This is a part of the configuration for PHP, where you need to enable features of PHP that come in modules, such as ability to manage user sessions, interface with databases and many others. Tai yra apie PHP, konfigūracijos dalis kur jums reikia įjungti funkcijas PHP, kad ateiti į modulius, tokius kaip gebėjimas valdyti vartotojo sesija, sąsaja su duomenų bazėmis ir daugelis kitų. Default extensions such as ctype functions support, HASH Message Digest Framework support, session support and etc have been selected. Numatytasis plėtinių, pavyzdžiui ctype funkcijas paramą, HASH Message Digest bendrosios paramos sesija parama ir tt buvo pasirinktas. Other popular extensions that you most likely to be in used are MySQL database support and GD library support. Kiti populiarūs pratęsimų, kad jūs greičiausiai būti naudojama yra MySQL duomenų bazės pagalba ir GD bibliotekos paramos. Use space bar to select or unselect the extensions and press Enter when done. Naudokite tarpo klavišą, norėdami pasirinkti arba atžymėti jų išplėtimą ir paspauskite "Enter", kai baigsite.
  5. Continue the installation of php5-extensions with the following commands: Toliau diegti php5-Extensions šias komandas:

    make install clean make install švarus

  6. If there are any message the pops up and prompts you to select some options or configurations, you can just accept the default settings by pressing Enter. Jei yra bet koks pranešimas pasirodys ir paragina jus pasirinkti keletą variantų arba konfigūracijos, galite tiesiog priimti numatytuosius parametrus, paspauskite "Enter". Some modules that may prompt you for action include php5-gd, php5-mbstring and php5-sqlite. Kai kurie moduliai gali paskatinti jus imtis veiksmų: php5-gd, php5-mbstring ir php5-sqlite.
  7. Edit the Apache configuration file in order to enable Apache web server to load the PHP modules when initialization: Redaguoti Apache konfigūracijos failą, kad būtų galima Apache web serverio apkrovos PHP modulius, kai initialization:
    1. Go to Apache configuration file location by cd /usr/local/etc/apache2/ Grįžti į Apache konfigūracijos failo vietą, CD / usr/local/etc/apache2 /
    2. Edit Apache configuration file by vi httpd.conf Redaguoti Apache konfigūracijos failą httpd.conf VI
    3. Search for LoadModule lines, after the last LoadModule line, but within the same section, add the following 2 lines: Ieškoti LoadModule linijas, po paskutinio LoadModule linijos, tačiau per tą patį skyrių, pridėkite šias 2 eilutes:

      AddType application/x-httpd-php .php AddType application / x-httpd-php. Php
      AddType application/x-httpd-php-source .phps AddType application / x-httpd-php-source. Phps

  8. Optionally, copy /usr/local/etc/php.ini-recommended or /usr/local/etc/php.ini-dist to /usr/local/etc/php.ini (in same directory), which will enable you to tune and change the default settings of behaviours of PHP. Jei norite, kopijuoti / usr / local / etc / php.ini-recommended arba / usr / local / etc / php.ini-dist į / usr / local / etc / php.ini (į tą patį katalogą), kurios leis Jums sureguliuoti ir pakeisti numatytuosius parametrus veikos PHP.
  9. Start the Apache HTTP web server by using apachectl start (or restart Apache HTTP web server by using apachectl restart). Paleiskite Apache HTTP žiniatinklio serverio naudojant apachectl pradėti (arba paleiskite Apache HTTP žiniatinklio serverio naudojant apachectl restart). apachectl is located in /usr/local/sbin, if you encounter Command not found problem, try to change directory to its location. apachectl yra / usr / local / sbin, jei jums kyla Command not found problemą, pabandykite pakeisti katalogo į savo vietą.
  10. PHP5 installation done. PHP5 montavimas padaryti.

A web server has been setup with the FreeBSD with Apache, MySQL and PHP. Serverio buvo nustatyti naudojant kartu su Apache, MySQL ir PHP FreeBSD. The document root of the web server (where you should put your HTML and PHP files is at /usr/local/www/apache22/data/ and you will need a SecureFTP (SFTP) client such as WinSCP to upload your files to web server securely. Dokumentas šaknies interneto serveryje (kur reikia įdėti savo HTML ir PHP failai yra / usr/local/www/apache22/data / ir jums reikia SecureFTP (SFTP) kliento, pavyzdžiui, WinSCP įkelti failus į interneto serverį saugiai.

IMPORTANT : The page is machine translated and provided "as is" without warranty. DĖMESIO: Šis puslapis yra mašina išvertė ir pateikiama "kaip yra" be garantijų. Machine translation may be difficult to understand. Automatinis vertimas gali būti sunku suprasti. Please refer to Remkitės original English article originalas anglų straipsnis whenever possible. jei įmanoma.


27 Responses to “Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 5” 27 Responses to "diegimas web serveris FreeBSD 6,0 su Apache 2.2, MySQL 5.0, PHP 5 - 5 dalis"

Pages: [2] Puslapiai: [2] 1 1 » » Show All Rodyti visus

  1. data trucker Duomenų Trucker
    May 13th, 2009 08:18 13 gegužė 2009 08:18
    27 27

    This php setup doesn't support mysql element. PHP diegimo nepalaiko mysql elementas. Drupal can't detect that mysql is running… I hope this could be modified and be of help to others. Drupal negali nustatyti, kad mysql veikia ... Aš tikiuosi, kad tai gali būti modifikuoti ir pagalbos kitiems.

  2. fred Fred
    November 25th, 2008 10:40 25 lapkritis 2008 10:40
    26 26

    This is a fine series of articles! Tai gerai serijos straipsnių!

    The only real change I would suggest is executing portsnap or cvsup after the base installation, before installing apache, mysql and php. Vienintelis realus pokytis siūlyčiau vykdo portsnap arba CVSup po bazinių įrenginių, prieš diegdami Apache, MySQL ir PHP.

Pages: [2] Puslapiai: [2] 1 1 » » Show All Rodyti visus

Leave a Reply Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Galite naudoti šiuos žodžius: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Subscribe to comments funkcija buvo išjungta. To receive notification of latest comments posted, subscribe to Norėdami gauti pranešimus apie naujausius komentarų, užsiprenumeruoti My Digital Life Comments RSS feed Mano skaitmeninis gyvenimas Komentarų RSS or arba register to receive Registruokitės gauti new comments in daily email digest. Nauji komentarai kasdien elektroniniu paštu.
Custom Search

New Articles Nauji straipsniai

Incoming Search Terms for the Article Gaunamus paieškos terminus straipsnis

freeBSD php FreeBSD PHP - -- php freebsd php FreeBSD - -- freebsd apache mysql php FreeBSD, Apache MySQL PHP - -- freebsd apache FreeBSD Apache - -- apache2 freebsd apache2 FreeBSD - -- freebsd apache php mysql FreeBSD Apache MySQL PHP - -- freebsd apache2 FreeBSD apache2 - -- freebsd apache php FreeBSD Apache PHP - -- freebsd php5 FreeBSD php5 - -- freebsd apache mysql FreeBSD, Apache MySQL - -- apache freebsd Apache FreeBSD - -- apache php mysql freebsd Apache PHP MySQL FreeBSD - -- freebsd apache2 php5 FreeBSD apache2 php5 - -- php apache freebsd apache ir php FreeBSD - -- php5 freebsd php5 FreeBSD - -- apache php freebsd apache ir php FreeBSD - -- freebsd apache php5 FreeBSD apache php5 - -- freebsd apache22 php5 FreeBSD apache22 php5 - -- apache php5 freebsd apache php5 FreeBSD - -- apache2 php5 freebsd apache2 php5 FreeBSD - -- freebsd apache22 php FreeBSD apache22 PHP - -- freebsd php mysql FreeBSD PHP ir MySQL - -- apache mysql php freebsd Apache MySQL PHP FreeBSD - -- install php freebsd install php FreeBSD - -- freebsd apache2 php FreeBSD apache2 PHP - -- installing apache on freebsd įdiegti Apache, FreeBSD - -- freebsd php apache FreeBSD, PHP, Apache - -- php5 apache2 freebsd php5 apache2 FreeBSD - -- libphp5.so freebsd libphp5.so FreeBSD - -- apache2 php freebsd apache2 PHP FreeBSD - -- apache22 php apache22 PHP - -- php5 apache freebsd apache php5 FreeBSD - -- installing apache freebsd įdiegti Apache FreeBSD - -- freeBSD php5-extensions FreeBSD php5-Extensions - -- install php5 freebsd diegti php5 FreeBSD - -- freebsd mysql php apache FreeBSD Apache MySQL PHP - -- install php on freebsd install php FreeBSD - -- freebsd apache install FreeBSD Apache įdiegti - -- freebsd install apache FreeBSD įdiegti Apache - -- apache22 php5 apache22 php5 - -- download apache for freebsd Atsisiųsti Apache, FreeBSD - -- freebsd install apache2 FreeBSD install apache2 - -- apache 2.2 php5 freebsd Apache 2,2 php5 FreeBSD - -- apache22 php5 freebsd apache22 php5 FreeBSD - -- freebsd install apache php FreeBSD install apache ir php - -- freebsd php5 apache2 FreeBSD php5 apache2 - -- php mysql freebsd PHP ir MySQL FreeBSD - -- freebsd php extensions FreeBSD PHP extensions - -- php on freebsd php FreeBSD - -- Apache2 on FreeBSD Apache2 FreeBSD - -- freebsd install apache php mysql FreeBSD įdiegti Apache MySQL PHP - -- freebsd php5 apache22 FreeBSD php5 apache22 - -- php for freebsd php FreeBSD - -- install apache freebsd įdiegti Apache FreeBSD - -- apache mysql freebsd Apache MySQL FreeBSD - -- freebsd libphp5.so FreeBSD libphp5.so - -- apache22 php freebsd apache22 php FreeBSD - -- freebsd php install FreeBSD PHP įdiegti - -- apache 2.2 php freebsd apache ir php FreeBSD 2,2 - -- installing php on freebsd įrengimo php FreeBSD - -- all visi - -- freebsd install php5 FreeBSD install php5 - -- freebsd mysql apache php FreeBSD Apache MySQL PHP - -- FreeBSD apache 2.2 PHP5 FreeBSD 2,2 Apache PHP5 - -- freebsd php port FreeBSD PHP uostas - -- install apache PHP mysql freebsd įdiegti Apache PHP MySQL FreeBSD - -- freebsd php5 apache FreeBSD php5 Apache - -- download apache freebsd Atsisiųsti Apache FreeBSD - -- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 Diegimas web serveris FreeBSD 6,0 su Apache 2.2, MySQL 5.0, PHP 5 - -- FreeBSD libphp5 FreeBSD libphp5 - -- how to install php on freebsd kaip įdiegti PHP FreeBSD - -- freebsd php mysql apache FreeBSD PHP MySQL Apache - -- install php apache freebsd install apache php FreeBSD - -- FreeBSD + Apache FreeBSD + Apache - -- freebsd php5 port FreeBSD php5 uostas - --