php-install Digest 4 Apr 2002 23:14:24 -0000 Issue 777
Topics (messages 6554 through 6562):
Need help
6554 by: cristian craciunoiu
apache & SSI
6555 by: Ross Horne
LDAP configure options
6556 by: Ron Martinez
Installing on Solaris 7
6557 by: Beau Sapach
6559 by: Pierre-Alain Joye
gd symbols multiply defined compile errors
6558 by: Bob Mroczka
Re: Fatal error: Command failed for target `libZend.la'
6560 by: Browning Nathan P SrA 509 CS/SCNO
Compiling with IMAP
6561 by: Andreas Sussitz
php problems
6562 by: Keller, Mathew (ISS Atlanta)
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,
My name is Cristian.
I need an advice:
I have win98 se, with pws server from original 98se kit.
I have instaled php-4.1.2-installer, I have modified the registry in
HKEY_LOCAL_MACHINE
/System /CurrentControlSet /Services /W3Svc
/Parameters /ScriptMap. with .php value c:\php\php.exe and HKEY_CLASSES_ROOT
new key.. like in
manual. In pws manager I have mapped the directory with the .php file. with
read, execute
and scripts checked.
When I click the .php file the dos window begin and close and nothing else
the script that
I have put in the file don't apper. this is the .php file:
<html>
<head>
<title>Example</title>
</head>
<body>
<?php
echo "Hi, I’m a PHP script!";
?>
</body>
</html>
what is the problem?
Thak you for everything.
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
--- End Message ---
--- Begin Message ---
I know off topic but cant find anywhere else,
Anyone know how to get SSI working in apache? before you say edit the
httpd.conf file, already done that, and uncommented the SSI lines in the
file.
all I want to be able to do is include a text file in a *.shtml file.
regards
ross horne
--- End Message ---
--- Begin Message ---
Hi everyone,
I'd like to compile php 4.1.2 with LDAP support as a DSO for Apache 1.3.23. My system
is AIX 4.3.3. I downloaded the source for OpenLDAP 2.0.23. I'm just curious as to
what configure options I should enable when compiling OpenLDAP.
Note, bottom line is that I just want to compile php with LDAP support so that my
webserver can communicate with my LDAP server; the webserver and LDAP server being 2
separate boxes.
Thanks,
Ron
--- End Message ---
--- Begin Message ---
Hi everyone,
I'm trying to install PHP 4.1.2 from source on Sparc Solaris 7. As far as I
know I've got all of the required packages installed from sunfreeware.com.
I'm installing with mysql and imap support so my configure looks like this:
./configure \
--with-apache=/src/apache_1.3.24 \
--with-mysql=/usr/local/mysql \
--with-imap=/src/imap-2001a
The configure script runs without any problems but make install stops with
the following output:
In file included from /src/php-4.1.2/ext/standard/php_standard.h:21,
from main.c:52:
/src/php-4.1.2/ext/standard/basic_functions.h:137:2: #error Need type which
holds 32 bits
In file included from /src/php-4.1.2/ext/standard/php_standard.h:21,
from main.c:52:
/src/php-4.1.2/ext/standard/basic_functions.h:174: parse error before
"php_uint32"
/src/php-4.1.2/ext/standard/basic_functions.h:174: warning: no semicolon at
end of struct or union
/src/php-4.1.2/ext/standard/basic_functions.h:175: warning: data definition
has no type or storage class
/src/php-4.1.2/ext/standard/basic_functions.h:197: parse error before '}'
token
/src/php-4.1.2/ext/standard/basic_functions.h:197: warning: data definition
has no type or storage class
/src/php-4.1.2/ext/standard/basic_functions.h:204: parse error before
"basic_globals"
/src/php-4.1.2/ext/standard/basic_functions.h:204: warning: data definition
has no type or storage class
In file included from /src/php-4.1.2/ext/standard/php_standard.h:29,
from main.c:52:
/src/php-4.1.2/ext/standard/md5.h:52: parse error before "php_uint32"
/src/php-4.1.2/ext/standard/md5.h:52: warning: no semicolon at end of struct
or union
/src/php-4.1.2/ext/standard/md5.h:53: warning: data definition has no type
or storage class
/src/php-4.1.2/ext/standard/md5.h:55: parse error before '}' token
/src/php-4.1.2/ext/standard/md5.h:55: warning: data definition has no type
or storage class
/src/php-4.1.2/ext/standard/md5.h:57: parse error before '*' token
/src/php-4.1.2/ext/standard/md5.h:58: parse error before '*' token
/src/php-4.1.2/ext/standard/md5.h:59: parse error before "PHP_MD5_CTX"
In file included from /src/php-4.1.2/ext/standard/php_standard.h:54,
from main.c:52:
/src/php-4.1.2/ext/standard/php_lcg.h:27: parse error before "php_int32"
/src/php-4.1.2/ext/standard/php_lcg.h:27: warning: no semicolon at end of
struct or union
/src/php-4.1.2/ext/standard/php_lcg.h:28: warning: data definition has no
type or storage class
/src/php-4.1.2/ext/standard/php_lcg.h:29: warning: data definition has no
type or storage class
make[2]: *** [main.lo] Error 1
make[2]: Leaving directory `/src/php-4.1.2/main'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/src/php-4.1.2/main'
make: *** [install-recursive] Error 1
I'm not a programmer by any means, and am having a hard time figuring out
what the problem is. Anyone have any advice??
Thanks!
Beau
--- End Message ---
--- Begin Message ---
Did you installed the gnu tools ? ( available on sun freeware site,
http://www.sunfreeware.com/)
These tools are a must to compile php on solaris.
Next read the special chapter in the php doc ( comments are usefull
sometimes :) )
hth
pa
--- End Message ---
--- Begin Message ---
I tried compiling php 4.1.2 as an apache module
with this command line:
./configure --with-config-file-path=/usr/local/apache/conf \
--with-mysql \
--with-apxs=/usr/local/apache/bin/apxs \
--with-gd=shared,/usr/local \
--with-zlib-dir=/usr/local \
--with-jpeg-dir=/usr/local &&
make && make install
I was seeing these errors from the final link step:
ld: fatal: symbol `gdImageCompare' is multiply defined:
1204 (file Zend/.libs/libZend.al(gd.o) and file /usr/local/lib/libgd.a(gd.o));
1205 ld: fatal: symbol `gdImageInterlace' is multiply defined:
1206 (file Zend/.libs/libZend.al(gd.o) and file /usr/local/lib/libgd.a(gd.o));
1207 ld: fatal: symbol `gdImageSetTile' is multiply defined:
1208 (file Zend/.libs/libZend.al(gd.o) and file /usr/local/lib/libgd.a(gd.o));
etc.
I couldn't figure why the libZend.al archive should contain the
gd static objects. So I relinked the libZend.al library with
the following command omitting the -lgd argument.
/bin/sh ../libtool --silent --mode=link cc -g -prefer-pic -o libZend.la -lpam
-lixsql -lixasf -lixgen -lixos -lixgls -lnsl -lsocket -laio -lphpifx -lixglx -ldl
-lldapssl30 -ljpeg -lz -lcrypt
-lresolv -lresolv -lm -ldl -lnsl -lsocket -lsocket -lcrypt zend_language_parser.lo
zend_language_scanner.lo zend_ini_parser.lo zend_ini_scanner.lo zend_alloc.lo
zend_compile.lo zend_constants.lo
zend_dynamic_array.lo zend_execute.lo zend_execute_API.lo zend_highlight.lo
zend_llist.lo zend_opcode.lo zend_operators.lo zend_ptr_stack.lo zend_stack.lo
zend_variables.lo zend.lo zend_API.lo
zend_extensions.lo zend_hash.lo zend_list.lo zend_indent.lo zend_builtin_functions.lo
zend_sprintf.lo zend_ini.lo
I reran the make and make install and it was successful.
When I stopped apache and tried bringing it back up
I received an error about the symbol png_get_valid
being unresolved. I found that the -lpng library
was not added like it was when I used these same
configure flags with php 4.0.4pl1. I reran the configure
script adding --with-png-dir=/usr/local and now
everything works.
I hope this info helps someone out there.
Bob
--- End Message ---
--- Begin Message ---
Trying to install PHP 4.1.2 on Solaris 7.
I got this when I configured with ./configure --with-mysql --with-apxs
# make install
Making install in Zend
/bin/sh ../libtool --silent --mode=link gcc -g -O2 -prefer-pic -o
libZend.la
-lpam -ldl -lcrypt -lresolv -lresolv -lm -ldl -lnsl -lsocket -lsocket
-lgcc -l
crypt zend_language_parser.lo zend_language_scanner.lo zend_ini_parser.lo
zend_
ini_scanner.lo zend_alloc.lo zend_compile.lo zend_constants.lo
zend_dynamic_arr
ay.lo zend_execute.lo zend_execute_API.lo zend_highlight.lo zend_llist.lo
zend_
opcode.lo zend_operators.lo zend_ptr_stack.lo zend_stack.lo
zend_variables.lo
zend.lo zend_API.lo zend_extensions.lo zend_hash.lo zend_list.lo
zend_indent.lo
zend_builtin_functions.lo zend_sprintf.lo zend_ini.lo
../libtool: ar: not found
*** Error code 1
make: Fatal error: Command failed for target `libZend.la'
Current working directory /usr/local/php-4.1.2/Zend
*** Error code 1
make: Fatal error: Command failed for target `install-recursive'
Please help me! I just killed my most reliable web server.
v/r,
NATHAN BROWNING, SrA, USAF
509 CS/SCNO NCC Operations
DSN 975-5267 Comm (660) 687-5267
"The real art of conversation is not only to say the right thing at the
right time, but also to leave unsaid the wrong thing at the tempting
moment." - Anonymous
--- End Message ---
--- Begin Message ---
hello everyone!
I'm getting the following compile-errors when trying to do with imap.
any solution or suggestion on http://www.php.net/manual/en/ref.imap.php
didn't work for me :-(
I'm using OpenBSD with c-client installed from the ports-library (tried
compiling manual too, seems to work fine)
any ideas?
thanks,
andreas
./configure --with-mysql --with-apxs=/usr/local/apache/current/bin/apxs --wi
th-gettext --with-imap --with-kerberos --with-imap-ssl
..
..
Making all in main
/bin/sh /usr/local/src/httpd/php-4.1.2/libtool --silent --mode=compile
cc -I. -I/usr/local/src/httpd/php-4.1.2/main -I/usr/local/src/httpd/php-4.1
.2/main -I/usr/local/src/httpd/php-4.1.2 -I/usr/local/apache/1.3.24/include
-I/usr/local/src/httpd/php-4.1.2/Zend -I/usr/local/include -I/usr/local/incl
ude/c-client -I/usr/local/src/httpd/php-4.1.2/ext/mysql/libmysql -I/usr/loca
l/src/httpd/php-4.1.2/ext/xml/expat -DMOD_SSL=208108 -DEAPI -DUSE_EXPAT -I/
usr/local/src/httpd/php-4.1.2/TSRM -g -O2 -prefer-pic -c
internal_functions.c
In file included from internal_functions.c:33:
/usr/local/src/httpd/php-4.1.2/ext/imap/php_imap.h:79: syntax error before
`MAILSTREAM'
/usr/local/src/httpd/php-4.1.2/ext/imap/php_imap.h:90: syntax error before
`SIZEDTEXT'
/usr/local/src/httpd/php-4.1.2/ext/imap/php_imap.h:97: syntax error before
`SIZEDTEXT'
/usr/local/src/httpd/php-4.1.2/ext/imap/php_imap.h:188: syntax error before
`STRINGLIST'
*** Error code 1
Stop in /usr/local/src/httpd/php-4.1.2/main.
*** Error code 1
Stop in /usr/local/src/httpd/php-4.1.2/main (line 37 of
/usr/local/src/httpd/php-4.1.2/build/rules.mk).
*** Error code 1
Stop in /usr/local/src/httpd/php-4.1.2 (line 37 of
/usr/local/src/httpd/php-4.1.2/build/rules.mk).
--- End Message ---
--- Begin Message ---
when I configure php I get the blurb at the end of the configure that states
+--------------------------------------------------------------------+
| *** 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. |
+--------------------------------------------------------------------+
below you will see the data that you requested the debug.log . I still
cannot run this with netscape.
CONFIGURE: './configure' '--with-oci8=/OraHome1'
'--with-nsapi=/usr/netscape/server4' '--with-gd' '--with-zlib'
'--with-png-dir' '
--with-jpeg-dir' '--enable-libgcc' '--enable-track-vars' '--with-t1lib'
'--with-freetype-dir' '--without-mysql' '--enable-sigchild'
CC: gcc
CFLAGS: -g -O2 -pthreads
CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS
-D_REENTRANT
CXX:
CXXFLAGS:
INCLUDES: -I/usr/netscape/server4/plugins/include
-I$(top_builddir)/Zend -I/usr/local/include/freetype2/freetype
-I/usr/local/i
nclude -I/OraHome1/rdbms/public -I/OraHome1/rdbms/demo
LDFLAGS: -R/usr/ucblib -L/usr/ucblib
-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2
-L/usr/local/lib/gcc-lib/sparc-sun-sol
aris2.8/2.95.2 -R/usr/local/lib -L/usr/local/lib -R/OraHome1/lib
-L/OraHome1/lib
LIBS: -lsched -ldl -lgen -lsocket -lnsl -lgd -lt1 -lfreetype -lpng -lz
-ljpeg -lz -lcrypt -lresolv -lresolv -lresolv -lm -ldl
-lsocket -lsocket -lgcc -lcrypt -lclntsh
DLIBS:
SAPI: nsapi
PHP_RPATHS: /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2
/usr/local/lib /OraHome1/lib
uname -a: SunOS xxxx.xxxx.xxxx net 5.8 Generic_108528-13 sun4u sparc
SUNW,Ultra-60
gcc -o conftest -g -O2 -pthreads -D_POSIX_PTHREAD_SEMANTICS
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -R/usr/ucblib -L/usr/ucblib -R
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2 -R/usr/local/lib
-L/usr/loca
l/lib -R/OraHome1/lib -L/OraHome1/lib conftest.c -lsched -ldl -lgen -lsocket
-lnsl -lgd -lt1 -lfreetype -lpng -lz -ljpeg -lz -lcrypt
-lresolv -lresolv -lresolv -lm -ldl -lsocket -lsocket -lgcc -lcrypt
-lclntsh >&5
ld.so.1: ./conftest: fatal: ared: open failed: No such file or directory
~
Matthew K Keller
Sr. Engineer, Global Threat Operation Center (GTOC)
MSS Special Operations
Internet Security Systems (ISS)
6303 Barfield Road
Atlanta, Georgia 30328
Office Phone: (404) 236-3273
Mobile Phone: 678-521-9647
--- End Message ---