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, 53697🔥, 2💬
Popular Posts:
What is "Net.Msmq Listener Adapter" in my Windows 7 service list? And how is "Net.Msmq Listener Adap...
What is YInstStarter Class - Download Program Files (DPF)? YInstStarter Class is a Download Program ...
What is EvtEng.exe process - Intel Wireless EvtEng Module? Process EvtEng.exe is related to your wir...
How do I know which version of Internet Explorer (IE) is on my computer? If you want to know which v...
How do I move the licenses for the songs that I purchased from an online store to my new computer? T...