Installation of PHP5 Objectives –Install PHP5 with support for Apache and MySQL Contents –Installing latest dependencies LibXML & LibSLT –Compiling and.

Slides:



Advertisements
Similar presentations
Pakiti.
Advertisements

Installation of MySQL Objectives –Install MySQL Contents –Getting the enviroment for building MySQL server –Rebuilding SRPMS –Removing existing –Installing.
Dan Fleck.  WAMP – Windows Apache MySQL PHP -  LAMP – Linux Apache MySQL PHP ◦ There are.
Chapter Apache Installation on Linux. Acknowledgement The contribution made by Darrin Morison is acknowledged.
PHP Programming with MySQL Slide 2-1 CHAPTER 2 Getting Started with PHP.
Apache Installation by Jack Davis. Web Servers The Apache HTTP Server is the most widely used web server on the Internet. Apache is fast, free, and full-featured.
The Apache Web Server  Started in April 1996 as an open source multiplatform web server (Windows, FreeBSD, UNIX, and Linux compatible).  Now the world’s.
Chapter Apache Installation on Linux. Acknowledgement The contribution made by Darrin Morison is acknowledged.
Chapter Apache Installation in Linux- Mandrake. Acknowledgment The following information has been obtained directly from
Software installation Chapter 7. Software installation Numerous software options Usually free Open source Several sources Installation CD Websites sourceforge.net.
Installasi Wordpress di Linux. Intallasi web server + php + mysql # apt-get install apache2 php5 mysql-server php5-mysql # apt-get install phpmyadmin.
NDT Tools Tutorial: How-To setup your own NDT server Rich Carlson Summer 04 Joint Tech July 19, 2004.
Installing Linux softwares Sirak Kaewjamnong. 2 Software packets  When Linux developers create their software they typically bundle all the executable.
Setting up Greenstone for your organization Course material prepared by Greenstone Digital Library Project University of Waikato, New Zealand andNational.
DHCP server & Client Objectives Contents
Module 10 – Linux Installations. Wikipedia: Red Hat Package Manager or RPM Package Manager (RPM) is a package management system. The name RPM variously.
Web Server Configuration Alokes Chattopadhyay Computer & Informatics Centre IIT Kharagpur.
A Practical Guide to Fedora and Red Hat Enterprise Linux Unit 10: Basic Apache Configuration and Management Chapter 26: Apache (httpd): Setting Up a Web.
Partner Logo German Cancio – WP4-install LCFG HOW-TO - n° 1 WP4 hands-on workshop: EDG LCFGng exercises
Web Servers1-1 Web Servers Xingquan (Hill) Zhu
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 4 Manage Software for SUSE Linux Enterprise Server.
LPIC-1 TRAINING COURSE Topic 102: Linux Installation and package management.
Apache, PHP, MySQL Installation and configuration Web Programming with PHP,TITAS PROJECTIICT,BUET.
DNS & DHCP on CentOS 5.7 4/12/54 อ. ดรัสวิน วงศ์ปรเมษฐ์
Installation of Apache, PHP & MySQL Tutor: Zhang lidan Office: 312 Chow Yei Ching
Copyright 2009 Trend Micro Inc. Classification 9/23/ Troubleshooting TMSP Marks Shen Senior Engineer – QA Evan Wang Engineer - QA.
Apache, MySQL and PHP Installation and Configuration Chapter 4 XAMPP Installation and Configuration.
PHP Motion Idris Winarno. Requirement Apache + PHP5 + MySQL lame ffmpeg flvtool.
Apache Web Server v. 2.2 Reference Manual Chapter 1 Compiling and Installing.
Customer Relationship Management. Content CRM SugarCRM System Requirement Installation Process Configuration.
DHCP server & Client Objectives –to learn how to setup dhcp servers Contents –Download and Install The DHCP Package –The /etc/dhcpd.conf File –Upgrading.
DB server + PHPMyAdmin ดรัสวิน วงศ์ปรเมษฐ์ สาขาวิชาเทคโนโลยีสารสนเทศ คณะ วิทยาศาสตร์ มรภ. บร. 19/10/56.
A Practical Guide to Fedora and Red Hat Enterprise Linux Unit 8: Installing Software in Linux Chapter 13: Downloading and Installing Software By Fred R.
Linux Network Servers nginx, PHP-FPM, MySQL Rostislav Skudnov, Timo Jääskeläinen.
Apache, MySQL and PHP Installation and Configuration Chapter 1 Apache Installation and Configuration.
CERN-PH-SFT-SPI August Ernesto Rivera Contents Context Automation Results To Do…
Centreon Deployment Chris Scicluna
Cosc 4750 Configuring httpd, Mysql, And Samba. defaults By default httpd demean will startup and work User directories are turned off Default directory.
Installation of packages Objectives –Using software packaging tools Contents –Application delivered as –Where to get commonly used rpm’s –Autofs on! –Getting.
1 Session 1: Introduction to PHP & MySQL iNET Academy Open Source Web Development.
Apache Web Server Quick and Dirty Kevin G. Chege for AfNOG 2013 (Originally by Joel Jaeggli for AfNOG 2007) ‏
Network Time Protocol Objectives Contents to learn how to setup ntp
Multi-Domain Hosting Hosting multiple domains on one server using Apache John Beckett 1/16/2013.
Apache, MySQL and PHP Installation and Configuration Chapter 2 MySQL Installation and Configuration.
Installation of packages Objectives –Using software packaging tools Contents –Application delivered as –Where to get commonly used rpm’s –Autofs on! –Getting.
Installation of Apache Objectives –Install Apache webserver Contents –Compile in module support –Compile sourcecode –Installing apache –Verify installation.
WAMP Server Installatin Shiyun Wen. WAMP Server Installation  WAMP Server is an integrated installation of Apache, MySQL, and PHP for Windows. Following.
PhpMyAdmin Matthew Walsh April 28, 2003 CMSC Shawn Sivy.
Installation of PHP5 Objectives –Install PHP5 with support for Apache and MySQL Contents –Installing latest dependencies LibXML & LibSLT –Compiling and.
Sys Admin Course Package Management Fourie Joubert.
Network Time Protocol Objectives Contents to learn how to setup ntp
Web Server Apache PHP HTTP Request User types URL into browser Address resolved if nec. We use directly Most browsers request.
RedHat Package Management RPM and YUM in RedHat Enterprise, Fedora, Suse and Centos.
Your EC2 Instance. How to Connect to your EC2 Instance?
Settings MySQL Database and JDBC configuration Instructor: Sergey Goldman.
Configuring Guacamole create a folder for guacamole's configuration: mkdir /etc/guacamole create a file /etc/guacamole/guacamole.properties with the content:
APACHE INSTALL Linux: CentOS 6.5 WHAT IS APACHE Apache is an open source application which is governed by the GNU licensing for use and alteration of.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) 马兰馨 IHEP, CAS Setting Up a Repository.
WordPress and Etherpad with BlueMix and Docker. Our aim is to run on BlueMix containers (now in beta) these two famous services In the BlueMix dashboard,
Outline  XAMPP  XAMPP Install  Put php and HTML documents  Windows and Mac Version  Security.
Apache + ASP.NET.
APACHE INSTALL AWS Linux (Amazon Web Services EC2)
Installing iHRIS Install iHRIS Manage on an Ubuntu System
Installation of MySQL Objectives Contents Practical Summary
COP 4343 Unix System Administration
CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi
Managing Software.
Chapter 2 Getting Started with PHP PHP Programming with MySQL
University of Texas Rio Grande Valley Systems Administration CSCI 6175
System & Network Administration (MCSA & RHCSA)
Presentation transcript:

Installation of PHP5 Objectives –Install PHP5 with support for Apache and MySQL Contents –Installing latest dependencies LibXML & LibSLT –Compiling and installing PHP5 for MySQL & Apache –Configure PHP5 –Add PHP support in Apache Practical –Install PHP5 Summary

Download & Install LibXML, LibSLT 1/2 Download latest LibXML and LibSLT Install libxml2 # cd /usr/local/src # wget # wget # wget # wget # wget # wget # cd /usr/local/src # wget # wget # wget # wget # wget # wget # cd /usr/local/src rpm -Uvh --nodeps libxml i386.rpm rpm -Uvh libxml2-devel i386.rpm rpm -Uvh libxml2-python i386.rpm # cd /usr/local/src rpm -Uvh --nodeps libxml i386.rpm rpm -Uvh libxml2-devel i386.rpm rpm -Uvh libxml2-python i386.rpm

Download & Install LibXML, LibSLT 2/2 Install libslt Verify that packages were installed proper # rpm -Uvh libxslt i386.rpm # rpm -qa | grep libxml2 libxml2-python libxml libxml2-devel # rpm -qa | grep libxslt libxslt # rpm -qa | grep libxml2 libxml2-python libxml libxml2-devel # rpm -qa | grep libxslt libxslt

Download & Unzip & compile PHP5 Download PHP5 sources Unzip PHP5 sources in /usr/local/src Configure PHP5 Compile PHP5 source –Note that compiling PHP5 can take 15 to 90 minutes or more # cd /usr/local/src # wget # cd /usr/local/src # wget # cd php #./configure --with-mysql=/usr --with-apxs2 --with-sqlite # cd php #./configure --with-mysql=/usr --with-apxs2 --with-sqlite cd /usr/local/src tar xvfz php tar.gz cd /usr/local/src tar xvfz php tar.gz # make

Installing & Configuring PHP5 1/2 Installing PHP5 binaries Add PHP5 libraries to libpath in /etc/ld.so.conf Find section LoadModule in Apache config file and add after last LoadModule: Find in Apache config file and change first Options line to: Find DirectoryIndex in Apache config file and change to: # make install Options Indexes FollowSymLinks Includes MultiViews # libtool --finish /usr/local/src/php-5.0.3/libs DirectoryIndex index.html index.html.var index.php LoadModule php5_module lib/httpd/modules/libphp5.so

Start MySQL and Apache services! Restart Apache –Check logfiles for any error: tail /var/log/httpd/access_log Restart MySQL –Check logfiles for any error: tail /var/log/messages Make Apache and MySQL start at boot time We are now done! You should now have lastest version of: –Apache –MySQL –PHP5 Look in PHP5 study book install chapter howto verify your server operation! # service mysql restart # chkconfig httpd on # chkconfig mysql on # chkconfig httpd on # chkconfig mysql on # service mysql restart