php-install Digest 22 Dec 2001 06:41:24 -0000 Issue 613
Topics (messages 5362 through 5368):
Upgrade from 4.06 to 4.1no mail support?
5362 by: Bastiaan van der Put
Upgrade from 4.06 to 4.1no mail support...fixed
5363 by: Bastiaan van der Put
Qmail; PHP 401 and 410
5364 by: Emile Axelrad
Re: apache 1.3.22 doesn't parse php 4.1 on W2K
5365 by: Robert Schulz
5366 by: Jonathan Hilgeman
5367 by: Robert Schulz
Re: web server crashing with either 4.1.0 or 4.0.6
5368 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 upgraden form php 4.06 to 4.1 on RH 7.1 with Apache/1.3.22
./configure --with-mysql=/usr --with-apxs=/usr/local/apache/bin/apxs --with-gd
Install goes ok, same like 4.06 but when using a form and the php mail
command :
Warning: mail() is not supported in this PHP
It works ok on 4.06 have 2 apache's 1 with 4.06 and 1 with php 4.1
Anyone any idea???
Greetings, Bas
--- End Message ---
--- Begin Message ---
hello,
It seems that if php 4.1 can't find sendmail it turns off mail support :
so made a link in /usr/sbin :
ln -s /var/qmail/bin/sendmail sendmail
Reconfigure PHP .....
Works great...in php.ini can still put :
/var/qmail/bin/qmail-inject
I have upgraded from php 4.06 to 4.1 on RH 7.1 with Apache/1.3.22
./configure --with-mysql=/usr --with-apxs=/usr/local/apache/bin/apxs --with-gd
Install goes ok, same like 4.06 but when using a form and the php mail
command :
Warning: mail() is not supported in this PHP
It works ok on 4.06 have 2 apache's 1 with 4.06 and 1 with php 4.1
Anyone any idea???
Greetings, Bas
--- End Message ---
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Hi there !
I have a W2K with apache 1.3.22 and php 4.1 freshly installed. After
requesting .php-pages my Browser starts download of file type
"application/x-httpd-php" --> he doesn't use the php engine :(
Also i get this strange message in error.log: (twice each time i restart
the apache):
[Fri Dec 21 10:25:50 2001] [error] Cannot remove module mod_php4.c: not
found in module list
[Fri Dec 21 10:25:51 2001] [error] Cannot remove module mod_php4.c: not
found in module list
I followed the contained install.txt for modules so added following lines to
httpd.conf:
LoadModule php4_module modules/php4apache.dll
(yes - i copied the file.... this is found correctly and loaded and the
php4ts.dll was copied to %systemroot%\system32)
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
well - the type obviously was correctly associated
so did i forget something ???
more...:
DocumentRoot "D:/htdocs"
AllowOverride All
in .htaccess:
AddType application/x-httpd-php .php .php3 .php4 .phtml .html .mod .inc
i also changed %system%\php.ini (but am not sure what this was good for) :
doc_root = d:\htdocs
extension_dir = c:\php
i copied all extension and other dlls to %system%\system32
(%system%=c:\winnt)
i just don't get the clue what i did different to the 3 other already
running installations with slightly older versions...
--- End Message ---
--- Begin Message ---
How did you install the two programs? Sounds like you need to uninstall
both, add Apache standalone, and then add the PHP binary from PHP.net.
- Jonathan
-----Original Message-----
From: Robert Schulz [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 21, 2001 9:34 AM
To: '[EMAIL PROTECTED]'
Subject: [PHP-INST] HELP: apache 1.3.22 doesn't parse php 4.1 on W2K
Hi there !
I have a W2K with apache 1.3.22 and php 4.1 freshly installed. After
requesting .php-pages my Browser starts download of file type
"application/x-httpd-php" --> he doesn't use the php engine :(
Also i get this strange message in error.log: (twice each time i restart
the apache):
[Fri Dec 21 10:25:50 2001] [error] Cannot remove module mod_php4.c: not
found in module list
[Fri Dec 21 10:25:51 2001] [error] Cannot remove module mod_php4.c: not
found in module list
I followed the contained install.txt for modules so added following lines to
httpd.conf:
LoadModule php4_module modules/php4apache.dll
(yes - i copied the file.... this is found correctly and loaded and the
php4ts.dll was copied to %systemroot%\system32)
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
well - the type obviously was correctly associated
so did i forget something ???
more...:
DocumentRoot "D:/htdocs"
AllowOverride All
in .htaccess:
AddType application/x-httpd-php .php .php3 .php4 .phtml .html .mod .inc
i also changed %system%\php.ini (but am not sure what this was good for) :
doc_root = d:\htdocs
extension_dir = c:\php
i copied all extension and other dlls to %system%\system32
(%system%=c:\winnt)
i just don't get the clue what i did different to the 3 other already
running installations with slightly older versions...
--
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]
--- End Message ---
--- Begin Message ---
I installed apache 1_3_20 and that instantly worked !
Then i reinstalled 1_3_22 and it still doesn't work :(
seems like a fundamental problem between php4.1 and apache1_3_22 !?
suspicious is the message in the error-log which is printed at start, stop
and test of Apache, and which **only** occurs, if i uncomment the
"LoadModule"-Line (LoadModule php4_module c:/php/sapi/php4apache.dll):
[error] Cannot remove module mod_php4.c: not found in module list.
-----Original Message-----
From: Jonathan Hilgeman [mailto:[EMAIL PROTECTED]]
Sent: 2001-12-21, December, Friday 18:48
To: 'Robert Schulz'; '[EMAIL PROTECTED]'
Subject: RE: [PHP-INST] HELP: apache 1.3.22 doesn't parse php 4.1 on W2K
How did you install the two programs? Sounds like you need to uninstall
both, add Apache standalone, and then add the PHP binary from PHP.net.
- Jonathan
-----Original Message-----
From: Robert Schulz [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 21, 2001 9:34 AM
To: '[EMAIL PROTECTED]'
Subject: [PHP-INST] HELP: apache 1.3.22 doesn't parse php 4.1 on W2K
Hi there !
I have a W2K with apache 1.3.22 and php 4.1 freshly installed. After
requesting .php-pages my Browser starts download of file type
"application/x-httpd-php" --> he doesn't use the php engine :(
Also i get this strange message in error.log: (twice each time i restart
the apache):
[Fri Dec 21 10:25:50 2001] [error] Cannot remove module mod_php4.c: not
found in module list
[Fri Dec 21 10:25:51 2001] [error] Cannot remove module mod_php4.c: not
found in module list
I followed the contained install.txt for modules so added following lines to
httpd.conf:
LoadModule php4_module modules/php4apache.dll
(yes - i copied the file.... this is found correctly and loaded and the
php4ts.dll was copied to %systemroot%\system32)
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
well - the type obviously was correctly associated
so did i forget something ???
more...:
DocumentRoot "D:/htdocs"
AllowOverride All
in .htaccess:
AddType application/x-httpd-php .php .php3 .php4 .phtml .html .mod .inc
i also changed %system%\php.ini (but am not sure what this was good for) :
doc_root = d:\htdocs
extension_dir = c:\php
i copied all extension and other dlls to %system%\system32
(%system%=c:\winnt)
i just don't get the clue what i did different to the 3 other already
running installations with slightly older versions...
--
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]
--- End Message ---
--- Begin Message ---
Ian McNish wrote:
> when trying at access any php scripts my web server is crashing. i'm
> experiencing this problem with both php 4.0.6 and 4.1.0 on iplanet
> enterprise 6.0sp1 on solaris 8. my web server is logging the following
> error:
>
> catastrophe (21929): Server crash detected (signal SIGSEGV)
> info (21929): Crash occurred in NSAPI SAF php4_execute
> info (21929): Crash occurred in function _pthread_mutex_lock from module
> /usr/lib/libthread.so.1
>
>
> i'm getting this behavior with php code as simple as:
>
> <?php
> phpinfo();
> ?>
>
>
> any help would be appreciated.
>
Visit http://bugs.php.net/ and read *carefully* how to report bug.
There is link for "How to generate back trace". Make sure you
paste backtrace to your bag report.
--
Yasuo Ohgaki
--- End Message ---