Installing Php5 On Apache 2.2

Posted By admin On 10.02.20
  1. Download Apache 2.2
  2. Installing Php5 On Apache 2.2 Windows
  • LAMP (Linux, Apache, MySQL and PHP ) Stack is the most popular environment in PHP website development and hosting. Linux is the operating system, Apache is the popular web server developed by Apache Foundation.
  • Windows 10 has been released on the world and so an updated how to guide for installing Apache, PHP and MySQL on the latest release. In this post like previous we will cover installing all the programs individually.
  • How to Install Apache 2.2.x and PHP 5.3.x on CentOS 5 This guide assumes you have a minimal CentOS installation and are not planning on running a control panel such as cPanel, which installs the Apache webserver for you.
  • How to Install Apache 2.2 on Windows Vista by Christopher Heng, thesitewizard.com Although I have written a number of articles on installing Apache 2.2, 2.0 and 1.3 on Windows in the past, they were designed for installation on Windows XP and earlier.

Many web developers want to run Apache and PHP on their own computer since it allows them to easily test their scripts and programs before they put them 'live' on the Internet. This article gives a step by step guide on how you can install and configure PHP5 to work together with the Apache HTTP. After installing Apache 2.2 and PHP 5.3.7 I could not get the phpinfo.php to display. When i attempted to pull up the php info page my browser would load the php script instead. I had added the following line to the Apache conf file LoadModule php5_module 'c:/php/php5apache2_2.dll'. After installing Apache 2.2 and PHP 5.3.7 I could not get the phpinfo.php to display. When i attempted to pull up the php info page my browser would load the php script instead. I had added the following line to the Apache conf file.

Download Apache 2.2

Configuring Apache 2.2.8
  • Now that you have successfully installed both Apache Webserver and php scripting language your next most important task is to configure them so that they can recognize each other.
  • Go to your apache installation path, and then open httpd.conf which is located under the conf directory “C:Program Filesapacheconf” double click on httpd.conf file. Find (ctrl+F) 'loadmodule'. After the last line of the loadmodule section type: LoadModule php5_module C:/Program Files/php/php5apache2_2.dll
  • After you have done look for <IfModule mime_module> and then add the following lines
    • AddType application/x-httpd-php .php
    • AddType application/x-httpd-php-source .phps
  • Before the closing statement </IfModule> for mime_module
  • After that on the same page find <IfModule dir_module> and then add DirectoryIndex index.html and index.php before </IfModule> if it already does not exists.
  • Add the following line “PHPIniDir “C:/Program Files/php” to the bottom of the file.
  • After you have done that save the file and close it.
Active4 years, 9 months ago

I'm setting up an development environment on a Windows 8.1 machine.

I successfully installed Apache 2.2, and downloaded php-5.6.3-Win32-VC11-x86.

I added the following lines at the end of httpd.conf

I also added

Installing The MG5220 Software Step 7 On the Canon IJ Network Tool screen, select MG5200 series in Printers, then click Next. Note: The alphanumeric characters after Canon MG5200 series is the machine's Bonjour service name or MAC address. Download CANON PIXMA-MG5220 SM service manual & repair info for electronics experts Service manuals, schematics, eproms for electrical technicians This site helps you to save the Earth from electronic waste! The PIXMA MG5220 is an advanced wireless inkjet photo all-in-one with a stylish, compact design delivering a fantastic combination of performance and convenience. Canon pixma mg5220 service manual & repair guide. PIXMA MG5220 Mac OS 2 On the Canon IJ Network Tool screen, select MG5200 series in series is the machine’s Bonjour service name or MAC address.

to the myme.types file

If I comment out PHPIniDir or LoadModule apache will start normally. Hp lj 1320 firmware update.

Also, all extensions are commented out on the PHP.ini file, and the extension directory is set as

Any help will be hugely appreciated.

EDIT 1:The only thing in error log is about server shutdow

Morez
MorezMorez
Installing Php5 On Apache 2.2

Installing Php5 On Apache 2.2 Windows

1 Answer

Check your apache log file for errors! see what the

You mention apache 2.2, yet you are using a dll called php5apache2_4.dll.This dll is according to the name specifically build for apache 2.4. This is likely to cause issues, the last php version which has a dll for apache 2.2 for windows on the php website is php 5.4.35.

user254948user254948
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.

Not the answer you're looking for? Browse other questions tagged phpapache or ask your own question.