php-install Digest 11 Oct 2001 03:54:53 -0000 Issue 500

Topics (messages 4583 through 4593):

apache 2.0.16 and php as module
        4583 by: Ireneusz Piasecki

Re: Need help with NSAPI on Solaris - crashes server
        4584 by: Aki Häkkilä

Windows Registry
        4585 by: ToAoM

Re: php "make" error
        4586 by: Steve Cayford

PHP + PostgreSQL compiling problesms
        4587 by: Claudio Calderon

freetype library for windows
        4588 by: mates

Installing PHP on a Gateway Microserver
        4589 by: Stephen Holland

CGI Environment setting problem?
        4590 by: Sloey, James

Re: Window 2000 and Apache 1.3.20
        4591 by: Morrison, Trevor (Trevor)

OCI libraries not installing
        4592 by: Sheila Myers

unix problems
        4593 by: rg

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 everyone.

I compiled apache 2.016 with loadable module support (*.so) and next i tried to 
compile php 4..0.6 as module with apxs of apache 2.0.16. This was unsucesfull, after 
make install ocurred some errors. 
Did anybody compile php 4.0.6 as module with apache 2.0.16 ???

p.s. a have linux redhat 6.2 with kernel 2.2.14 

Thanks !




-- 

Tego nie znajdziesz w żadnym sklepie!
[ http://oferty.onet.pl ]

--- End Message ---
--- Begin Message ---
I have managed to start iPlanet with the latest snapshot, but I haven't
tested it too much yet. That version uses pthreads, the NSAPI functions
were removed for some reason.

Here is the knowledgebase article that suggests using NSAPI thread
functions.
http://knowledgebase.iplanet.com/ikb/kb/articles/4580.html

James Sloey wrote:
> 
> I'm running Solaris 7 with iPlanet 4.1SP2 and trying to use NSAPI. I used:
> 
> ./configure --with-oci8=/u01/app/oracle/product/8.0.5 --enable-sigchild
> --with-nsapi=/u01/app/netscape
> 
> As soon as the php4_init is called the server crashes. I went to the iPlanet
> knowledge base and it says that pthreads can't be used with NSAPI.
> 
> When I tried to turn them off in configure ZEND blows up with:
> 
> Making all in Zend
> /bin/sh ../libtool --silent --mode=compile c++ -DHAVE_CONFIG_H -I. -I.
> -I../main
>    -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
> -DSUPPORT_
> UTF8 -DXML_BYTE_ORDER=21 -I../TSRM -DTHREAD=1  -pthreads -c
> zend_language_scanne
> r_cc.cc
> In file included from zend_alloc.h:27,
>                  from zend.h:135,
>                  from zend_language_scanner_cc.cc:2661:
> ../TSRM/TSRM.h:83: type specifier omitted for parameter
> ../TSRM/TSRM.h:83: parse error before `*'
> ../TSRM/TSRM.h:101: syntax error before `('
> ../TSRM/TSRM.h:102: syntax error before `('
> ../TSRM/TSRM.h:103: `MUTEX_T' was not declared in this scope
> ../TSRM/TSRM.h:103: parse error before `)'
> ../TSRM/TSRM.h:104: `MUTEX_T' was not declared in this scope
> ../TSRM/TSRM.h:104: parse error before `)'
> ../TSRM/TSRM.h:105: `MUTEX_T' was not declared in this scope
> ../TSRM/TSRM.h:105: parse error before `)'
> ../TSRM/TSRM.h:107: `THREAD_T' was not declared in this scope
> ../TSRM/TSRM.h:107: parse error before `)'
> ../TSRM/TSRM.h:108: `THREAD_T' was not declared in this scope
> ../TSRM/TSRM.h:108: parse error before `)'
> *** Error code 1
> make: Fatal error: Command failed for target `zend_language_scanner_cc.lo'
> Current working directory /export/home/jsloey/php-4.0.6/Zend
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> 
>  I'm clueless as this is my first php install. Any help would be
> appreciated.
> 
>   _____
> 
>  <mailto:[EMAIL PROTECTED]> Jim Sloey
> 2613 W. Henrietta Rd. 868 - 01H
> Rochester, New York 14623 U.S.A.
>          <http://www.xerox.com> Xerox - eServices
> Phone: 716.427.4584 / 8*227.4584
> Fax : 716.427.4196 / 8*227.4196
> 
> <mailto:[EMAIL PROTECTED]?subject=Please%20Call%20Me&cc=james.sloey%40usa
> .xerox.com> Pager: 716.246.2604 / 9*246.2604
>
--- End Message ---
--- Begin Message ---
We've been runninf PHP 4.06 on a windows NT 4 server. Soem time ago I 
reapplied the security settings to the registry so that "guest/IIS" 
users could not read the regirty (if you don't disable this setting 
people can read your registry from a remote system).

But now PHP crashes with a "memory could not be read" error.

Which keys does PHP need access to to function properly, I will have to 
change the settings for those obviously, but I don't want anything else 
open.

Who can help me with this?

Jesse
MaxiMedia

--- End Message ---
--- Begin Message ---
You should be able to specify LDFLAGS as -flat_namespace somewhere, but 
I haven't been able to get it to work on my machine either. (see 
http://www.stepwise.com/Articles/Technical/2001-09-29-01.html). I tried 
messing with config and make files, but I was out of my depth and didn't 
get anywhere.

-Steve

On Tuesday, October 9, 2001, at 07:27  PM, Ralph Brown wrote:

>  While trying to "make" PHP on MAC OS X 10.1, i am getting the 
> following errors"
>
>
> /Users/lr/src/php-4.0.6/.libs/libphp4.lax/libtsrm.al
> /usr/bin/ld: -undefined error must be used when -twolevel_namespace is 
> in
> effect
> make[1]: *** [libphp4.la] Error 1
> make: *** [all-recursive] Error 1
>
> the two level namespace error seems to be related to a LDFLAGS 
> syntax...but still experiencing the problem.
>
> suggestions please
> thanks in advance
> Ralph

--- End Message ---
--- Begin Message ---
Hi everyone. i am compiling PHP to  use it with apache and i get this
problem:
./configure --with-pgsql=/usr/local/pgsql --enable-track-vars
--with-apxs=/usr/local/apache/bin/apxs  (this runs OK)
then 'make' and i get this:

stub.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/root/php-4.0.6'
make: *** [all-recursive] Error 1


i have instaled Pgsql then apache (in DSO mode)..

someone could help me?

claudio

--- End Message ---
--- Begin Message ---
hi,

i'd love to take advantage of all the image* functions especially the ones
working with fonts like imagettf etc. i haven't done any dll compilation
before, and i can't find the appropriate dlls. could anyone help? i'm
running php4.0.6 on win98.

thanks a lot.


--- End Message ---
--- Begin Message ---
Can someone help me with how I would install PHP on a Gateway microserver.
I am led to believe that the microserver is a rebadge of the Cobalt Cube 2.

Gateway are no longer present in Australia and their Technical support folk
have no idea (Australian).

Many thanks

Stephen


--- End Message ---
--- Begin Message ---
I'm having trouble with the database connection to Oracle 8 on Solaris 7 due
to a missing environment variable.
The environment is not set when running from the web server.
In order to get the tests to work I had to add putenv() statements to my
code (see below modifications to /php-4.0.6/pear/DB/tests/oci8/skipif.inc).
I tried setting and exporting ORACLE_HOME in the iPlanet start script
(Enterprise 4.1SP2) but that had no effect.
How do you set an environment variable that sticks???????
Thanks in advance
Jim Sloey

<?php
// This script prints "skip" unless:
// * the ibase extension is built-in or loadable, AND
// * there is a database called "test" accessible
//   with no username/password, AND

putenv("ORACLE_HOME=/u01/app/oracle/product/8.0.5");
putenv("ORA_NLS=/u01/app/oracle/product/8.0.5/ocommon/nls/admin/data");
putenv("NLS_LANG=American_America.us7ascii");
if (!extension_loaded("oci8")) {
  $dlext = (substr(PHP_OS, 0, 3) == "WIN") ? ".dll" : ".so";
  @dl("oci8$dlext");
}
if (!extension_loaded("oci8")) {
    die("skip\n");
}

$conn = @OCILogon("system", "manager", "test");
if (!is_resource($conn)) {
    die("skip\n");
}
die("made it\n");
?>

--- End Message ---
--- Begin Message ---
> HI,
> 
> I have installed Apache-1.3.20 on my Window 2000 machine.  It works
> fine.  I have also installed PHP-4.0 on the same machine and thought
> that I followed the instructions to the letter, but I cannot get the
> "<? phpinfo(); ?> to display.  Now, when I run the command:
> c:\>php.exe -i I get the long listing of html code in the window.  So,
> php is running correctly.  I  have gone over the httpd.conf files many
> times and added the lines for the CGI version at first and then tried
> the LoadModule version of PHP, but to no avail.   Apache just does not
> seem to recognize the php code.  Any help would be appreciated.  Thank
> you.
> 
> Trevor Morrison
> Technical Manager
> Avaya, Inc.
> 8740 Lucent Boulevard
> Highlands Ranch, CO 80130
> [EMAIL PROTECTED]
> (720) 444-5908
> 
--- End Message ---
--- Begin Message ---
I am trying to configure PHP 4.0.6, Oracle 8.1.6, Apache, and Redhat
6.2.  
- Apache is working
- PHP is working (I can serve php pages)
- Oracle is working (I can create and work with tables)

I've installed the Oracle Server and the Oracle client, but somehow the
OCI libraries are not getting installed.  The directory
ORACLE_HOME/oci/include is empty.  ./configure fails with an error 
Oracle-OCI8 needed libraries not found.  

This is what I've tried:
- Installed the client software, both the Administrator and Programmer
options
- Installed the server using the custom option, and selecting the OCI8
libraries
- (Desperately) copying the \oci\include directories from my NT
workstation onto the Linux box.

The best I can get is that the compile proceeds, but Oracle functions
are not defined when I load a PHP page.

What files is the compiler looking for as the 'required OCI libraries',
and where are they?

Thanks,
Sheila
--- End Message ---
--- Begin Message ---
hi,

i'm a new unix user. i've installed php on windows no problem.

anybody know why this is happening:

when i'm in a command window, it will not list anything starting with
php.

so, if there is a php4.0.0.1 directory on a disk, it will not show up in
the
command window with the ls or the dir function, but the gnome windows
environment does recogize it, and i can cd to the php directory.

same if i do mkdir php. won't ls in the command window but i can path
into it.

i ask this because i also cannot get php to work properly. i've tried
everything
including all the httpd.conf settings. i'm at a complete loss.

so, i was wondering if this 'not recognizing' php names has anything to
do with
it. i'm sure this is an idiotic question, but i'm fed up.

thanks for any help.

rg

--- End Message ---

Reply via email to