Re: Apache, PHP4, php4apache.dll and php4ts.dll (?)
| From: | michael | Date: | Wed, 10 Mar 2004 09:31:17 +0000 |
| Subject: | Re: Apache, PHP4, php4apache.dll and php4ts.dll (?) | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-12947@lists.php.net to get a copy of this message | ||
Set to your Drive Letters.
I have in the httpd.conf
1. LoadModule php4_module "c:/php/php4apache.dll"
At the end of the Load Module Directives
2. AddModule mod_php4.c
At the end of the AddModule Directives.
3. AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
4. I copied the Php4apache.dll, Php4ts.dll to the C:\php folder.
5. Php.ini Settings in C:\winnt
include_path = "c:\php\ext;c:\mysql\bin"
extension_dir = c:\php\ext
ScriptAlias /php/ c:/php/
AddType application/x-httpd-php .php .phtml
Action application/x-httpd-php /php/php.exe
Oliver Poignant wrote:
Hello PHPeople.
Im trying to set up PHP 4.3.5 for my apache 2.0.48 server..
I've read the install.txt file over and over again, but cant fint what i've done wrong.
I have added these lines in httpd.conf:
LoadModule php4_module c:/PHP/sapi/php4apache.dll
AddType application/x-httpd-php .php
I have also placed the php4ts.dll file in c:/PHP/sapi, c:/program/apache group/, c:/windows/system, and c:/windows/system32 (to be sure)..
When I start up apache, it gives an error, "Cannot load C:/PHP/sapi/php4apache.dll into server: *det gar inte att hitta den angivna modulen (means like: "cant fint the selected module")
The install.txt told me to use a tool called strace, but I run windows XP, and then i have to set "REG_KEY" orsomething like that to 0, to make strace work.. And I dont want to do that.. I'm not really into windows.
Anyway, i've been clicking around in the mailling list, but nothing works for me..
I did'nt use the PHP-install file, I did install it with my own hands.. Accord to the install.txt file!
I am running apache as module, and it works fine when i skip the php-module lines.