Categories:
Administration (161)
Adware Spyware (43)
Apache (20)
Bluetooth (127)
DOS Commands (2)
Edge (28)
General (5)
Internet Connection (21)
Internet Explorer (224)
Media Center (14)
Media Player (135)
Mozilla Firefox (22)
MS Access (9)
Performance (204)
PHP (25)
Programming (36)
Security (109)
Silverlight (22)
Tips (144)
Tools (312)
Tutorials (39)
Windows 10 (168)
Windows 7 (1411)
Windows 8 (1712)
Windows Phone (33)
Windows Server 2008 (165)
Windows Server 2012 (84)
Windows Server 2016 (23)
Windows Vista (71)
Windows XP (23)
Collections:
Other Resources:
Configuring Apache to Use PHP as a Loaded Module on Windows Systems
How to configure Apache server to run PHP engine as a loaded module on Windows systems?
✍: FYIcenter.com
1. Assuming that your Apache server is installed at C:\Program Files\Apache Software Foundation\Apache2.2
2. Assuming that your PHP engine is installed at C:\Program Files\php-5.2.0-Win32
3. Use "notepad" to open C:\Program Files\Apache Software Foundation \Apache2.2\conf\httpd.conf
4. Go to the LoadModule section and enter:
LoadModule php5_module "C:/Program Files/php-5.2.0-Win32/php5apache2.dll" PHPIniDir "C:/Program Files/php-5.2.0-Win32"
6. Go to mime_module section and define a mime type as:
<IfModule mime_module> ... AddType application/x-httpd-php .php </IfModule>
7. Try to restart the Apache server, you will get the following error:
httpd.exe: Syntax error on line 116 of C:/Program Files /Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/php-5.2.0-Win32 /php5apache2.dll into server: The specified module could not be found.
8. To resolve this error, read our Fixing php5apache2.dll Loading Error tutorial.
2016-07-10, 45687👍, 2💬
Popular Posts:
Where to find tutorials on using Windows 7 Installed Programs and software? Here is a collection of ...
Can I disable Windows service "ASP.NET State Service" to speedup my computer? Windows service "ASP.N...
How to remove VSAdd-in.dll and VSAdd-in toolbar? If you want to remove VSAdd-in toolbar from your IE...
How to use sc.exe command to delete an existing service? If you want to delete a service created by ...
What is helpctr.exe - Microsoft Help and Support Center? helpctr.exe is the executable binary file o...