[PHP-INSTALL] How can I make work PHP like module not cgi?

2003-12-04 Thread Quique
Hi, we have a web server developed by us, how can we make work it with PHP
like module not cgi?

Saludos
Quique


[PHP-INSTALL] Installing on Redhat

2003-12-04 Thread Mike Morton
Trying to do a compile/install on redhat:

./configure --with-mysql --with-apxs --with-mcrypt

Using apache 1.3.29, php 4.3.4

The configure goes perfectly, and in the make:

/bin/sh /root/WORK/php-4.3.4/libtool --silent --preserve-dup-deps
--mode=compile gcc  -I/usr/include/httpd -Isapi/apache/
-I/root/WORK/php-4.3.4/sapi/apache/ -DPHP_ATOM_INC
-I/root/WORK/php-4.3.4/include -I/root/WORK/php-4.3.4/main
-I/root/WORK/php-4.3.4 -I/root/WORK/php-4.3.4/Zend -I/usr/local/include
-I/root/WORK/php-4.3.4/ext/xml/expat  -I/root/WORK/php-4.3.4/TSRM  -g -O2
-prefer-pic -c /root/WORK/php-4.3.4/sapi/apache/sapi_apache.c -o
sapi/apache/sapi_apache.lo
/root/WORK/php-4.3.4/sapi/apache/sapi_apache.c: In function
`apache_php_module_main':
/root/WORK/php-4.3.4/sapi/apache/sapi_apache.c:45: `NOT_FOUND' undeclared
(first use in this function)
/root/WORK/php-4.3.4/sapi/apache/sapi_apache.c:45: (Each undeclared
identifier is reported only once
/root/WORK/php-4.3.4/sapi/apache/sapi_apache.c:45: for each function it
appears in.)
make: *** [sapi/apache/sapi_apache.lo] Error 1


Help?

TIA


--
Cheers

Mike Morton


*
* Tel: 905-465-1263
* Email: [EMAIL PROTECTED]
*


"Indeed, it would not be an exaggeration to describe the history of the
computer industry for the past decade as a massive effort to keep up with
Apple."
- Byte Magazine

Given infinite time, 100 monkeys could type out the complete works of
Shakespeare. Win 98 source code? Eight monkeys, five minutes.
-- NullGrey 


[PHP-INSTALL] Re: Installing on Redhat

2003-12-04 Thread Michael Mauch
Mike Morton wrote:

> Trying to do a compile/install on redhat:
> 
> ./configure --with-mysql --with-apxs --with-mcrypt
> 
> Using apache 1.3.29, php 4.3.4

Are you sure that you really are using Apache 1.3.29, not 2.x? And that
the "apxs" in your PATH doesn't belong to Apache 2?

> /root/WORK/php-4.3.4/sapi/apache/sapi_apache.c:45: `NOT_FOUND' undeclared

The last time this happened, the user wanted to use Apache 2 and used
--with-apxs instead of --with-apxs2.

Regards...
Michael