php-install Digest 25 Oct 2002 12:40:39 -0000 Issue 1086
Topics (messages 8911 through 8914):
Re: Application Error
8911 by: William Cheung
I can't install php-4.2.1.
8912 by: Shuzo Aratani
Probleme with PHP-4.2.3 + iPlanet-4.1 on Solaris 7
8913 by: andre.lagadec.education.gouv.fr
PHP with FTP support on a Raq4 Server
8914 by: Chris Morrow
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 put some debugging code in and it indicates that all the codes are
executed before the error kicks in.
How could I avoid the memory cannot be read error?
William
-----Original Message-----
From: William Cheung [mailto:william@;databyte.com]
Sent: October 24, 2002 4:49 PM
To: PHP Support
Subject: [PHP-INST] Re: Application Error
The following is part of my script and I checked the data file. All rows
got inserted.
<?php
print "Connecting to Oracle...\r\n";
ob_flush();
$conn = ocilogon("abc","12345","Oracle8") or die("Cannot connect to
Oracle!\r\n");
print "Connected!\r\n";
ob_flush();
print "Loading glacct table...\r\n";
ob_flush();
$fp = fopen(".\GLAccount.csv","r");
while ($data = fgetcsv($fp,100,",")) { //Loop through each data row.
$SQLString = "INSERT INTO glacct
(gla_company_cd,gla_division_cd,gla_acct) VALUES
('company','division','$data[0]')";
$SQLStmt = ociparse($conn,$SQLString);
$SQLReturn = ociexecute($SQLStmt);
If ($SQLReturn) {
ocicommit($conn);
} Else {
ocirollback($conn);
}
}
fclose($fp);
ocilogoff($conn);
?>
William Cheung, B.Sc. MCSE MCDBA
Databyte Corp.
--- End Message ---
--- Begin Message ---
Hi,I'm shuzo.
Now, I'm installing php-4.2.1,but error is occured when make , therefore I
can't install.
Please teach me about installing.
And I'm installing under the next environment.
OS:Solaris7
gcc-2.95.2
autoconf-2.52
automake-1.4
make-3.79.1
bison-1.28
libtool-1.4
zlib-1.1.3
libpng-1.0.11
freetype-1.3.1
gd-1.8.3
m4-1.4
perl-5.6.1
PostgreSQL-7.2.1
LDAP API:Netscape Directory SDK for C 3.0(I get from
mozilla.org(http://www.mozilla.org/directory/))
I designate the next configure's option.
$./configure --with-ldap=/usr/local/srcmozilla/dist/SunOS5.7_sparc_DBG.OBJ -
-with-pgsql --enable-iconv --enable-jstring --enable-mbregex
When make,the next error is occured.
In file included from
/usr/local/src/php-4.2.1/Zend/../main/php_config.h:2084,
from /usr/local/src/php-4.2.1/Zend/zend_config.h:1,
from /usr/local/src/php-4.2.1/Zend/zend.h:48,
from php.h:34,
from internal_functions_cli.c:23:
/usr/include/stdlib.h:60: warning: empty declaration
In file included from
/usr/local/src/php-4.2.1/Zend/../main/php_config.h:2088,
from /usr/local/src/php-4.2.1/Zend/zend_config.h:1,
from /usr/local/src/php-4.2.1/Zend/zend.h:48,
from php.h:34,
from internal_functions_cli.c:23:
/usr/include/sys/types.h:339: warning: empty declaration
/usr/include/sys/types.h:475: warning: empty declaration
/usr/include/sys/types.h:476: warning: empty declaration
In file included from php_network.h:33,
from /usr/local/src/php-4.2.1/ext/standard/fsock.h:32,
from
/usr/local/src/php-4.2.1/ext/standard/php_standard.h:43,
from internal_functions_cli.c:40:
/usr/include/netinet/in.h:55: warning: redefinition of `u_int'
/usr/include/sys/types.h:529: warning: `u_int' previously declared here
/bin/sh /usr/local/src/php-4.2.1/libtool --silent --mode=link
gcc -I. -I/usr/lo
cal/src/php-4.2.1/main -I/usr/local/src/php-4.2.1/main -I/usr/local/src/php-
4.2.
1 -I/usr/local/src/php-4.2.1/Zend -I/usr/local/src/mozilla/dist/SunOS5.7_spa
rc_D
BG.OBJ/include -I/usr/local/src/php-4.2.1/ext/mysql/libmysql -I/usr/local/pg
sql/
include -I/usr/local/src/php-4.2.1/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS
-I/
usr/local/src/php-4.2.1/TSRM -g -O2 -prefer-non-pic -static -o
libmain_cli.la
main.lo snprintf.lo php_sprintf.lo safe_mode.lo fopen_wrappers.lo
alloca.lo p
hp_ini.lo SAPI.lo rfc1867.lo php_content_types.lo strlcpy.lo strlcat.lo
mergeso
rt.lo reentrancy.lo php_variables.lo php_ticks.lo streams.lo network.lo
php_ope
n_temporary_file.lo php_logos.lo output.lo internal_functions_cli.lo
Making all in ext
Making all in ctype
gcc -I. -I/usr/local/src/php-4.2.1/ext/ctype -I/usr/local/src/php-4.2.1/main
-I/
usr/local/src/php-4.2.1 -I/usr/local/src/php-4.2.1/Zend -I/usr/local/src/moz
illa
/dist/SunOS5.7_sparc_DBG.OBJ/include -I/usr/local/src/php-4.2.1/ext/mysql/li
bmys
ql -I/usr/local/pgsql/include -I/usr/local/src/php-4.2.1/ext/xml/expat -D_P
OSIX
_PTHREAD_SEMANTICS -I/usr/local/src/php-4.2.1/TSRM -g -O2 -c ctype.c &&
touch c
type.lo
In file included from
/usr/local/src/php-4.2.1/Zend/../main/php_config.h:2084,
from /usr/local/src/php-4.2.1/Zend/zend_config.h:1,
from /usr/local/src/php-4.2.1/Zend/zend.h:48,
from /usr/local/src/php-4.2.1/main/php.h:34,
from ctype.c:23:
/usr/include/stdlib.h:60: warning: empty declaration
In file included from
/usr/local/src/php-4.2.1/Zend/../main/php_config.h:2088,
from /usr/local/src/php-4.2.1/Zend/zend_config.h:1,
from /usr/local/src/php-4.2.1/Zend/zend.h:48,
from /usr/local/src/php-4.2.1/main/php.h:34,
from ctype.c:23:
/usr/include/sys/types.h:339: warning: empty declaration
/usr/include/sys/types.h:475: warning: empty declaration
/usr/include/sys/types.h:476: warning: empty declaration
/bin/sh /usr/local/src/php-4.2.1/libtool --silent --mode=link
gcc -I. -I/usr/lo
cal/src/php-4.2.1/ext/ctype -I/usr/local/src/php-4.2.1/main -I/usr/local/src
/php
-4.2.1 -I/usr/local/src/php-4.2.1/Zend -I/usr/local/src/mozilla/dist/SunOS5.
7_sp
arc_DBG.OBJ/include -I/usr/local/src/php-4.2.1/ext/mysql/libmysql -I/usr/loc
al/p
gsql/include -I/usr/local/src/php-4.2.1/ext/xml/expat -D_POSIX_PTHREAD_SEMA
NTIC
S -I/usr/local/src/php-4.2.1/TSRM -g -O2 -prefer-non-pic -static -o
libctype.l
a ctype.lo
Making all in ldap
gcc -I. -I/usr/local/src/php-4.2.1/ext/ldap -I/usr/local/src/php-4.2.1/main
-I/u
sr/local/src/php-4.2.1 -I/usr/local/src/php-4.2.1/Zend -I/usr/local/src/mozi
lla/
dist/SunOS5.7_sparc_DBG.OBJ/include -I/usr/local/src/php-4.2.1/ext/mysql/lib
mysq
l -I/usr/local/pgsql/include -I/usr/local/src/php-4.2.1/ext/xml/expat -D_PO
SIX_
PTHREAD_SEMANTICS -I/usr/local/src/php-4.2.1/TSRM -g -O2 -c ldap.c && touch
lda
p.lo
In file included from
/usr/local/src/php-4.2.1/Zend/../main/php_config.h:2084,
from /usr/local/src/php-4.2.1/Zend/zend_config.h:1,
from /usr/local/src/php-4.2.1/Zend/zend.h:48,
from /usr/local/src/php-4.2.1/main/php.h:34,
from ldap.c:32:
/usr/include/stdlib.h:60: warning: empty declaration
In file included from
/usr/local/src/php-4.2.1/Zend/../main/php_config.h:2088,
from /usr/local/src/php-4.2.1/Zend/zend_config.h:1,
from /usr/local/src/php-4.2.1/Zend/zend.h:48,
from /usr/local/src/php-4.2.1/main/php.h:34,
from ldap.c:32:
/usr/include/sys/types.h:339: warning: empty declaration
/usr/include/sys/types.h:475: warning: empty declaration
/usr/include/sys/types.h:476: warning: empty declaration
ldap.c: In function `_get_lderrno':
ldap.c:448: dereferencing pointer to incomplete type
ldap.c: In function `php_set_opts':
ldap.c:531: dereferencing pointer to incomplete type
ldap.c:540: dereferencing pointer to incomplete type
ldap.c:549: dereferencing pointer to incomplete type
*** Error code 1
make: Fatal error: Command failed for target `ldap.lo'
Current working directory /usr/local/src/php-4.2.1/ext/ldap
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/src/php-4.2.1/ext/ldap
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/src/php-4.2.1/ext
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
I can't understand.
Please teach me about installing.
--- End Message ---
--- Begin Message ---
Hello,
I want to use PHP-4.2.3 on Solaris 7 with iPlanet-4.1
I install before these packages :
automake-1_7-sol7-sparc-local.gz
bison-1_35-sol7-sparc-local.gz
flex-2.5.4a-sol7-sparc-local.gz
freetype-2_1_2-sol7-sparc-local.gz
gcc-3_2-sol7-sparc-local.gz
gd-1.8.3-sol8-sparc-local.gz
gzip-1.3.3-sol7-sparc-local.Z
jpeg-6b-sol7-sparc-local.gz
libpng-1_2_4-sol7-sparc-local.gz
m4-1_4-sol7-sparc-local.gz
make-3_80-sol7-sparc-local.gz
perl-5_8_0-sol7-sparc-local.gz
zlib-1_1_4-sol7-sparc-local.gz
I make a script to run configure
#!/bin/ksh
#
export PATH=/usr/local/bin:/usr/bin:/usr/ucb:/usr/ccs/bin:.
export
LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/produits/netscape/server4/bin/https/lib
make clean
rm config.status
rm config.cache
rm config.log
rm config.nice
'./configure' \
'--with-config-file-path=/produits/netscape/server4/plugins/php4/dev1/nsapi'
\
'--with-gd=/usr/local' \
'--with-png-dir=/usr/local' \
'--with-jpeg-dir=/usr/local' \
'--with-zlib-dir=/usr/local' \
'--with-nsapi=/produits/netscape/server4' \
'--with-oci8=/produits/oracle/product/8.1.7' \
'--enable-track-vars' \
'--enable-libgcc' \
'--enable-inline-optimization' \
'--enable-debug' \
'--without-pear' \
'--disable-xml' \
'--disable-FEATURE'
When I execute this script, I can see no error or warning
But, when I run make, I get these warning messages :
zend_language_scanner.c:5500: warning: `yy_fatal_error' defined but not
used
zend_language_scanner.c:2713: warning: `yy_last_accepting_state' defined
but not used
zend_language_scanner.c:2714: warning: `yy_last_accepting_cpos' defined
but not used
zend_language_scanner.c:2720: warning: `yy_more_flag' defined but not
used
zend_language_scanner.c:2721: warning: `yy_more_len' defined but not
used
zend_language_scanner.c:5485: warning: `yy_top_state' defined but not
used
zend_ini_scanner.c:817: warning: label `find_rule' defined but not used
zend_ini_scanner.c:1878: warning: `yy_flex_realloc' defined but not used
zend_ini_scanner.c:1328: warning: `yyunput' defined but not used
zend_constants.c:226: warning: implicit declaration of function `alloca'
zend_execute.c:1015: warning: implicit declaration of function `alloca'
zend_hash.c:1166: warning: `p2' might be used uninitialized in this
function
zend_ini.c:299: warning: `zend_ini_displayer_cb' defined but not used
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
main.c:858: warning: unused variable `sapi_globals'
main.c:1107: warning: `dummy_track_vars_array' might be used
uninitialized in this function
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
SAPI.c:425: warning: subscript has type `char'
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
rfc1867.c:349: warning: subscript has type `char'
rfc1867.c:355: warning: subscript has type `char'
rfc1867.c:471: warning: subscript has type `char'
rfc1867.c:498: warning: subscript has type `char'
rfc1867.c:504: warning: subscript has type `char'
rfc1867.c:685: warning: subscript has type `char'
rfc1867.c:693: warning: subscript has type `char'
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
ctype.c:123: warning: subscript has type `char'
ctype.c:131: warning: subscript has type `char'
ctype.c:139: warning: subscript has type `char'
ctype.c:147: warning: subscript has type `char'
ctype.c:155: warning: subscript has type `char'
ctype.c:163: warning: subscript has type `char'
ctype.c:171: warning: subscript has type `char'
ctype.c:179: warning: subscript has type `char'
ctype.c:187: warning: subscript has type `char'
ctype.c:195: warning: subscript has type `char'
ctype.c:203: warning: subscript has type `char'
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
gd.c:1013: warning: implicit declaration of function `getmbi'
gd.c:1013: warning: implicit declaration of function `skipheader'
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
mf_pack.c:24: warning: `buff_length' might be used uninitialized in this
function
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
typelib.c:22: warning: `findpos' might be used uninitialized in this
function
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
dbug.c:1368: warning: int format, pid_t arg (arg 3)
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
oci8.c:1008: warning: `oci_ping' defined but not used
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
php_pcre.c:699: warning: `replace_len' might be used uninitialized in
this function
php_pcre.c:701: warning: `replace' might be used uninitialized in this
function
php_pcre.c:707: warning: `replace_end' might be used uninitialized in
this function
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
array.c:242: warning: unused variable `tsrm_ls'
array.c:3184: warning: `key_type' might be used uninitialized in this
function
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
fsock.c:84: warning: `fsock_globals_id' defined but not used
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
html.c:344: warning: `len' might be used uninitialized in this function
html.c:432: warning: `rep' might be used uninitialized in this function
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
image.c:492: warning: `width' might be used uninitialized in this
function
image.c:492: warning: `height' might be used uninitialized in this
function
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
math.c:674: warning: `fnum' might be used uninitialized in this function
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
string.c:884: warning: `tok' might be used uninitialized in this
function
string.c:1170: warning: `ret' might be used uninitialized in this
function
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
url_scanner.c:135: warning: subscript has type `char'
url_scanner.c:145: warning: subscript has type `char'
url_scanner.c:153: warning: subscript has type `char'
url_scanner.c:165: warning: subscript has type `char'
url_scanner.c:171: warning: subscript has type `char'
url_scanner.c:179: warning: subscript has type `char'
url_scanner.c:192: warning: subscript has type `char'
url_scanner.c:239: warning: subscript has type `char'
url_scanner.c:338: warning: subscript has type `char'
url_scanner.c:365: warning: enumeration value `STATE_TAG_QVAL1' not
handled in switch
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
versioning.c:58: warning: subscript has type `char'
versioning.c:58: warning: subscript has type `char'
versioning.c:132: warning: subscript has type `char'
versioning.c:132: warning: subscript has type `char'
versioning.c:137: warning: subscript has type `char'
versioning.c:137: warning: subscript has type `char'
versioning.c:142: warning: subscript has type `char'
versioning.c:160: warning: subscript has type `char'
versioning.c:166: warning: subscript has type `char'
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
url_scanner_ex.c:107: warning: unused variable `yyaccept'
url_scanner_ex.c:163: warning: label `yy10' defined but not used
url_scanner_ex.c:162: warning: label `yy9' defined but not used
url_scanner_ex.c:157: warning: label `yy7' defined but not used
url_scanner_ex.c:154: warning: label `yy5' defined but not used
url_scanner_ex.c:151: warning: label `yy3' defined but not used
url_scanner_ex.c:150: warning: label `yy2' defined but not used
url_scanner_ex.c:143: warning: label `yy1' defined but not used
url_scanner_ex.c:315: warning: unused variable `yyaccept'
url_scanner_ex.c:372: warning: unused variable `yyaccept'
url_scanner_ex.c:438: warning: unused variable `yyaccept'
url_scanner_ex.c:522: warning: unused variable `yyaccept'
url_scanner_ex.c:758: warning: label `yy76' defined but not used
url_scanner_ex.c:757: warning: label `yy75' defined but not used
url_scanner_ex.c:750: warning: label `yy72' defined but not used
url_scanner_ex.c:698: warning: label `yy59' defined but not used
url_scanner_ex.c:650: warning: label `yy57' defined but not used
url_scanner_ex.c:648: warning: label `yy56' defined but not used
url_scanner_ex.c:621: warning: label `yy47' defined but not used
url_scanner_ex.c:571: warning: label `yy43' defined but not used
url_scanner_ex.c:558: warning: label `yy39' defined but not used
url_scanner_ex.c:508: warning: label `yy35' defined but not used
url_scanner_ex.c:505: warning: label `yy33' defined but not used
url_scanner_ex.c:498: warning: label `yy29' defined but not used
url_scanner_ex.c:474: warning: label `yy27' defined but not used
url_scanner_ex.c:421: warning: label `yy23' defined but not used
url_scanner_ex.c:408: warning: label `yy19' defined but not used
url_scanner_ex.c:363: warning: label `yy17' defined but not used
url_scanner_ex.c:362: warning: label `yy16' defined but not used
url_scanner_ex.c:357: warning: label `yy14' defined but not used
url_scanner_ex.c:356: warning: label `yy13' defined but not used
url_scanner_ex.c:351: warning: label `yy12' defined but not used
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
var_unserializer.c:308: warning: comparison is always false due to
limited range of data type
var_unserializer.c:385: warning: unused variable `rval_temp'
var_unserializer.c:744: warning: label `yy80' defined but not used
var_unserializer.c:743: warning: label `yy79' defined but not used
var_unserializer.c:740: warning: label `yy78' defined but not used
var_unserializer.c:718: warning: label `yy74' defined but not used
var_unserializer.c:710: warning: label `yy72' defined but not used
var_unserializer.c:709: warning: label `yy71' defined but not used
var_unserializer.c:706: warning: label `yy70' defined but not used
var_unserializer.c:684: warning: label `yy66' defined but not used
var_unserializer.c:683: warning: label `yy65' defined but not used
var_unserializer.c:680: warning: label `yy64' defined but not used
var_unserializer.c:651: warning: label `yy60' defined but not used
var_unserializer.c:637: warning: label `yy56' defined but not used
var_unserializer.c:609: warning: label `yy52' defined but not used
var_unserializer.c:595: warning: label `yy50' defined but not used
var_unserializer.c:570: warning: label `yy47' defined but not used
var_unserializer.c:533: warning: label `yy43' defined but not used
var_unserializer.c:532: warning: label `yy42' defined but not used
var_unserializer.c:530: warning: label `yy41' defined but not used
var_unserializer.c:527: warning: label `yy40' defined but not used
var_unserializer.c:494: warning: label `yy36' defined but not used
var_unserializer.c:493: warning: label `yy35' defined but not used
var_unserializer.c:491: warning: label `yy34' defined but not used
var_unserializer.c:488: warning: label `yy33' defined but not used
var_unserializer.c:465: warning: label `yy29' defined but not used
var_unserializer.c:464: warning: label `yy28' defined but not used
var_unserializer.c:462: warning: label `yy27' defined but not used
var_unserializer.c:459: warning: label `yy26' defined but not used
var_unserializer.c:376: warning: label `yy22' defined but not used
var_unserializer.c:375: warning: label `yy21' defined but not used
var_unserializer.c:373: warning: label `yy20' defined but not used
var_unserializer.c:371: warning: label `yy19' defined but not used
var_unserializer.c:353: warning: label `yy14' defined but not used
var_unserializer.c:269: warning: label `yy1' defined but not used
var_unserializer.c:218: warning: `marker' might be used uninitialized in
this function
var_unserializer.c:233: warning: `yyaccept' might be used uninitialized
in this function
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
nsapi.c:210: warning: unused variable `content_length_str'
nsapi.c:397: warning: unused variable `path_info'
nsapi.c:438: warning: passing arg 1 of `nsapi_free' discards qualifiers
from pointer target type
nsapi.c:440: warning: passing arg 1 of `nsapi_free' discards qualifiers
from pointer target type
nsapi.c:533:63: warning: "/*" within comment
nsapi.c:535:1: warning: "/*" within comment
TSRM.c:122: warning: left-hand operand of comma expression has no effect
TSRM.c:130: warning: left-hand operand of comma expression has no effect
TSRM.c:140: warning: left-hand operand of comma expression has no effect
TSRM.c:140: warning: left-hand operand of comma expression has no effect
TSRM.c:140: warning: left-hand operand of comma expression has no effect
TSRM.c:122: warning: statement with no effect
TSRM.c:130: warning: statement with no effect
TSRM.c:140: warning: statement with no effect
TSRM.c:175: warning: left-hand operand of comma expression has no effect
TSRM.c:175: warning: statement with no effect
TSRM.c:194: warning: left-hand operand of comma expression has no effect
TSRM.c:194: warning: left-hand operand of comma expression has no effect
TSRM.c:200: warning: left-hand operand of comma expression has no effect
TSRM.c:200: warning: left-hand operand of comma expression has no effect
TSRM.c:207: warning: left-hand operand of comma expression has no effect
TSRM.c:239: warning: left-hand operand of comma expression has no effect
TSRM.c:239: warning: left-hand operand of comma expression has no effect
TSRM.c:194: warning: statement with no effect
TSRM.c:200: warning: statement with no effect
TSRM.c:207: warning: statement with no effect
TSRM.c:239: warning: statement with no effect
TSRM.c:248: warning: left-hand operand of comma expression has no effect
TSRM.c:248: warning: left-hand operand of comma expression has no effect
TSRM.c:248: warning: statement with no effect
TSRM.c:305: warning: left-hand operand of comma expression has no effect
TSRM.c:305: warning: left-hand operand of comma expression has no effect
TSRM.c:305: warning: left-hand operand of comma expression has no effect
TSRM.c:317: warning: left-hand operand of comma expression has no effect
TSRM.c:317: warning: left-hand operand of comma expression has no effect
TSRM.c:317: warning: left-hand operand of comma expression has no effect
TSRM.c:305: warning: statement with no effect
TSRM.c:317: warning: statement with no effect
TSRM.c:485: warning: left-hand operand of comma expression has no effect
TSRM.c:485: warning: left-hand operand of comma expression has no effect
TSRM.c:506: warning: left-hand operand of comma expression has no effect
TSRM.c:506: warning: left-hand operand of comma expression has no effect
tsrm_virtual_cwd.c:433: warning: implicit declaration of function
`alloca'
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
regcomp.c:315: warning: subscript has type `char'
regcomp.c:327: warning: subscript has type `char'
regcomp.c:356: warning: subscript has type `char'
regcomp.c:377: warning: subscript has type `char'
regcomp.c:534: warning: subscript has type `char'
regcomp.c:565: warning: subscript has type `char'
regcomp.c:732: warning: subscript has type `char'
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
engine.c:483: warning: subscript has type `char'
engine.c:484: warning: subscript has type `char'
engine.c:493: warning: subscript has type `char'
engine.c:494: warning: subscript has type `char'
engine.c:483: warning: subscript has type `char'
engine.c:484: warning: subscript has type `char'
engine.c:493: warning: subscript has type `char'
engine.c:494: warning: subscript has type `char'
regexec.c:19: warning: `nope' defined but not used
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
Then I run make install with no error and I copy libphp4.so in
/produits/netscape/server4/plugins/php4/dev1/nsapi/
When I test a php script, the process httpd is killed
Are the warnings during make, normals ?
What option can I use in configure to resolve my problem ?
AL
--- End Message ---
--- Begin Message ---
Hi People,
I am running PHP 4.1.2 on a Cobalt Raq4 server. I'm pretty new to Linux and
can't understand why the server has come preinstalled with 2 diffrent
versions of PHP. When I run phpinfo() from scripts on the site through my
browser it says PHP is installed as an Apache module, but when I run it from
the command line it still has the same version number but says its a CGI
install.
I'm trying to use the ftp_connect() function in a script that is run from
the command line, ie. the CGI version and everytime I run it it says 'Call
to undefined function ftp_connect()' yet when I run it through the browser
on my site which is running the same version of PHP just the Apache module
it works fine.
Does anyone know what causes this strange behaviour or what I can do to get
my ftp_connect() function working from the command line on a Raq4 server?
Thanks for any help.
Chris Morrow
--- End Message ---