ApachePHPMySQL - PowerPoint PPT Presentation

1 / 9
About This Presentation
Title:

ApachePHPMySQL

Description:

Used the book as a reference & used the WOW Web site as a reference ... Used ONLY the WOW Web site as a reference and everything worked out well the second time. ... – PowerPoint PPT presentation

Number of Views:171
Avg rating:3.0/5.0
Slides: 10
Provided by: valuedg191
Category:

less

Transcript and Presenter's Notes

Title: ApachePHPMySQL


1
Apache/PHP/MySQL
  • Brenda Aldine
  • Darlene Banta
  • Ryan Getts

2
APACHE!
  • Using the online resource we installed Apache
    without any problems
  • After installing PHP and modifying the httpd.conf
    file we experienced problems with PHP and thus
    deleted and reinstalled Apache
  • RESOURCE WE USED
  • Wow Web Design

3
PHP!
  • Downloaded zip file directly from the WOW Web
    site
  • Extracted into directory C\program
    files\php\php-4.3.2-Win32

4
Problems with PHP
  • Used the book as a reference used the WOW Web
    site as a reference
  • When the .zip file was extracted, it created its
    own directory called php-4.3.2-Win32

5
Solution
  • Deleted ALL PHP files, including php.ini,
    httpd.conf
  • Removed and Re-installed Apache
  • Re-extracted the php-4.3.2-Win32 .zip file
  • Used ONLY the WOW Web site as a reference and
    everything worked out well the second time.

6
HTTPD.CONF
  • The successful installation of PHP resulted after
    the following lines were added to the httpd.conf
    file
  • ScriptAlias /php/ "c/php/ "
  • Action application/x-httpd-php "/php/php.exe"
  • AddType application/x-httpd-php .php

7
ScriptAlias
  • Controls which directories contain server
    scripts.
  • Documents in the real name directory ("c/php/)
    are treated as applications and run by the server
    when requested

8
Action AddType Applications
  • The action application associates the interpreter
    ("/php/php.exe") to run the PHP scripts
  • AddType allows Apache to recognize PHP scripts
  • Reference Materials
  • thesitewizard.com

9
MySQL!
  • We installed MySQL from the PHP and MySQL Web
    Development text book
  • Installation went smoothly
  • We opened the command prompt to test if the
    installation was successful
Write a Comment
User Comments (0)
About PowerShow.com