php-install Digest 26 Dec 2001 02:10:00 -0000 Issue 619

Topics (messages 5385 through 5387):

Apache 2
        5385 by: Nicolas DEFFAYET \(NDSoftware\)
        5386 by: Marios Karagiannopoulos

Re: Qmail; PHP 401 and 410
        5387 by: Yasuo Ohgaki

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Hello,

I have installed PHP 4.1.0 and Apache 2.0.28.
I have configure php with --with-apxs=/usr/local/apache2/bin/apxs, and
in my httpd.conf, i have add:
AddType application/x-httpd-php .php .php3 .php4 .phtml .nds
AddType application/x-httpd-php-source .phps

I have stop and restart apache.

Why my php scripts is not parsed ?
My browser display my php script source or download the file :(

How i can fix this problem ?

Thanks for all help.

Nicolas

--- End Message ---
--- Begin Message ---
Hi,

I am trying to compile using gcc, in CYGWIN, the new PHP4.1.0 but I got
The results below:


D:\cygnus\cygwin-b20>bash
BASH.EXE-2.02$ cd /
BASH.EXE-2.02$ cd tmp/php-4.1.0
BASH.EXE-2.02$ make install
Making install in Zend
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
Making install in main
gcc -I. -I/tmp/php-4.1.0/main -I/tmp/php-4.1.0/main -I/tmp/php-4.1.0
-I/tmp/php-
4.1.0/Zend -I/usr/local/include -I/tmp/php-4.1.0/ext/mysql/libmysql
-I/tmp/php-4
.1.0/ext/xml/expat  -I/tmp/php-4.1.0/TSRM -g -O2  -c main.c && touch
main.lo
In file included from \tmp\php-4.1.0\TSRM\tsrm_virtual_cwd.h:45,
                 from php.h:303,
                 from main.c:26:
\tmp\php-4.1.0\TSRM\readdir.h:22: `_MAX_FNAME' undeclared here (not in a
functio
n)
\tmp\php-4.1.0\TSRM\readdir.h:22: size of array `d_name' has non-integer
type
\tmp\php-4.1.0\TSRM\readdir.h:31: field `fileinfo' has incomplete type
In file included from php.h:303,
                 from main.c:26:
\tmp\php-4.1.0\TSRM\tsrm_virtual_cwd.h:48: conflicting types for
`mode_t'
D:\CYGNUS\CYGWIN~1\H-I586~1\BIN\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.5
7\..\..\
..\..\i586-cygwin32\include\sys/types.h:113: previous declaration of
`mode_t'
In file included from
D:\CYGNUS\CYGWIN~1\H-I586~1\BIN\..\lib\gcc-lib\i586-cygwin
32\egcs-2.91.57\..\..\..\..\i586-cygwin32\include\dirent.h:4,
                 from php_reentrancy.h:27,
                 from php.h:312,
                 from main.c:26:
D:\CYGNUS\CYGWIN~1\H-I586~1\BIN\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.5
7\..\..\
..\..\i586-cygwin32\include\sys/dirent.h:11: redefinition of `struct
dirent'
D:\CYGNUS\CYGWIN~1\H-I586~1\BIN\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.5
7\..\..\
..\..\i586-cygwin32\include\sys/dirent.h:39: conflicting types for `DIR'
\tmp\php-4.1.0\TSRM\readdir.h:34: previous declaration of `DIR'
D:\CYGNUS\CYGWIN~1\H-I586~1\BIN\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.5
7\..\..\
..\..\i586-cygwin32\include\sys/dirent.h:41: conflicting types for
`opendir'
\tmp\php-4.1.0\TSRM\readdir.h:37: previous declaration of `opendir'
D:\CYGNUS\CYGWIN~1\H-I586~1\BIN\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.5
7\..\..\
..\..\i586-cygwin32\include\sys/dirent.h:42: conflicting types for
`readdir'
\tmp\php-4.1.0\TSRM\readdir.h:38: previous declaration of `readdir'
D:\CYGNUS\CYGWIN~1\H-I586~1\BIN\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.5
7\..\..\
..\..\i586-cygwin32\include\sys/dirent.h:43: conflicting types for
`rewinddir'
\tmp\php-4.1.0\TSRM\readdir.h:41: previous declaration of `rewinddir'
D:\CYGNUS\CYGWIN~1\H-I586~1\BIN\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.5
7\..\..\
..\..\i586-cygwin32\include\sys/dirent.h:44: conflicting types for
`closedir'
\tmp\php-4.1.0\TSRM\readdir.h:40: previous declaration of `closedir'
make[2]: *** [main.lo] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
BASH.EXE-2.02$


Do you know something about it?
Thanks

--- End Message ---
--- Begin Message ---
Emile Axelrad wrote:

> We have several NT 4 based web servers (running IIS) which run the CGI
> version of PHP 4.0.1. 
> 
> Our SMTP server is a linux box running QMail. 4.0.1 works fine with this
> QMail server for Mail() command.
> 
> I've tried to upgrade one server to PHP 4.0.5, 4.0.6 and 4.1.0 - each
> time I have been defeated by the same problem/glitch/headache: Mail()
> stops working in that the Mail command never completes and eventually
> the script times out. 
> 
> If we change the SMTP ini setting to another server (in this case a NT
> SMTP server which is not configured to send properly, so can't be used
> as relay and thus not a real solution) the Mail command works again. We
> have tried a number of different SMTP servers, but we appear to have
> reached the conclusion that while PHP 4.0.1 is happy to talk to Qmail,
> later versions are not. 
> 
> Additionally I have also tried installing Apache 1.3.9 and PHP 4.0.1
> (then 4.0.5) on my own NT 4 workstation, the former works fine the
> latter not. 
> 
> I would welcome any thoughts/assistance on this! 
> 
> Thanks... Lee / Emile
> 
> 

Could you post e-mail message that didn't work with header?
(i.e. try with other SMTP server and get message with header)

-- 
Yasuo Ohgaki

--- End Message ---

Reply via email to