RE: [PHP] Installin PHP as a module

2002-08-12 Thread RPS Internet

I have had the sam problem in the past and have found out that it was a
space in the path to the file. Try renameing the folder to apache_groups and
see if that helps. My problem wasen't exactly the same as yours it did deal
with another module that I was installing.

Josh Thomas
RPS Internet Services

-Original Message-
From: Carl Brandenburg [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 2:12 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Installin PHP as a module


Hello everyone,

First off, I've tried every option to get this working I could find in the
past few days. I am trying to use the php4apache2.dll as a module in apache.
I've tried changing the quotations and the direction of the slashes on the
LoadModule line in the httpd.conf file. I've also tried copying the
php4apache2.dll into the \apache2\modules\ directory and changing the
httpd.conf file appropriately. Still no joy. What pisses me off is I have
the same setup at my workstation at work and everything is fine. The only
difference is that everything is loaded on the C drive. Is that what is
causing the problem by chance?
Any help would be greatly appreciated.

Versions:
Windows 2000 SP2
PHP 4.2.2
Apache 2.0.40

The error message I get is as follows:
D:\Program Files\Apache Group\Apache2\bin>apache -t
Syntax error on line 173 of D:/Program Files/Apache
Group/Apache2/conf/httpd.conf:
Cannot load D:/php/sapi/php4apache2.dll into server: The specified procedure
could not be found.

My install paths are:
PHP:d:\php\
Apache: d:\program files\apache group\apache2\

I've added the following lines in my httpd.conf file:
LoadModule php4module d:/php/sapi/php4apache2.dll
AddModule mod_php.c
AddType application/x-httpd-php .php

I've also put the php.ini and php4ts.dll files in c:\winnt.



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Installin PHP as a module

2002-08-12 Thread Carl Brandenburg

Hello everyone,

First off, I've tried every option to get this working I could find in the
past few days. I am trying to use the php4apache2.dll as a module in apache.
I've tried changing the quotations and the direction of the slashes on the
LoadModule line in the httpd.conf file. I've also tried copying the
php4apache2.dll into the \apache2\modules\ directory and changing the
httpd.conf file appropriately. Still no joy. What pisses me off is I have
the same setup at my workstation at work and everything is fine. The only
difference is that everything is loaded on the C drive. Is that what is
causing the problem by chance?
Any help would be greatly appreciated.

Versions:
Windows 2000 SP2
PHP 4.2.2
Apache 2.0.40

The error message I get is as follows:
D:\Program Files\Apache Group\Apache2\bin>apache -t
Syntax error on line 173 of D:/Program Files/Apache
Group/Apache2/conf/httpd.conf:
Cannot load D:/php/sapi/php4apache2.dll into server: The specified procedure
could not be found.

My install paths are:
PHP:d:\php\
Apache: d:\program files\apache group\apache2\

I've added the following lines in my httpd.conf file:
LoadModule php4module d:/php/sapi/php4apache2.dll
AddModule mod_php.c
AddType application/x-httpd-php .php

I've also put the php.ini and php4ts.dll files in c:\winnt.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php