php-install Digest 16 Dec 2001 19:15:22 -0000 Issue 605
Topics (messages 5315 through 5316):
Installing PHP to find SMTP server ...
5315 by: Robert Dyke
Trouble with php-4.1.0 and apache-2.0.28beta
5316 by: Tim Kettler
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 ---
Hi:
Newbie here. I'm getting ready to do a custom install of PHP on a Pair
Networks FreeBSD server. I've never done a Unix/Linux install before, so
I'm confused about something.
How do we tell PHP which SMTP server to use? For Windows systems, it tells
you to put an entry in the php.ini file. But for Unix/Linux systems, it
doesn't mention anything.
How do we install PHP on a FreeBSD server so that the mail( ) function will
work properly?
I haven't attempted the install yet, but this seems ahead of time to be a
potential problem. Am I missing something? Does PHP already know how to
find the SMTP server?
Thanks in advance.
--- End Message ---
--- Begin Message ---
Hello,
I just installed apache-2.0.28beta on my system and it is running without
problems so far. But now I want to php enable the installation with the
latest release (4.1.0). I configured, compiled and installed it with the
following options as a DSO:
./configure --prefix=/usr \
--with-apxs2=/usr/bin/apxs \
--with-config-file-path=/etc
This also went through without a problem. Next I added the needed options
to my httpd.conf:
<--snip-->
LoadModule php4_module /usr/lib/apache/libphp4.so
<--snip-->
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
<--snip-->
But now, when I try to view a php script my browser just wants to download
the script. Also there are no error or other useful messages in the logs,
that could give a hint what went wrong.
I already searched through the archives and many other documents but could
not find anything that I could have done wrong.
Any hints and are welcome...
Thanks in advance
Tim Kettler
--- End Message ---