[PHP] PHP 4.2.1 / Apache

2002-07-10 Thread DSteculorum

HELLO,

I just installed PHP 4.2.1. I am using a Redhat 7.3, installed as server
with Apache.

My problem is I can t compile it as a module for Apache :

./configure --with-apache=/usr/include/apache

configure: error: Invalid Apache directory - unable to find httpd.h under
/usr/include/apache



But hhtpd.h is really under /usr/inclu/apache
[root@localhost php-4.2.1]# slocate httpd.h
/usr/include/apache/httpd.h

Any idea ?

David.



The information contained in this e-mail message may be privileged 
and confidential information and is intended only for the use of 
the individual and/or entity identified in the alias address of 
this message.  If the reader of this message is not the intended 
recipient, or an employee or agent responsible to deliver it to the 
intended recipient, you are hereby requested not to distribute or 
copy this communication. If you have received this communication in 
error, please notify us immediately by telephone or return e-mail and 
delete the original message from your system.


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




Re: [PHP] PHP 4.2.1 / Apache

2002-07-10 Thread Jason Wong

On Wednesday 10 July 2002 17:25, [EMAIL PROTECTED] wrote:
 HELLO,

 I just installed PHP 4.2.1. I am using a Redhat 7.3, installed as server
 with Apache.

 My problem is I can t compile it as a module for Apache :

 ./configure --with-apache=/usr/include/apache

 configure: error: Invalid Apache directory - unable to find httpd.h under
 /usr/include/apache



 But hhtpd.h is really under /usr/inclu/apache
 [root@localhost php-4.2.1]# slocate httpd.h
 /usr/include/apache/httpd.h

Try:

--with-apache=/usr/includeOR
--with-apache=/usr

But you're better off using apxs instead:

--with-apxs=/usr/local/apache/bin/apxs

Obviously the path to apxs on your system may differ.

-- 
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *

/*
Necessity has no law.
-- St. Augustine
*/


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




[PHP] PHP 4.2.1 - Apache 2.0.36 - Win98SE

2002-07-04 Thread Erik Hegreberg

Php 4.2.1 - Apache 2.0.36 -Win98SE
This configuration works great, but when I try to upgrade to Apache 2.0.39 nothing 
works.Even when I try php 4.3.0 it wont work.

My question is: Is there anybody out there who have tried to configure php 4.2.1 or 
4.3.0  with Apache 2.039  and Win98SE?
Please tell me how!

Erik