php-install Digest 30 Apr 2002 06:27:15 -0000 Issue 811

Topics (messages 6775 through 6785):

PHP 4.2.0 configure problems
        6775 by: Joseph Carter

Undefined references ?
        6776 by: Sasa Ugrenovic

Is Oracle 9i Supported?
        6777 by: Yomi Odedeyi

Re: Xitami Problem
        6778 by: Matt DeWyer

build problem on Solaris 2.8
        6779 by: David Knox

400 Bad request error - Why?
        6780 by: Filip Sviza

Problem PHP 4.1.2, Apache 1.3.3 in Solaris 2.5
        6781 by: Julio Cesar

PHP 4.1.2, Apache 1.3.3 in Solaris 2.5
        6782 by: Julio Cesar

Re: Apache 2 ?
        6783 by: xirho

error while installing php4.1.2
        6784 by: Jobst, Harald
        6785 by: Jobst, Harald

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 ---
|                       *** 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.
Pleasesee the file debug.log for error messages.

Output from debug.log

CONFIGURE:   './configure' '--prefix=/usr' '--sysconfdir=/etc' 
'--localstatedir=/var' '--with-apxs=/opt/apache/sbin/apxs' 
'--enable-track-vars' '--enable-calendar' '--with-gd' 
'--with-freetype-dir=/usr/include/freetype2' '--with-xpm-dir=/usr/lib' 
'--with-gdbm' '--enable-filepro' '--enable-dbase' '--enable-ftp' 
'--with-java=/usr/java1.1' '--enable-trans-sid' '--with-mysql' 
'--enable-sysvshm' '--enable-sysvsem' '--with-openssl' 
'--with-jpeg-dir=/opt/sfw' '--with-png-dir=/opt/sfw' '--with-zlib'
CC:         gcc
CFLAGS:     -O2
CPPFLAGS:    -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -DMOD_SSL=208108 
-DEAPI -DUSE_EXPAT
CXX:        g++
CXXFLAGS:   -g -O2
INCLUDES:    -I/opt/apache/include  -I$(top_builddir)/Zend 
-I/usr/include/freetype2/freetype 
-I/usr/share/src/php-4.2.0/ext/mysql/libmysql
LDFLAGS:     -R/usr/ucblib -L/usr/ucblib -R/opt/sfw/lib -L/opt/sfw/lib 
-R/usr/java1.1/lib -L/usr/java1.1/lib
LIBS:       -lgd -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lgdbm -lz 
-lcrypt -lssl -lcrypto -lresolv -lresolv -lresolv -lm -ldl -lnsl 
-lsocket  -lsocket -lcrypt
DLIBS:
SAPI:       apache
PHP_RPATHS:  /usr/ucblib /opt/sfw/lib /usr/java1.1/lib
uname -a:   SunOS vulcan 5.8 Generic_108528-14 sun4u sparc SUNW,Ultra-250

gcc -o conftest -O2  -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 
-DMOD_SSL=208108
-DEAPI -DUSE_EXPAT  -R/usr/ucblib -L/usr/ucblib -R/opt/sfw/lib 
-L/opt/sfw/lib -R/usr/java1.1/lib -L/usr/java1.1/lib conftest.c -lgd 
-lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lgdbm -lz -lcrypt -lssl 
-lcrypto -lresolv -lresolv -lresolv -lm -ldl -lnsl -lsocket  -lsocket 
-lcrypt >&5
ld.so.1: ./conftest: fatal: ared: open failed: No such file or directory

gcc version is 2.95.3 from the Software Companion

Thanks
Joe

--- End Message ---
--- Begin Message ---
Hi,
I am new here.This is my first message.
When i type make php i get folowing error:
.libs/libphp4.so: undefined reference to `ap_user_id'
.libs/libphp4.so: undefined reference to `ap_table_get'
.libs/libphp4.so: undefined reference to `ap_update_mtime'
.libs/libphp4.so: undefined reference to `ap_kill_timeout'
.libs/libphp4.so: undefined reference to `ap_uudecode'
.libs/libphp4.so: undefined reference to `ap_setup_client_block'
.libs/libphp4.so: undefined reference to `ap_getword'
.libs/libphp4.so: undefined reference to `ap_add_cgi_vars'
.libs/libphp4.so: undefined reference to `ap_getword_nulls_nc'
.libs/libphp4.so: undefined reference to `ap_server_root'
.libs/libphp4.so: undefined reference to `ap_destroy_sub_req'
.libs/libphp4.so: undefined reference to `ap_group_id'
.libs/libphp4.so: undefined reference to `ap_user_name'
.libs/libphp4.so: undefined reference to `ap_pstrdup'
.libs/libphp4.so: undefined reference to `ap_log_error'
.libs/libphp4.so: undefined reference to `ap_table_add'
.libs/libphp4.so: undefined reference to `ap_sub_req_lookup_uri'
.libs/libphp4.so: undefined reference to `ap_run_sub_req'
.libs/libphp4.so: undefined reference to `ap_register_cleanup'
.libs/libphp4.so: undefined reference to `ap_signal'
.libs/libphp4.so: undefined reference to `ap_send_http_header'
.libs/libphp4.so: undefined reference to `ap_block_alarms'
.libs/libphp4.so: undefined reference to `ap_child_terminate'
.libs/libphp4.so: undefined reference to `ap_set_etag'
.libs/libphp4.so: undefined reference to `ap_rwrite'
.libs/libphp4.so: undefined reference to `ap_table_set'
.libs/libphp4.so: undefined reference to `ap_get_client_block'
.libs/libphp4.so: undefined reference to `ap_add_version_component'
.libs/libphp4.so: undefined reference to `ap_hard_timeout'
.libs/libphp4.so: undefined reference to `ap_rflush'
.libs/libphp4.so: undefined reference to `top_module'
.libs/libphp4.so: undefined reference to `ap_set_last_modified'
.libs/libphp4.so: undefined reference to `ap_reset_timeout'
.libs/libphp4.so: undefined reference to `ap_max_requests_per_child'
.libs/libphp4.so: undefined reference to `ap_unblock_alarms'
.libs/libphp4.so: undefined reference to `ap_add_common_vars'
collect2: ld returned 1 exit status
make: *** [php] Error 1
sasa@marvin(/usr/src/php-4.0.6)$

can anyone help me ?

Thanks

--- End Message ---
--- Begin Message ---
Guys,

Am trying to install PHP as a Dynamic Apache Module. Am using Solaris 2.7
with Apache, and the new Oracle 9i. I keep getting errors when I run the
configure script. Does anyone know if Oracle 9i is supported?? Attached is
my debug.log file and below is my environment. Any and all suggestions would
be really appreciated. TIA.

Yomi

BASH=/bin/bash
DISPLAY=192.216.4.162:0.0
HOME=/export/home/oracle
HOSTTYPE=sparc
HZ=100
LD_LIBRARY_PATH=/u01/oracle/product/9.0.1/lib
LOGNAME=oracle
MAIL=/var/mail/oracle
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
ORACLE_BASE=/u01/oracle
ORACLE_HOME=/u01/oracle/product/9.0.1
ORACLE_SID=dev9i
OSTYPE=SunOS5
PATH=/usr/local/bin:/usr/ccs/bin:/usr/bin:/usr/ucb:/etc:.:/u01/oracle/produc
t/9.0.1/bin:/u01/oracle/product/9.0.1/Apache/perl/bin
PERLLIB=/u01/oracle/product/9.0.1/Apache/perl/lib/5.00503:/u01/oracle/produc
t/9.0.1/Apache/perl/lib/5.00503/sun4-solaris
PS1=oracle@oradev01:\w>
SHELL=/bin/bash
SHLVL=1
TERM=xterm
TZ=US/Eastern
_=/usr/bin/env
--- End Message ---
--- Begin Message ---
Ok.. How do you recompile PHP in Windows 98?

Matt

Follow those directions and recompile?

Bill

On Sat, Apr 27, 2002 at 08:29:13PM -0700, Matt DeWyer wrote:
> I am having a problem with Xitami and PHP.
> When I try to run a .php script, I get the message:
> 
> Security Alert! PHP CGI cannot be accessed directly. 
> This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a 
>page will only be served up if the REDIRECT_STATUS CGI variable is set. This variable 
>is set, for example, by Apache's Action directive redirect. 
> 
> You may disable this restriction by recompiling the PHP binary with the 
>--disable-force-cgi-redirect switch. If you do this and you have your PHP CGI binary 
>accessible somewhere in your web tree, people will be able to circumvent .htaccess 
>security by loading files through the PHP parser. A good way around this is to define 
>doc_root in your php.ini file to something other than your top-level DOCUMENT_ROOT. 
>This way you can separate the part of your web space which uses PHP from the normal 
>part using .htaccess security. If you do not have any .htaccess restrictions anywhere 
>on your site you can leave doc_root undefined. If you are running IIS, you may safely 
>set cgi.force_redirect=0 in php.ini. 
> 
> Does anyone have any suggestions as to what I should do?
> 
> Thanks a lot,
> 
> Matt
> 

-- 
Bill Bradford          "Fear leads to anger. Anger leads to hate. Hate leads
[EMAIL PROTECTED]       to using Windows for mission-critical applications."
Austin, TX            -- What Yoda *meant* to say
--- End Message ---
--- Begin Message ---

Hi,
Platform -- Solaris 8
shell -- bash 2.05
compiler -- gcc 3.0.3
PHP version -- 4.2.0
MySQL version -- 3.23.45
configured with --with-mysql --with-apsx

My PHP build is failing when it is running libtool on libmysql.c. It
complains about global.h in ./ext/mysql/libmysql. The output follows this
text. I want to make sure that everything is right with my platform (above)
and find out if anyone has had a similar experience before I go any further.

thanks in advance,
--dk
<snip>
make[4]: Entering directory `/home/dknox/php-4.2.0/ext/mysql/libmysql'
/bin/sh /home/dknox/php-4.2.0/libtool --silent --mode=compile
gcc  -I. -I/home/d
knox/php-4.2.0/ext/mysql/libmysql -I/home/dknox/php-4.2.0/main -I/home/dknox
/php
-4.2.0 -I/usr/apache/include -I/home/dknox/php-4.2.0/Zend -I/home/dknox/php-
4.2.
0/ext/mysql/libmysql -I/home/dknox/php-4.2.0/ext/xml/expat  -D_POSIX_PTHREAD
_SEM
ANTICS -DEAPI -DMOD_PERL -DUSE_EXPAT -DSOLARIS2=280 -I/home/dknox/php-4.2.0/
TSRM
 -g -O2 -prefer-pic  -c libmysql.c
In file included from libmysql.c:5:
global.h:136:22: operator 'EOL' has no left operand
In file included from libmysql.c:5:
global.h:256: warning: redefinition of `uint'
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.3/include/sys/types.h:505:
warni
ng: `uint' previously declared here
global.h:257: warning: redefinition of `ushort'
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.3/include/sys/types.h:504:
warni
ng: `ushort' previously declared here
global.h:258: warning: redefinition of `ulong'
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.3/include/sys/types.h:506:
warni
ng: `ulong' previously declared here
In file included from libmysql.c:5:
global.h:498:22: operator 'EOL' has no left operand
In file included from libmysql.c:5:
global.h:590: warning: redefinition of `ulong'
global.h:258: warning: `ulong' previously declared here
"build.error" 38 lines, 1991 characters

</snip>

--- End Message ---
--- Begin Message ---
Hello !
 I need some help with Apache/PHP/Windows. After I've installed Apache
1.3.23 for Windows and PHP 4.1.1 for Windows and set up all the
ScriptAliases and AddTypes, I started Apache.exe and there was no problem.
But when I tried to load a PHP script into my browser, there appeared a 400
Bad request error message. In log/error.log I found "Cannot remove module
mod_php4.c: not found in module list". Where is the problem?


--

       Filip Sviza
<[EMAIL PROTECTED]>


--- End Message ---
--- Begin Message ---
On Solaris 2.5, starting Apache I get this error:

Both Apache and PHP compiled without errors and installed cleanly.


The Error when starting Apache:
Syntax error on line 26 of /usr/local/etc/apache/conf/httpd.conf:
Cannot load /usr/local/etc/apache/libexec/libphp4.so into server:
ld.so.1: /usr/local/etc/apache/bin/httpd: fatal: relocation error: file
/usr/local/etc/apache/libexec/libphp4.so: symbol dn_skipname: referenced
symbol not found ./apachectl start: httpd could not be started

Line 26 in the httpd.conf file is: 
LoadModule php4_module        libexec/libphp4.so


Help me please.

Julio Cesar
--- End Message ---
--- Begin Message ---

On Solaris 2.5, starting Apache I get this error:

Both Apache and PHP compiled without errors and installed cleanly.


The Error when starting Apache:
Syntax error on line 26 of /usr/local/etc/apache/conf/httpd.conf:
Cannot load /usr/local/etc/apache/libexec/libphp4.so into server:
ld.so.1: /usr/local/etc/apache/bin/httpd: fatal: relocation error: file
/usr/local/etc/apache/libexec/libphp4.so: symbol dn_skipname: referenced
symbol not found ./apachectl start: httpd could not be started

Line 26 in the httpd.conf file is: 
LoadModule php4_module        libexec/libphp4.so


Help me please.

Julio Cesar Guerrero Martinez
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Bogotá - Colombia.

--- End Message ---
--- Begin Message ---
i want php support ;[
mommy! these guys are baad ;,o[

--
xirho
http://www.xirho.org/
http://www.xorphor.com/
http://www.irridium.org/
travel. without movement.


--- End Message ---
--- Begin Message ---
There is an error while installing php4.1.2 on HP-UX 11.11 / gcc 3.0.2 in the 
configure-phase.
Debug.log:

CONFIGURE:   './configure' '--with-apache=/opt/apache' '--with-oci8' 
'--disable-libgcc' '--disable-mysql'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:   
CXX:        
CXXFLAGS:   
INCLUDES:    -I/opt/apache/src/include -I/opt/apache/src/os/unix  
-I$(top_builddir)/Zend -I/var/spool/sw/php412_src/php-4.1.2/ext/mysql/libmysql 
-I/opt/oracle/product/9.0.1/rdbms/public -I/opt/oracle/product/9.0.1/rdbms/demo 
-I/opt/oracle/product/9.0.1/plsql/public
LDFLAGS:     -L/opt/oracle/product/9.0.1/lib -L/opt/oracle/product/9.0.1/lib
LIBS:       -l:libdld.sl -l:libnss_dns.1 -l:librt.sl -l:libcl.sl -lcrypt -lm -lnsl  
-lcrypt -lclntsh
DLIBS:      
SAPI:       apache
PHP_RPATHS:  /opt/oracle/product/9.0.1/lib
uname -a:   HP-UX Q9L1V B.11.11 U 9000/800 197931501 unlimited-user license

gcc -o conftest -g -O2   -L/opt/oracle/product/9.0.1/lib 
-L/opt/oracle/product/9.0.1/lib conftest.c -l:libdld.sl -l:libnss_dns.1 -l:librt.sl 
-l:libcl.sl -lcrypt -lm -lnsl  -lcrypt -lclntsh 1>&5
/usr/ccs/bin/ld: /opt/oracle/product/9.0.1/lib/libclntsh.sl: Mismatched ABI. 64-bit PA 
shared library found in 32-bit link.
collect2: ld returned 1 exit status

> Greatings
> 
> Harald Jobst 
> _________________________________________
> T-Systems Nova
> Entwicklungszentrum Berlin
> Bereich E22 / EWU
> 
> Wittestr. 30 H
> Postfach 652 , 13476 Berlin
> Telefon:      +49 30 43577-7472
> Telefax:      +49 391 5347 4289
> 
> <mailto:[EMAIL PROTECTED]>
> 
> 
> 
--- End Message ---
--- Begin Message ---


> There is an error while installing php4.1.2 on HP-UX 11.11 / gcc 3.0.2 in the 
>configure-phase.
> Debug.log:
> 
> CONFIGURE:   './configure' '--with-apache=/opt/apache' '--with-oci8' 
>'--disable-libgcc' '--disable-mysql'
> CC:         gcc
> CFLAGS:     -g -O2
> CPPFLAGS:   
> CXX:        
> CXXFLAGS:   
> INCLUDES:    -I/opt/apache/src/include -I/opt/apache/src/os/unix  
>-I$(top_builddir)/Zend -I/var/spool/sw/php412_src/php-4.1.2/ext/mysql/libmysql 
>-I/opt/oracle/product/9.0.1/rdbms/public -I/opt/oracle/product/9.0.1/rdbms/demo 
>-I/opt/oracle/product/9.0.1/plsql/public
> LDFLAGS:     -L/opt/oracle/product/9.0.1/lib -L/opt/oracle/product/9.0.1/lib
> LIBS:       -l:libdld.sl -l:libnss_dns.1 -l:librt.sl -l:libcl.sl -lcrypt -lm -lnsl  
>-lcrypt -lclntsh
> DLIBS:      
> SAPI:       apache
> PHP_RPATHS:  /opt/oracle/product/9.0.1/lib
> uname -a:   HP-UX Q9L1V B.11.11 U 9000/800 197931501 unlimited-user license
> 
> gcc -o conftest -g -O2   -L/opt/oracle/product/9.0.1/lib 
>-L/opt/oracle/product/9.0.1/lib conftest.c -l:libdld.sl -l:libnss_dns.1 -l:librt.sl 
>-l:libcl.sl -lcrypt -lm -lnsl  -lcrypt -lclntsh 1>&5
> /usr/ccs/bin/ld: /opt/oracle/product/9.0.1/lib/libclntsh.sl: Mismatched ABI. 64-bit 
>PA shared library found in 32-bit link.
> collect2: ld returned 1 exit status
> 
> Greatings
> 
> Harald Jobst 
> _________________________________________
> T-Systems Nova
> Entwicklungszentrum Berlin
> Bereich E22 / EWU
> 
> Wittestr. 30 H
> Postfach 652 , 13476 Berlin
> Telefon:      +49 30 43577-7472
> Telefax:      +49 391 5347 4289
> 
> <mailto:[EMAIL PROTECTED]>
> 
> 
> 
--- End Message ---

Reply via email to