httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hendrik Schmieder <hendrik.schmie...@jedox.com>
Subject Re: [users@httpd] Apache PHP configuration
Date Mon, 20 Oct 2014 07:47:00 GMT
Ted Hickox schrieb:
> I'm trying to connect PHP to Apache.  I have Windows 7 Ultimate.  I used
> the thread safe windows binary PHP download.  It was the latest download.
>
> I then downloaded Notepad ++ and opened PHP.ini.  Using Notepad ++ I
> searched for the word _dir.  Once I found it, I found ;extension_dir =
> "ext"  I removed the semicolon and saved the document.
>
> Then I went into my PHP folder and found install.txt.  I opened it with
> Notepad ++  I searched for apache module.  I found the apache 2.0
> module.  I made sure the file php5apache2_4.dll was in the PHP folder.
> I copied the following text:
>
> # For PHP 5 do something like this:
> LoadModule php5_module "c:/PHP/php5apache2_4.dll"
> AddType application/x-httpd-php .php
>
> # configure the path to php.ini
> PHPIniDir "C:/PHP"
>
> I capitalized my PHP folder so I could see it more distinctly.
>
> I switched off Apache.
>
> Then I found my Apache folder.  (c:Program Files/Apache Software
> Foundation/Apache2.2/conf)  I opened httpd.conf with Notepad ++
>
> I searched for Loadmodule and at the end of the Loadmodule list I pasted
> this:
>
> # For PHP 5 do something like this:
> LoadModule php5_module "c:/PHP/php5apache2_4.dll"
> AddType application/x-httpd-php .php
>
> # configure the path to php.ini
> PHPIniDir "C:/PHP"
>
> Then I searched for index.html and added index.php
>
> I saved all my work and closed Notepad ++
>
> I restarted Apache and got the following error:  cannot load
> php5apache2_4.dll into server.  The specified procedure could not be
> found.  I don't know what I've done wrong.  I need help starting Apache.
>
>

Which Apache version are you using ?

   Hendrik




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message