Re: Apache PHP configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux