crisfarmer
04-12-2002, 09:54 AM
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.
|
Click to See Complete Forum and Search --> : Apache 2.0.35 / WIN32 / PHP 4.1.2 as Mod crisfarmer 04-12-2002, 09:54 AM 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. Anon 04-12-2002, 10:31 AM I get the same error...I don't know what's wrong :-/ But at least I know I'm not the only one... Anon 04-12-2002, 10:37 AM 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? Anon 04-12-2002, 12:01 PM I have the same problem as well, has anyone gotten it to work? Anon 04-12-2002, 07:57 PM Estoy realizando la instalacion en windows 98 que procesos realizo Anon 04-12-2002, 07:59 PM 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. Anon 04-12-2002, 09:49 PM Just try the CGI version, it works well :) I wrote a comment to the php bug list, hope they can fix it. Anon 04-13-2002, 09:21 AM thank u everyone...i was going crazy trying to fix this problem and i thought it something i did wrong but apperantly not =) Anon 04-13-2002, 06:35 PM 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 Anon 04-13-2002, 06:59 PM i just tried it but it does not seem to load php as a module. am i missing something? Anon 04-13-2002, 07:10 PM 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 Anon 04-13-2002, 08:47 PM I cleared everything and reinstalled everything again.. it works now. Thanks alot! ;D crisfarmer 04-13-2002, 10:33 PM Thank You very much. They should post this on the site, allot of people are having troube with it. Anon 04-14-2002, 02:42 PM Hi, I've got another question here. How can I run php as a module "--with-xml"? Anon 04-14-2002, 04:37 PM Worked for me, too. Thanks, Ron! Mike Anon 04-16-2002, 10:39 AM 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? Anon 04-16-2002, 10:59 AM 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 crisfarmer 04-16-2002, 09:58 PM http://www.php.net/~derick/ Anon 04-18-2002, 04:36 PM Beware that apache2filter.dll is stored in the experimental directory... a/ Anon 04-19-2002, 04:36 PM Thanks Ron that's great :-) and here was I thinking it was somet' i'd done >:-| Anon 05-29-2002, 05:19 PM Under loadmodule in httpd.conf add the following lines LoadModule php4_module "c:/php/sapi/php4apache2.dll" AddType application/x-httpd-php .php Under xp, put your php4ts.dll and php4ts.lib in system32 folder. That worked for me Gary Anon 07-08-2002, 06:12 AM Yepee, this finally works!! great thanks to Gary! I just had to use php4apache2.dll !! ^ | | PHP Builder
Copyright Internet.com Inc. All Rights Reserved. |