php-install Digest 3 Feb 2002 06:14:20 -0000 Issue 681
Topics (messages 5907 through 5913):
Probably a simple question... php/apache on HPUX
5907 by: Philip Taylor
HOT! - PHP4.1.x - Step by Step Installation manual
5908 by: Andre Amaral
attachment via php mail
5909 by: Olev Rumm
Default mysql path
5910 by: Uma Shankari T.
5911 by: Ricardo J. Veludo
php4-1.1.1 build error. ...4.0.6 builds fine.
5912 by: Robert
Compile successful; Apache will not load (gdImageColorResolve error)
5913 by: Erica Douglass
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 ---
I have had apache running on an hpux server since
jan2000. I just installed php and I am pretty sure
it's all there.
is there a simple way to make my apache setup
understand php files w/o recompiling apache?
thanks
- rob taylor
__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com
--- End Message ---
--- Begin Message ---
Hi all. Here is my first attempt to make easy Step by Step installation
manual for PHP4.1.x on Windows 2000 based systems running IIS5 using CGI or
ISAPI. Here is the link that will ake a lot of people happy. :)
http://www.experttek.com/php/installation.php
Fell free to contact me. Contact info are in the manual.
--- End Message ---
--- Begin Message ---
Hello
I was looking a way to fill a forms on line and send them over via the server.
Found a good(in my mind) and simple php mail skript
from http://open.appideas.com/phpMailForm/source.php
I managed to get it working. In my form there is a upload the the file section.
like this:
<FORM name="your_file" value="2000000"><input name="attachment" type="file">
with max value of 2megs.
It's not working. Pecause Im absolutely new in this I dont have a any idea how to
implement attachment part into this script.Original script is here:
<?
$MailToAddress = "[EMAIL PROTECTED]";
$MailSubject = "Equipment Posting";
if (!$MailFromAddress) {
$MailFromAddress = "[EMAIL PROTECTED]";
}
$Header = "";
$Footer = "";
?>
<html>
<body bgcolor="#FFFFFF">
<font face="Arial"><center>
The following information has been delivered:
</center>
<?
if (!is_array($HTTP_POST_VARS))
return;
reset($HTTP_POST_VARS);
while(list($key, $val) = each($HTTP_POST_VARS)) {
$GLOBALS[$key] = $val;
$val=stripslashes($val);
echo "<b>$key</b> = $val<br>";
$Message .= "$key = $val\n";
}
if ($Header) {
$Message = $Header."\n\n".$Message;
}
if ($Footer) {
$Message .= "\n\n".$Footer;
}
mail( "$MailToAddress", "$MailSubject", "$Message", "From: $MailFromAddress");
?>
<br><br>
<b>Thank You!</b>
<br><br>
<a href="<? echo "$HTTP_REFERER"; ?>">Return To The Mail Form</a><br><br>
<a href="/">Home Page</a><br><br>
Can anybody help please.I dont know if I'm explained correctly so please excuse me.
Olev.
--- End Message ---
--- Begin Message ---
Hello,
I have installed php and mysql in my machine.By default in which path
php check for mysql
Anyone can know this tell to me as soon as possible
-Uma
--- End Message ---
--- Begin Message ---
Saturday, February 02, 2002, 7:04:09 PM, recebi de Uma Shankari T.:
Uma> Hello,
Uma> I have installed php and mysql in my machine.By default in which path
Uma> php check for mysql
I have PHP and MySQL installed in WinXP. I use the follow to connect
to MySQL:
$link = mysql_connect("MYSQL_SERVER_GOES_HERE","USER_GOES_HERE", "PASS_GOES_HERE")
or die("Could not connect");
echo "Connected successfully to ";
----
Ricardo J. Veludo
e-mail: [EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Hi,
trying to build 4.1.1.1, but with no success. I can't discover why it's
falling ove the libbind stuff?
I'm running Bind-9.2
The whole thing builds fine with 4.0.6 though.
openssl-0.9.5a
mod_ssl-2.8.6-1.3.23
mod_perl-1.26
php-4.0.6
Apache-1.3.23
and including
mysql-3.22.30
The configuration I am calling in the 4.1.1 directory is this;
............................................................................
..................................
CFLAGS='-O2 -DEAPI -I../openssl-0.9.5a/include'; export CFLAGS
./configure \
--with-apache=../apache_1.3.23 \
--with-mysql=/usr/local \
--enable-track-vars
............................................................................
..................................
It gets to this;
[snip]
creating regex/Makefile
creating main/internal_functions.c
+--------------------------------------------------------------------+
| *** ATTENTION *** |
| |
| Something is likely to be messed up here, because the configure |
| script was not able to detect a simple feature on your platform. |
| This is often caused by incorrect configuration parameters. Please |
| see the file debug.log for error messages. |
| |
| If you are unable to fix this, send the file debug.log to the |
| [EMAIL PROTECTED] mailing list and include appropiate |
| information about your setup. |
+--------------------------------------------------------------------+
| License: |
| This software is subject to the PHP License, available in this |
| distribution in the file LICENSE. By continuing this installation |
| process, you are bound by the terms of this license agreement. |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point. |
+--------------------------------------------------------------------+
Thank you for using PHP.
================================================
and the debug.log shows this. I've tried everything I can think of.
Enabling threads, disabling threads, using different libbind libraries.
Nothing make the slightest difference to this message.
................................................... debug.log
............................................................................
..........................
CONFIGURE: './configure' '--with-apache=../apache_1.3.23'
'--with-mysql=/usr/local' '--enable-track-vars'
CC: gcc
CFLAGS: -O2 -DEAPI -I../openssl-0.9.5a/include
CPPFLAGS:
CXX:
CXXFLAGS:
INCLUDES: -I/usr/home/robert/src/apache_1.3.23/src/include -I/usr/home/ro
bert/src/apache_1.3.23/src/os/unix -I$(top_builddir)/Zend -I/usr/local/incl
ude/mysql
LDFLAGS: -R/usr/local/lib/mysql -L/usr/local/lib/mysql
LIBS: -lmysqlclient -lcrypt -lbind -lm -lcrypt
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/local/lib/mysql
uname -a: FreeBSD nanguo.chalmers.com.au 4.5-RC FreeBSD 4.5-RC #20: Wed
Jan 16 18:06:57 EST 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL i386
gcc -o
nftest -O2 -DEAPI -I../openssl-0.9.5a/include -R/usr/local/lib/mysql -L/us
r/local/lib/mysql conftest.c -lmysqlclient -lcrypt -lbind -lm -lcrypt 1>&5
/usr/lib/libbind.a(irs_data.o): In function `__net_data_init':
/usr/home/robert/src/bind-9.2.0/lib/bind/irs/irs_data.c(.text+0x10d):
undefined reference to `pthread_mutex_lock'
/usr/home/robert/src/bind-9.2.0/lib/bind/irs/irs_data.c(.text+0x134):
undefined reference to `pthread_key_create'
/usr/home/robert/src/bind-9.2.0/lib/bind/irs/irs_data.c(.text+0x144):
undefined reference to `pthread_mutex_unlock'
/usr/home/robert/src/bind-9.2.0/lib/bind/irs/irs_data.c(.text+0x155):
undefined reference to `pthread_getspecific'
/usr/home/robert/src/bind-9.2.0/lib/bind/irs/irs_data.c(.text+0x187):
undefined reference to `pthread_setspecific'
............................................................................
............................................................................
................................
Hoping someone can help ????
Thanks
Robert Chalmers.
--- End Message ---
--- Begin Message ---
I tried to compile PHP with the following options. I need GD/TTF support for
creating dynamic images. I have it working on one of my servers, and I am
trying to get it working on the other server. I downloaded and installed the
GD-1.3-5 RPM (for GIF compatibility) and used the following configure
options:
./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --with-gd --with-gettex
t=/usr --enable-safe-mode --with-config-file-path=/etc/httpd --with-exec-dir
=/usr/bin --with-zlib --enable-magic-quotes --with-ttf=/usr/lib/libttf.so --
enable-track-vars --enable-xml --disable-debug --with-interbase=shared --wit
h-pgsql=shared --with-ldap --with-mysql
PHP compiled and installed successfully, but Apache can't load PHP. Here is
the error I get:
Setting up Web Service: Syntax error on line 57 of
/etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libphp4.so into server:
/etc/httpd/modules/libphp4.so: undefined symbol: gdImageColorResolve
I ended up just commenting out the three PHP lines in httpd.conf so at least
I have Apache working properly.
Please help, as I need PHP support back ASAP!
Erica
--- End Message ---