Hi everyone,

I have the common "Document contains no data" problem with php 4.0.6, but with
no core, no seg fault, no log in error_log or access_log.

I have, on IRIX64 6.5, Apache 1.3.12, MySQL Ver 9.38 Distrib 3.22.32,
mod_ssl-2.6.6-1.3.12, openssl-0.9.6, php 3.0.16 all working correctly.

I compiled php-4.0.6 without any errors, and installed it as a shared module.
CFLAGS='-O2 -I/io/httpd/apache_1.3.12_src/openssl-0.9.6/include' ./configure --w
ith-mysql=/usr/local/mysql --with-apxs=/io/httpd/apache_1.3.12/bin/apxs --with-i
map=/io/httpd/apache_1.3.12_src/php-3.0.16/imap --enable-memory-limit=yes --enab
le-debug=no

The imap code is imap from University of Washington (pine).

In my httpd.conf, related to php:
LoadModule php3_module        libexec/libphp3.so
LoadModule php4_module        libexec/libphp4.so

AddModule mod_php3.c
AddModule mod_php4.c

    AddType application/x-httpd-php3 .php
    AddType application/x-httpd-php3 .php3
    AddType application/x-httpd-php3-source .phps
    AddType application/x-httpd-php3 .html
    AddType application/x-httpd-php3 .htm
    AddType application/x-httpd-php .php3
    AddHandler application/x-httpd-php .php4

I had to use AddHandler for php4. If I used AddType I was getting a dialog
asking me if I want to save the file each time I tried to access a .php4
document. With that config, I am now getting a "Document contains no data" for
any .php4 document. No core dump, no seg fault, nothing in error_log or
access_log of apache. I don't even see my access to a .php4 doc in access_log.

Any hint on how to resolve this issue?

Thanks,

Christian Page
UQAM




-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to