Has anyone gotten Apache 2.0.35 on Win32 and PHP to work as a Module. I always get an error when Apache starts saying it can't find the module. It works fine on any version of 1.3.xx of apache.
Apache 2.0.35 / WIN32 / PHP 4.1.2 as Mod
I get the same error...I don't know what's wrong :-/
But at least I know I'm not the only one...
Hi!
I get the same error.
The PHP install.txt instructions don't work.
LoadModule php4_module C:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
Copying php4apache.dll to modules,
renaming to mod_php4.dll and small changes like "AddModule php4_module" don't work, too.
Even only the LoadModule or the AddModule instruction alone makes the start impossible.
Any suggestions?
I have the same problem as well, has anyone gotten it to work?
Estoy realizando la instalacion en windows 98 que procesos realizo
man, and I thought it was just me. I wish I knew how to get this to work, because I really want to try out this new version of apache. I hope somebody can figure it out.
Just try the CGI version, it works well
I wrote a comment to the php bug list,
hope they can fix it.
thank u everyone...i was going crazy trying to fix this problem and i thought it something i did wrong but apperantly not =)
Hi Cris
I have Apache 2.0.35 + PHP 4.2.0 RC3 + MySQL 3.23.49 installed on my Win 2000 development machine.
Directory structure:
c:\apache2
c:\mysql
c:\php
Copy the php4ts.* files to c:\winnt\system32 and copy whichever php.ini- file you rename to php.ini to c:\winnt.
Locate the the experimental directory within the php 4.2.0. rc3 structure. Copy the file apache2filter.dll to the c:\php\sapi\directory.
Add the following lines directly underneath the LoadModule commands in the httpd.conf file.
LoadModule php4_module "C:/php/sapi/apache2filter.dll"
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
Hope this helps
i just tried it but it does not seem to load php as a module. am i missing something?
Hi Bien,
The setup as outlined in the previous message is working ok on my machine, you don't have any older php config/system file remnants hanging around in c:\winnt\system or c:\winnt that may be causing this problem?.
Ron
I cleared everything and reinstalled everything again.. it works now. Thanks alot! ;D
Thank You very much. They should post this on the site, allot of people are having troube with it.
Hi,
I've got another question here. How can I run php as a module "--with-xml"?
Worked for me, too.
Thanks, Ron!
Mike
Quote
"PHP 4.2.0 RC3 "
where did you get this I can only see releases for 4.1.2.
And in that distribution it has no dll's called
"apache2filter.dll"
I've never had problems installing php before why has it suddenly become so difficult now?
Jamie
You can get this from http://www.php.net
The current realease to download is PHP 4.2.0 RC4. The link to the download is at the top of the above page.
Ron
Beware that apache2filter.dll is stored in the experimental directory...
a/
Thanks Ron that's great :-)
and here was I thinking it was somet' i'd done >:-|