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.
FIRST SESSION - XAMPP Jeongmin Lee.  Jeongmin Lee  CS  PHD  Machine Learning, AI  Web System Development.
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.
Intrusion Detection System using Snort & SAM : Security and Privacy on the Internet Instructor: Dr. A. K. Aggarwal Presented By: S. Rahaman & A.
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.
Apache Web Server Quick and Dirty Steve Gibbard for SANOG 16 (Originally by Joel Jaeggli for AfNOG 2007) ‏
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.
Linux Operations and Administration
Hosting Control Panels Allows users to manage their various hosted services in single place.  Creating webspaces  Creating FTP accounts  Creating .
DHCP server & Client Objectives Contents
Tcl/Tk Using Starkits for Easy Deployment of Server Applications Mark Roseman courseforum T E C H N O L O G I E S.
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.
Linux Operations and Administration
Web Servers1-1 Web Servers Xingquan (Hill) Zhu
Intrusion Detection System using SNORT & BASE (Basic Analysis and Security Engine) Prepared By: Tahira Farid & Anitha Prahladachar Course: Winter.
An introduction to Apache. Different Types of Web Servers Apache is the default web server for may Unix servers. IIS is Microsoft’s default web server.
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
Apache, MySQL and PHP Installation and Configuration Chapter 4 XAMPP Installation and Configuration.
PHP Motion Idris Winarno. Requirement Apache + PHP5 + MySQL lame ffmpeg flvtool.
Review Security Hardening IPTables SELinux. Today Installations and updates – Rpm command and packages Apache “Issue Ownership”
Apache Web Server v. 2.2 Reference Manual Chapter 1 Compiling and Installing.
DHCP server & Client Objectives –to learn how to setup dhcp servers Contents –Download and Install The DHCP Package –The /etc/dhcpd.conf File –Upgrading.
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 Configuration Linux System Administration /etc/resolv.conf Tells the kernel which name server should be queried when a program asks to "resolve"
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.
Apache Web Server Quick and Dirty Evelyn NAMARA for AfNOG 2014 (Originally by Joel Jaeggli for AfNOG 2007) ‏
Apache Web Server Quick and Dirty Ayitey Bulley for AfNOG 2011 (Originally by Joel Jaeggli for AfNOG 2007) ‏
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.
Lecturer : 이선아  APM  Apache  PHP  MySQL.
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.
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.
SVN code server for AliRoot P.Hristov 18/10/2007.
Your EC2 Instance. How to Connect to your EC2 Instance?
Qmail Installation. Build Qmail tar zxvf qmailrocks.tar.gz tar zxvf qmailrocks.tar.gz Edit and Run : Edit and Run : /test/qmailrocks/scripts/install/qmr_install_linux-s1.script.
Installation of PHP5 Objectives –Install PHP5 with support for Apache and MySQL Contents –Installing latest dependencies LibXML & LibSLT –Compiling and.
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.
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,
Apache + ASP.NET.
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
Chapter 2 Getting Started with PHP PHP Programming with MySQL
University of Texas Rio Grande Valley Systems Administration CSCI 6175
A simple way to configure PHP and Apache for Assignment 2
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 -e --nodeps libxml # rpm -ivh libxml i386.rpm # rpm -ivh libxml2-devel i386.rpm # rpm -ivh libxml2-python i386.rpm # cd /usr/local/src # rpm -e --nodeps libxml # rpm -ivh libxml i386.rpm # rpm -ivh libxml2-devel i386.rpm # rpm -ivh libxml2-python i386.rpm

Download & Install LibXML, LibSLT 2/2 Install libxslt libgcrypt-devel is needed by libxslt-devel , installed with yast! Then install libxslt-devel Verify that packages were installed proper # rpm -e --nodeps libxslt # rpm -ivh libxslt i386.rpm # rpm -e --nodeps libxslt # rpm -ivh libxslt i386.rpm # rpm -qa | grep libxml2 libxml libxml2-devel # rpm -qa | grep libxslt libxslt libxslt-devel # rpm -qa | grep libxml2 libxml libxml2-devel # rpm -qa | grep libxslt libxslt libxslt-devel # rpm -ivh libxslt-devel i386.rpm

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: Find AddType in Apache config file and add: # make install Options Indexes FollowSymLinks Includes MultiViews # libtool --finish /usr/local/src/php-5.1.2/libs DirectoryIndex index.html index.html.var index.php LoadModule php5_module lib/httpd/modules/libphp5.so AddType application/x-httpd-php.php AddType application/x-httpd-php-source.phps AddType application/x-httpd-php.php AddType application/x-httpd-php-source.phps

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 Create a small start/stop script for apache! Make Apache and MySQL start at boot time We are now done! You should now have lastest version of: –ApacheMySQLPHP5 Check that Apache can deal with PHP5 code. –Add to /usr/local/httpd/htdocs/test.php –Test to open: # /etc/init.d/mysql restart # chkconfig mysql on # chkconfig httpd on # chkconfig mysql on # chkconfig httpd on # apachectl restart <? phpinfo(); ?> <? phpinfo(); ?>