• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
J M Githeko Agenda Software installation – Apche, MySQL, PHP
 

J M Githeko Agenda Software installation – Apche, MySQL, PHP

on

  • 448 views

 

Statistics

Views

Total Views
448
Views on SlideShare
447
Embed Views
1

Actions

Likes
0
Downloads
1
Comments
0

1 Embed 1

http://www.slideshare.net 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    J M Githeko Agenda Software installation – Apche, MySQL, PHP J M Githeko Agenda Software installation – Apche, MySQL, PHP Presentation Transcript

    • J M Githeko
    • Agenda
      • Software installation – Apche, MySQL, PHP
      • Configuring httpd.conf
      • Administering MySQL
      • FTP
        • Servers – Filezillar Server
        • Clients – FileZilla , SmartFTP , CuteFTP …
      • Web Analytics – AWSTATS, Google Analytics – measures website statistics
    • Apache [httpd.conf]
      • Set Document Root:
        • DocumentRoot “c:/wamp/www/“
      • Server Name:
        • DocumentRoot "c:/wamp/www/“
      • Loading Modules:
        • Remove “#” comment from module name
        • E.g.
          • #LoadModule ssl_module modules/mod_ssl.so
        • Becomes:
          • LoadModule ssl_module modules/mod_ssl.so
    • Apache Error Response Customization
      • Customizable error responses come in three flavors:
      • Plain Text
      • Local Redirects
      • External Redirects
      • (1) Plain Text
      • #ErrorDocument 500 "The server made a boo boo."
      • (2) local redirects
      • #ErrorDocument 404 /missing.html
      • #ErrorDocument 404 "/cgi-bin/missing_handler.pl“
      • (3) External Redirects
      • #ErrorDocument 402 http://localhost/subscription_info.html
    • Httpd.conf Configuration
      • LoadModule php5_module "c:/wamp/bin/php/php5.2.9-1/php5apache2_2.dll“ [Load PHP module]
      • DirectoryIndex index.php index.php3 index.html index.htm [Cause Apache to look for index.php before index.html]
      • AddType application/x-httpd-php .php [Recognise php files]
    • MySQl
      • See MySQL.doc tutorial on NTC website
      • Use MySQL client:
      • E.g. To create a user:
      • GRANT ALL PRIVILEGES ON drupal.* TO root@localhost IDENTIFIED BY 'rootpassword';
      • Database: drupal
      • User Name: root (on localhost)
      • Password: 'rootpassword';
    • FTP
      • Hosting site must have an FTP server running
      • Install ftp client
      • Connect to site
      • Upload files (take care not to delete accidentally)
    • FTP
    • Free Web Hosting With PHP/MySQL
      • http://www.000webhost.com/
      • Key Info to Keep Carefully:
      • Cpanel User Name/Password
      • Web Address
      • FTP Cpanel User Name/Password
      • FTP Address
    • Web Site Security – Next Week