httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Hickox <megeli...@gmail.com>
Subject Re: [users@httpd] Apache PHP configuration
Date Tue, 21 Oct 2014 20:18:44 GMT
I thought I downloaded Apache 2.4.  But apparently the Apache website
hasn't updated their binary page.  I've just downloaded Apache 2.4 and
followed the instructions on a webpage I found.  It seems to be working.
If I have any additional problems, I will let you know.

On Tue, Oct 21, 2014 at 12:09 AM, NĂ©stor <rotsen@gmail.com> wrote:

> is confusing because you say that you found your apache folder 2.2
> and then you are using php5apache2_4
>
> Which apache are you using 2.2 or 2.4?
>
> On Mon, Oct 20, 2014 at 8:06 PM, Ted Hickox <megelinic@gmail.com> wrote:
>
>> I'm using PHP 5.5 (I think that's the latest one.) and Apache 2.4
>>
>> On Mon, Oct 20, 2014 at 2:47 AM, Hendrik Schmieder <
>> hendrik.schmieder@jedox.com> wrote:
>>
>>> 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