php-install Digest 11 Sep 2001 03:12:26 -0000 Issue 452

Topics (messages 4265 through 4273):

Re: Solaris 2.6, iPlanet 4.1, php 4.06 and Oracle 8.1.7
        4265 by: Thies C. Arntzen
        4266 by: Robert Lindgren

MIPS/ Cobalt Raq2 / PHP
        4267 by: Matthew 'Chewy' Trewhella
        4270 by: Ewald Schmitz

Errors in php4.0.6 installation with Apache_1.3.20 under unix account
        4268 by: Xiaopeng Hu

Php / Win98 / Xitami
        4269 by: Andrew Wren

Re: make problems (yes/lib ????)
        4271 by: Jani Taskinen

Leads Is Money
        4272 by: ()

php.ini problem?
        4273 by: Mefistofeles

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]


----------------------------------------------------------------------


On Mon, Sep 10, 2001 at 01:58:31PM +0200, Robert Lindgren wrote:
> Hi gurus!
> 
> I hope someone has a similiar system and can point me in the right 
> direction.
> Here's the problem.
> 
> If I run
> configure -with-ldap=/opt/ldapSDK4.0 -with-nsapi=/opt/iplanet 
> -with-imap=/usr/local -enable-ftp -enable-sockets
> make
> make install
> 
> every thing work's just fine. But unfortunately I also want to add 
> oracle support. So I do
> configure -with-ldap=/opt/ldapSDK4.0 -with-nsapi=/opt/iplanet 
> -with-oci8=/apps/oracle/product/8.1.7 -with-imap=/usr/local -enable-ftp 
> -enable-sockets
> make
> make install
> 
> everything compiles nicely but when I start the webserver(iPlanet) I get 
> the message:
> [myserver.se]: start failed. (2: unknown early startup error)
> [myserver.se]: conf_init: Error running init function load-modules: 
> dlopen of /opt/iplanet/bin/libphp4.so failed (ld.so.1: ns-httpd: fatal: 
> libclntsh.so.8.0: open failed: No such file or directory)
> [myserver.se]: server exit: status 1

    please make sure that your webserver "has" $ORACLE_HOME/lib
    (/apps/oracle/product/8.1.7/lib) in it's shared library
    search path:

    - add it to /etc/ld.so.conf and run ldconfig (linux)
    *or*
    - add /apps/oracle/product/8.1.7/lib to your LD_LIBRARY_PATH
      env var before you start the web-serevr. (solaris) 
    *or*
    - ls -s /apps/oracle/product/8.1.7/lib/libclntsh.so.8.0 /lib
      (the "hard" way - should work in all cases)

    re,
    tc




Yes! It worked fine!

Thanks a million!

/Robert

Thies C. Arntzen wrote:

> On Mon, Sep 10, 2001 at 01:58:31PM +0200, Robert Lindgren wrote:
> 
>>Hi gurus!
>>
>>I hope someone has a similiar system and can point me in the right 
>>direction.
>>Here's the problem.
>>
>>If I run
>>configure -with-ldap=/opt/ldapSDK4.0 -with-nsapi=/opt/iplanet 
>>-with-imap=/usr/local -enable-ftp -enable-sockets
>>make
>>make install
>>
>>every thing work's just fine. But unfortunately I also want to add 
>>oracle support. So I do
>>configure -with-ldap=/opt/ldapSDK4.0 -with-nsapi=/opt/iplanet 
>>-with-oci8=/apps/oracle/product/8.1.7 -with-imap=/usr/local -enable-ftp 
>>-enable-sockets
>>make
>>make install
>>
>>everything compiles nicely but when I start the webserver(iPlanet) I get 
>>the message:
>>[myserver.se]: start failed. (2: unknown early startup error)
>>[myserver.se]: conf_init: Error running init function load-modules: 
>>dlopen of /opt/iplanet/bin/libphp4.so failed (ld.so.1: ns-httpd: fatal: 
>>libclntsh.so.8.0: open failed: No such file or directory)
>>[myserver.se]: server exit: status 1
>>
> 
>     please make sure that your webserver "has" $ORACLE_HOME/lib
>     (/apps/oracle/product/8.1.7/lib) in it's shared library
>     search path:
> 
>     - add it to /etc/ld.so.conf and run ldconfig (linux)
>     *or*
>     - add /apps/oracle/product/8.1.7/lib to your LD_LIBRARY_PATH
>       env var before you start the web-serevr. (solaris) 
>     *or*
>     - ls -s /apps/oracle/product/8.1.7/lib/libclntsh.so.8.0 /lib
>       (the "hard" way - should work in all cases)
> 
>     re,
>     tc
> 





Morning all.
I'm working with a Cobalt Raq2 Server.
I've downloaded Apache 1.3.20 and PHP 4.0.6
Apache compiles and runs just fine on it's own, and PHP compiles cleanly as
a static module. THe problem is that when I've built PHP/Apache, any time I
execute a PHP page, I get this error@

[notice] child pid 1183 exit signal Floating point exception (8)

Which can't be good. Does anyone have any idea why it might be happening, or
what I can do about it? I've built Apache/PHP on lots of other systems, and
never had this problem at all.
Thanks in advance.
Chewy

--------------------------
Ecce Potestas Casei







I had the same problem like your and other webmasters - see the newsarchive
on the PHP homepage - support - install searching for Raq2.
The most recent version of PHP4 working on a MIPS/Cobalt Raq2 is
PHP4.0.3Pl1.
All newer versions (PHP4.0.4 - )  on an Cobalt Raq2 show the error you
found, regardeless you are compiling a static or dso module for apache.
Seems there are extensions in PHP4.04 - incompatible with the old libaries
of the Raq2 operating system.
I didn't find an working gdb for the MIPSEL architecture nor I was able
compiling one for myself. So i wasn't able tracking down the reason for the
error.
I'm running PHP4.0.3Pl1 as static module in apache 1.3.20 accompanied with
mod/perl1.25 based on Perl 5.6.1 which is working fine on Cobalt Raq2.
The same combination works on a Sparcstation 4 / Solaris8 without any
problems for PHP4.0.6 - but not on a Raq2.

Ewald



"Matthew 'Chewy' Trewhella" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
00e901c13a02$749482c0$[EMAIL PROTECTED]">news:00e901c13a02$749482c0$[EMAIL PROTECTED]...
> Morning all.
> I'm working with a Cobalt Raq2 Server.
> I've downloaded Apache 1.3.20 and PHP 4.0.6
> Apache compiles and runs just fine on it's own, and PHP compiles cleanly
as
> a static module. THe problem is that when I've built PHP/Apache, any time
I
> execute a PHP page, I get this error@
>
> [notice] child pid 1183 exit signal Floating point exception (8)
>
> Which can't be good. Does anyone have any idea why it might be happening,
or
> what I can do about it? I've built Apache/PHP on lots of other systems,
and
> never had this problem at all.
> Thanks in advance.
> Chewy
>
> --------------------------
> Ecce Potestas Casei
>
>
>






Hi, Gurus,

I am new to php and to unix system.  I've set an Apache httpd server and php
engine on several Windows 2000 server, which are running well.  However, I
got problems in installing php-4.0.6 with apache_1.3.20 on Solaris2.7.

I've tested the Apache httpd server and found it worked fine.  Now, I unzip
the php-4.0.6.tar.gz to a direcroty "/home/myAccount/webserver".

I entered the command
"./configure --with-apache=/home/myAccount/webserver/apache", and got the
following warning:
"You chose to compile PHP with the built-in MySQL support.  If you are
compiling a server module, and intend to use other server modules that also
use MySQL you must not rely on PHP's built-in MySQL support, and instead
build it with your local MySQL support files, by
adding --with-mysql=/path/to/mysql to your configure line."

Since I don't use MySQL as a database, I just ignore this warning and
continue to enter the command "make".  On the last few lines, I found this
warning:
"make[1]: warning: Clock skew detected.  Your build may be incomplete.
 make[1]: Leaving direcroty '/home/myAccount/apache/php-4.0.6'
 Making all in pear
 make[1]: Entering directory '/home/myAccount/apache/php-4.0.6/pear'
 make[1]: Leaving directory '/home/myAccount/apache/php-4.0.6/pear'
"
I don't know what this warning mean and how to get rid of it.

Now, I just assume that this warning is not fatal and neglectible.  I
entered the command "make install".  It failed to create a lot of files
under /usr/local/lib/php/...".  Also, the last few lines shows the following
error message:
"make[2]: *** [install-data-local] Error 2
 make[2]: Leaving directory '/home/myAccount/webserver/php-4.0.6/pear'
 make[1]: *** [install-recursive] Error 1
 make[1]: Leaving directory 'home/myAccount/webserver/php-4.0.6/pear'
 make: *** [install-recursive] Error 1"

One thing I want to be clear is that I only want to install and php engine
under my account.  Any idea on how to fix it?

Thanks a lot.






I'm trying to get Php running under Win98 with Xitami. My install of Xitami
is perfectly capable of displaying html pages, but I am unable to display
Php pages. I have run the Php install and the ini file looks fine, but when
trying to access a Php page I get "Internal error: your request was
unsuccessful Cannot create CGI process - program not found".

Any ideas?

Andy







Update to PHP 4.0.6 (preferrably, wait for 4.0.7 which fixes a
few more build problems..)

--Jani


On Sun, 9 Sep 2001, Michael Dransfield wrote:

>i have tried to install php-4.0.4p1 on red hat 7.0 with this compile
>
>./configure --with-mm=/etc/httpd/mm/ --with-gd --with-apxs=/etc/httpd/bin/ap
>xs --with-zlib --with-dom --with-magic-quotes --prefix=/etc/httpd/ --with-qt
>-dom --with-ttf=/usr/include/freetype2
>
>the configure part works ok - but when i type make it exits with the
>following error
>
>make[1]: Entering directory `/usr/src/php-4.0.4pl1'
>/bin/sh /usr/src/php-4.0.4pl1/libtool --silent --mode=link
>gcc  -I. -I/usr/src/php-4.0.4pl1/ -I/usr/src/php-4.0.4pl1/main -I/usr/src/ph
>p-4.0.4pl1 -I/etc/httpd/include -I/usr/src/php-4.0.4pl1/Zend -I/usr/include/
>freetype -I/usr/src/php-4.0.4pl1/ext/mysql/libmysql -I/etc/httpd/mm//include
> -I/usr/src/php-4.0.4pl1/ext/xml/expat/xmltok -I/usr/src/php-4.0.4pl1/ext/xm
>l/expat/xmlparse -I/usr/src/php-4.0.4pl1/TSRM  -DLINUX=22 -DNO_DBM_REWRITEMA
>P -DMOD_SSL=208101 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM
>-DSHARED_CORE -DXML_BYTE_ORDER=12 -g -O2   -o libphp4.la -rpath
>/usr/src/php-4.0.4pl1/libs -avoid-version -L/etc/httpd/mm//lib  -R
>/etc/httpd/mm//lib stub.lo  Zend/libZend.la sapi/apache/libsapi.la
>main/libmain.la regex/libregex.la ext/domxml/libdomxml.la ext/gd/libgd.la
>ext/mysql/libmysql.la ext/pcre/libpcre.la ext/posix/libposix.la
>ext/session/libsession.la ext/standard/libstandard.la ext/xml/libxml.la
>ext/zlib/libzlib.la
>TSRM/libtsrm.la -ldl -lz -lmm -lttf -lz -lpng -lgd -lz -lxml -lresolv -lm -l
>dl -lcrypt -lnsl -lresolv -Lyes/lib -lz
>/usr/src/php-4.0.4pl1/libtool: cd: yes/lib: No such file or directory
>libtool: link: warning: cannot determine absolute directory name of
>`yes/lib'
>libtool: link: passing it literally to the linker, although it might fail
>/usr/bin/ld: cannot find -lpam
>collect2: ld returned 1 exit status
>make[1]: *** [libphp4.la] Error 1
>make[1]: Leaving directory `/usr/src/php-4.0.4pl1'
>make: *** [all-recursive] Error 1
>
>
>does anyone know what is going wrong here???
>
>i have recently upgraded many of my software packages to be in line with red
>hat 7.1
>
>
>
>





Below is the result of your feedback form.  It was submitted by
 () on Monday, September 10, 2001 at 21:34:35
---------------------------------------------------------------------------

message: 
Free Leads... Proven Lead Generation...
 
Real Business Opportunity With Leads, For Over $5K Per Month...

http://www.geocities.com/wealthsystems800 

Please Email Us Directly At [EMAIL PROTECTED] If You Experience
Any Problems With The Site As It Is Very Popular And Sometimes Very Busy.

**YOU MUST INCLUDE YOUR NAME AND PHONE NUMBER TO RECEIVE A RESPONSE**

ALSO - If You Are An Aol Member, You Can View The Site But Must Email Us Directly
As We Are Not Able To Receive Your Requests Through The Site.





---------------------------------------------------------------------------





I've installed Apache 1.3.20 and PHP 4.0.6 according to instructions (I
think). Apache works nicely. However when accessing my page test.php
<?
print "PHP Test";
?>

I get:


Warning: Failed opening '/www/htdocs/test.php' for inclusion
(include_path ='.:/usr/local/lib/php') in Unknown on line 0

What am I missing? php.ini is /usr/local/lib/php.ini

/Mef.


Reply via email to