php-install Digest 12 Feb 2002 20:18:45 -0000 Issue 697
Topics (messages 5992 through 5997):
Re: Pre-defined vars not working
5992 by: Yasuo Ohgaki
vpopmail Support
5993 by: Johannes Tyra [BrainData]
Re: Installing Apache with PHP support with Suse 7.3
5994 by: Enton05
php w/imap not able to find mmdfdriver
5995 by: Ed Greenberg
Re: PHP4.1.1 + Stronghold3.0 + SunOS2.6
5996 by: Adrian Turcu
make error on AIX 4.3.3 with php 4.0.6
5997 by: CHEEMA, VINCENT P (SBCSI)
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 ---
C0p0n wrote:
> The thing is that I reinstalled win2k, so I did with apache, mysql, php
> 4.1.1 the same.
> <?
> echo "<br>Nombre del servidor: <b> $SERVER_NAME </b>";
> echo "<br>Versión de CGI: <b> $GATEWAY_INTERFACE </b>";
> echo "<br>Software del server: <b> $SERVER_SOFTWARE </b>";
> echo "<br>URL referida: <b> $HTTP_REFERER </b>";
> echo "<br>IP del cliente: <b> $REMOTE_ADDR </b>";
> ?>
Register globals are no longer recommended and it will be off by
default from PHP 4.2. Use track vars. $_SERVER for example.
--
Yasuo Ohgaki
--- End Message ---
--- Begin Message ---
Hi,
has anybody experiences with the vPopmail Functions in PHP?
I've compiled PHP 4.1.1 with the vpopmail support and it seems that it was
succsessflly compiled in (phpinfo() says).
But if I try to add an user it gives:
Unable to chdir to vpopmail/domains directory
If I try to add a domain it gives:
Unknown error
Maybe somebody can help...
--
Mit freundlichem Gruß,
Johannes Tyra
--- End Message ---
--- Begin Message ---
Hello.
> 10. Reboot your computer
Why? It is only needed to restart apache.
I ever compiled Apache with PHP 4 and I never needed to reboot.
(But I ever compiled it as static module.)
cu
e05
--- End Message ---
--- Begin Message ---
I'm trying to install PHP-4.1.1 with imap. The build is perfect, but Apache
complains that there is an unresolved symbol -- mmdfdriver -- which
prevents the module from loading.
My build looks like this:
./configure \
--prefix=/home/httpd \
--with-imap=/home/source/imap-2001a \
--with-config-file-path=/home/httpd/lib/php \
--with-mysql=/usr \
--with-apxs=/home/httpd/bin/apxs \
--with-xml
Inside /home/source/imap-2001a there is an /include directory and a /lib
directory as follows:
lib/c-client.a
lib/libc-client.a (symbolic link to above)
include/c-client.h
include/env.h
include/env_unix.h
include/ftl.h
include/imap4r1.h
include/linkage.h
include/mail.h
include/misc.h
include/nl.h
include/nntp.h
include/os_slx.h
include/rfc822.h
include/smtp.h
include/tcp.h
include/osdep.h
include/fs.h
I've verified that the symbol mmdfdriver actually appears in mmdf.o (in the
Imap program) and that mmdf.o is actually part of c-client.a
Any suggestions?
--- End Message ---
--- Begin Message ---
Hello all,
I solved the problem. The link I was inspired is:
http://groups.google.com/groups?q=SunOS+group:comp.infosystems.www.servers.*+group:comp.infosystems.www.servers.*&start=50&hl=en&scoring=d&selm=slrn8ta1b8.4tn.dave%40svarozic.srce.hr&rnum=59
What I did is:
- create a file named as in /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3
- the content of this file is
--- cut here ---
#!/bin/sh
exec /usr/ccs/bin/as "$@"
--- cut here ---
and compile again and.... It Works !
I'm very happy :) :) :)
Adi
--------------------------------------------------
Adrian Turcu
IT Support Engineer
Interxion Ireland Limited
T: +353 (0)1 4344900
D: +353 (0)1 4344923
M: +353 (0)87 9480532
F: +353 (0)1 4344999
E: [EMAIL PROTECTED]
www.interxion.com
Unit 35, Lavery Avenue
Park West Business Park
Dublin 12.
where the internet lives
-----Original Message-----
From: Adrian Turcu
Sent: Monday, February 11, 2002 2:57 PM
To: Mikael Petterson (ERA)
Cc: Php-Install (E-mail)
Subject: RE: [PHP-INST] PHP4.1.1 + Stronghold3.0 + SunOS2.6
Perl v5.6.0 built for sun4-solaris is on the system and mod_perl/1.25 in Stronghold.
Stronghold has also mod_ssl/2.8.4 and OpenSSL/0.9.6b
Adi
-----Original Message-----
From: Mikael Petterson (ERA) [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 11, 2002 2:40 PM
To: Adrian Turcu
Cc: Php-Install (E-mail)
Subject: RE: [PHP-INST] PHP4.1.1 + Stronghold3.0 + SunOS2.6
Which version of perl did you use?
//Mikael
-----Original Message-----
From: Adrian Turcu [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 11, 2002 2:40 PM
To: Mikael Petterson (ERA)
Cc: Php-Install (E-mail)
Subject: RE: [PHP-INST] PHP4.1.1 + Stronghold3.0 + SunOS2.6
The download was from www.php.net
The size of the package is absolutely the same.
Adi
-----Original Message-----
From: Mikael Petterson (ERA) [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 11, 2002 1:05 PM
To: Adrian Turcu
Cc: Php-Install (E-mail)
Subject: RE: [PHP-INST] PHP4.1.1 + Stronghold3.0 + SunOS2.6
Hi,
Where did you download your php version from?
I took it from www.php.net
3356062 Feb 6 16:47 php-4.1.1.tar.gz
Is size correct?
//Mikael
-----Original Message-----
From: Adrian Turcu [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 11, 2002 1:40 PM
To: Mikael Petterson (ERA)
Cc: Php-Install (E-mail)
Subject: RE: [PHP-INST] PHP4.1.1 + Stronghold3.0 + SunOS2.6
Here it is again
<<config.log.gz>>
Thanks,
Adi
-----Original Message-----
From: Mikael Petterson (ERA) [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 11, 2002 12:31 PM
To: Adrian Turcu
Subject: RE: [PHP-INST] PHP4.1.1 + Stronghold3.0 + SunOS2.6
Do you mind if I could have your output from config since I cannot compile on
Solaris2.6
//Mikael
-----Original Message-----
From: Adrian Turcu [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 11, 2002 1:27 PM
To: Php-Install (E-mail)
Subject: [PHP-INST] PHP4.1.1 + Stronghold3.0 + SunOS2.6
Hello all,
I have a SunOS 2.6 on a Sun UltraSPARC , 4CPU and 1G RAM. I run a Stronghold 3.0
(build 3015) and I want to upgrade the PHP module to 4.1.1 with CURL and Mcrypt
included. The PHP module coming with Stronghold is version 4.0.6 (I'm not using PHP3
at all). The compilation of the new PHP module works fine, but when I try to start the
Stronghold server I got this:
Segmentation Fault
Server could not be started
I have no core file and nothing in the logs files.
The configuration for PHP is:
./configure -with-apxs="<path to apxs>" -without-gdbm -without-mysql -without-gd
and the line in httpd.conf is
LoadModule php4_module modules/libexec/libphp4.so
The gcc I use is v3.0.3.
The PHP module coming with Stronghold is configured as follows:
./configure -prefix="<path to install>" -with-apxs="<path to axs>" -without-gdbm
The Stronghold 3.0.15 is Apache 1.3.22 compatible.
I need to rebuild the PHP module with the options I mentioned, but at least I want to
see that it's working with no adds first and then to play with extensions.
I noticed that the original module coming with Stronghold (PHP4.0.6) is 3 times bigger
then the module I compiled and is with the same configuration line.
Does anybody have any clue what's the problem here?
TIA,
Adi
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hello,
I'm trying to insall php 4.0.6 with oracle8.1.7 and apache1.3.20. I
can get php to configure, but the make command fails with syntax errors.
I'm new to C and php, so any ideas on how/where to research and correct my
problem would be appreciated.
Thanks,
Vince
I'm installing on AIX 4.3.3
here is my config..........
./configure --with-oci8=$ORACLE_HOME
--with-apache=/code/apache/apache_1.3.20 --without-mysql
and the resulting make........
$make
Making all in Zend
Target "all" is up to date.
Making all in main
cc -I. -I/code/apache/php-4.0.6/main -I/code/apache/php-4.0.6/main
-I/code/apache/php-4.0.6 -I/code/apache/apache_1.3.20/src/include
-I/code/apache/apache_1.3.20/src/os/unix -I/code/apache/php-4.0.6/Zend
-I/usr/local/opt/oracle/product/8.1.7/rdbms/public
-I/usr/local/opt/oracle/product/8.1.7/rdbms/demo
-I/code/apache/php-4.0.6/ext/xml/expat/xmltok
-I/code/apache/php-4.0.6/ext/xml/expat/xmlparse
-I/code/apache/php-4.0.6/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -c
main.c && touch main.lo
"/code/apache/php-4.0.6/ext/standard/basic_functions.h", line 139.2:
1506-205 (S) #error Need type which holds 32 bits
"/code/apache/php-4.0.6/ext/standard/basic_functions.h", line 173.9:
1506-046 (S) Syntax error.
"/code/apache/php-4.0.6/ext/standard/md5.h", line 52.9: 1506-046 (S) Syntax
error.
"main.c", line 1166.17: 1506-068 (W) Operation between types "unsigned
char*" and "int" is not allowed.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
--- End Message ---