php-install Digest 5 Nov 2002 08:06:26 -0000 Issue 1104

Topics (messages 9021 through 9031):

Re: php 4.2.3+apache 2.0.43
        9021 by: Jeffrey_N_Dyke.Keane.com
        9023 by: Lou Picciano
        9025 by: Jeffrey_N_Dyke.Keane.com
        9026 by: Chris Wilson

php install as DSO, apache 1.3.14, Unixware 7.11
        9022 by: Andrew Gerstmayr

help!
        9024 by: Pawel
        9027 by: Pawel

php install problems
        9028 by: Kalin Mintchev

Download Dialog problem
        9029 by: M. Ben Nicolas

sockets install problem
        9030 by: Gareth Thomas

Re: interbase problem
        9031 by: Jaime Garcia

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 ---
This is not a stable combination.  You'd be better off going down to Apache
1.3.27.  Also in httpd.conf(of Apache 2X) it tells you --- "don't use -1 on
these systems"

jd


                                                                                       
                             
                    "Chris Wilson"                                                     
                             
                    <cwilson@netxn       To:     <[EMAIL PROTECTED]>           
                             
                    .com>                cc:                                           
                             
                                         Subject:     [PHP-INST] php 4.2.3+apache 
2.0.43                            
                    11/04/2002                                                         
                             
                    02:53 PM                                                           
                             
                                                                                       
                             
                                                                                       
                             




Hello,

I am having a problem with a 4.2.3 install on a redhat linux box running
apache 2.0.43 and php 4.2.3....

when I turn safe mode on, I get this error:


Warning: SAFE MODE Restriction in effect. The script whose uid is -1 is not
allowed to access /var/www/html/index.php owned by uid 515 in Unknown on
line 0

Warning: Failed opening '/var/www/html/index.html.en' for inclusion
(include_path='.:/usr/local/lib/php') in Unknown on line 0


when trying to access any php documents on the site.


Does anyone know what can cause this? Any help would be apreciated. thanks!


Chris Wilson


--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




--- End Message ---
--- Begin Message ---
List Friends,

Wanted to add 2 cents to the list discussion about the Apache 2.n / php 4.n
Œcontroversyš...  Wešve been monitoring the discussion, and the suggestions
from Rasmus and others that this is an unstable combination, but, in the
interest of healthy experimentation and research...

Wešve been running a combination of PHP 4.3.0-dev with Apache 2.0.40 for
some time now, with absolutely bulletproof stability.  PHP is a very recent
development snapshot, while we havenšt tinkered with Apache for several
weeks.  Granted, we haven't compiled in every option php has to offer...
Are we simply luckier than most?  All this is on SMP-SPARC with Solaris 9.

Anybody else?

Lou Picciano
Essex Systems

> 
> This is not a stable combination.  You'd be better off going down to Apache
> 1.3.27.  Also in httpd.conf(of Apache 2X) it tells you --- "don't use -1 on
> these systems"
> 
> jd 
>                  
>                   "Chris Wilson"
>                   <cwilson@netxn       To:     <[EMAIL PROTECTED]>
>                   .com>                cc:
>                                        Subject:     [PHP-INST] php
> 4.2.3+apache 2.0.43
>                   11/04/2002
>                   02:53 PM
>                  
>                  
> 
> 
> 
> 
> Hello,
> 
> I am having a problem with a 4.2.3 install on a redhat linux box running
> apache 2.0.43 and php 4.2.3....
> 
> when I turn safe mode on, I get this error:
> 
> 
> Warning: SAFE MODE Restriction in effect. The script whose uid is -1 is not
> allowed to access /var/www/html/index.php owned by uid 515 in Unknown on
> line 0
> 
> Warning: Failed opening '/var/www/html/index.html.en' for inclusion
> (include_path='.:/usr/local/lib/php') in Unknown on line 0
> 
> 
> when trying to access any php documents on the site.
> 
> 
> Does anyone know what can cause this? Any help would be apreciated. thanks!
> 
> 
> Chris Wilson


--- End Message ---
--- Begin Message ---
Sharing.....if you're interested....

since i have posted the other one, i feel inclined to add....Yes, i have
had luck with Apache 2.039 and PHP 4.23-dev(from snaps.php.net a few months
ago). - Soloris 8. The luck i had with the 4.2branch was only compiling in
the basics.... --with-mysql  --with-apxs2(of course) and a couple other
basic enables...

I did have a successful build with these but I then added openssl and then
could not get it working...this made me go back to 1.3.27.

Jeff


                                                                                       
                             
                    Lou Picciano                                                       
                             
                    <Omnis@comcast       To:     [EMAIL PROTECTED], Chris 
Wilson <[EMAIL PROTECTED]>         
                    .net>                cc:     [EMAIL PROTECTED]             
                             
                                         Subject:     Re: [PHP-INST] php 4.2.3+apache 
2.0.43                        
                    11/04/2002                                                         
                             
                    04:16 PM                                                           
                             
                                                                                       
                             
                                                                                       
                             




List Friends,

Wanted to add 2 cents to the list discussion about the Apache 2.n / php 4.n
?controversyš...  Wešve been monitoring the discussion, and the suggestions
from Rasmus and others that this is an unstable combination, but, in the
interest of healthy experimentation and research...

Wešve been running a combination of PHP 4.3.0-dev with Apache 2.0.40 for
some time now, with absolutely bulletproof stability.  PHP is a very recent
development snapshot, while we havenšt tinkered with Apache for several
weeks.  Granted, we haven't compiled in every option php has to offer...
Are we simply luckier than most?  All this is on SMP-SPARC with Solaris 9.

Anybody else?

Lou Picciano
Essex Systems

>
> This is not a stable combination.  You'd be better off going down to
Apache
> 1.3.27.  Also in httpd.conf(of Apache 2X) it tells you --- "don't use -1
on
> these systems"
>
> jd
>
>                   "Chris Wilson"
>                   <cwilson@netxn       To:
<[EMAIL PROTECTED]>
>                   .com>                cc:
>                                        Subject:     [PHP-INST] php
> 4.2.3+apache 2.0.43
>                   11/04/2002
>                   02:53 PM
>
>
>
>
>
>
> Hello,
>
> I am having a problem with a 4.2.3 install on a redhat linux box running
> apache 2.0.43 and php 4.2.3....
>
> when I turn safe mode on, I get this error:
>
>
> Warning: SAFE MODE Restriction in effect. The script whose uid is -1 is
not
> allowed to access /var/www/html/index.php owned by uid 515 in Unknown on
> line 0
>
> Warning: Failed opening '/var/www/html/index.html.en' for inclusion
> (include_path='.:/usr/local/lib/php') in Unknown on line 0
>
>
> when trying to access any php documents on the site.
>
>
> Does anyone know what can cause this? Any help would be apreciated.
thanks!
>
>
> Chris Wilson





--- End Message ---
--- Begin Message ---
just an FYI, I went down to 1.3.27, everything is working fine.

Thanks for the help! :)

cw.


----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Lou Picciano" <[EMAIL PROTECTED]>
Cc: "Chris Wilson" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, November 04, 2002 1:33 PM
Subject: Re: [PHP-INST] php 4.2.3+apache 2.0.43


>
> Sharing.....if you're interested....
>
> since i have posted the other one, i feel inclined to add....Yes, i have
> had luck with Apache 2.039 and PHP 4.23-dev(from snaps.php.net a few
months
> ago). - Soloris 8. The luck i had with the 4.2branch was only compiling in
> the basics.... --with-mysql  --with-apxs2(of course) and a couple other
> basic enables...
>
> I did have a successful build with these but I then added openssl and then
> could not get it working...this made me go back to 1.3.27.
>
> Jeff
>
>
>
>                     Lou Picciano
>                     <Omnis@comcast       To:     [EMAIL PROTECTED],
Chris Wilson <[EMAIL PROTECTED]>
>                     .net>                cc:     [EMAIL PROTECTED]
>                                          Subject:     Re: [PHP-INST] php
4.2.3+apache 2.0.43
>                     11/04/2002
>                     04:16 PM
>
>
>
>
>
>
> List Friends,
>
> Wanted to add 2 cents to the list discussion about the Apache 2.n / php
4.n
> ?controversyš...  Wešve been monitoring the discussion, and the
suggestions
> from Rasmus and others that this is an unstable combination, but, in the
> interest of healthy experimentation and research...
>
> Wešve been running a combination of PHP 4.3.0-dev with Apache 2.0.40 for
> some time now, with absolutely bulletproof stability.  PHP is a very
recent
> development snapshot, while we havenšt tinkered with Apache for several
> weeks.  Granted, we haven't compiled in every option php has to offer...
> Are we simply luckier than most?  All this is on SMP-SPARC with Solaris 9.
>
> Anybody else?
>
> Lou Picciano
> Essex Systems
>
> >
> > This is not a stable combination.  You'd be better off going down to
> Apache
> > 1.3.27.  Also in httpd.conf(of Apache 2X) it tells you --- "don't use -1
> on
> > these systems"
> >
> > jd
> >
> >                   "Chris Wilson"
> >                   <cwilson@netxn       To:
> <[EMAIL PROTECTED]>
> >                   .com>                cc:
> >                                        Subject:     [PHP-INST] php
> > 4.2.3+apache 2.0.43
> >                   11/04/2002
> >                   02:53 PM
> >
> >
> >
> >
> >
> >
> > Hello,
> >
> > I am having a problem with a 4.2.3 install on a redhat linux box running
> > apache 2.0.43 and php 4.2.3....
> >
> > when I turn safe mode on, I get this error:
> >
> >
> > Warning: SAFE MODE Restriction in effect. The script whose uid is -1 is
> not
> > allowed to access /var/www/html/index.php owned by uid 515 in Unknown on
> > line 0
> >
> > Warning: Failed opening '/var/www/html/index.html.en' for inclusion
> > (include_path='.:/usr/local/lib/php') in Unknown on line 0
> >
> >
> > when trying to access any php documents on the site.
> >
> >
> > Does anyone know what can cause this? Any help would be apreciated.
> thanks!
> >
> >
> > Chris Wilson
>
>
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
I've been trying to install PHP as a dynamic module with Apache 1.3.14.

I've been following the instructions found in the INSTALL file, as well as
numerous online documents.  After editing httpd.conf with the appropriate
'LoadModule' line and 'AddType' lines, and restarting the apache server I
get the following error output:

# /usr/local/apache/bin/apachectl stop
/usr/local/apache/bin/apachectl stop: httpd stopped
# /usr/local/apache/bin/apachectl startssl
Syntax error on line 209 of
/usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into
server: dynamic linker: /usr/local/apache/bin/httpd:
relocation error: symbol not found: finite; referenced
from: /usr/local/apache/libexec/libphp4.so
/usr/local/apache/bin/apachectl startssl: httpd could
not be started

Any ideas would be greatly appreciated.
Thanks,
Andrew Gerstmayr


--- End Message ---
--- Begin Message ---
Hi,
've got a problem with installing php4 on my computer
I tried to install it under (Mandrake).
I send you also a "debug.log" file, which was created during the installation.
 
'Hope to hear from you soon.
Best wishes,
Pawel.
 
--- End Message ---
--- Begin Message ---
Hi,
've got a problem with installing php4 on my computer
I tried to install it under (Mandrake).
I send you also a "debug.log" file, which was created during the installation.
 
'Hope to hear from you soon.
Best wishes,
Pawel.
--- End Message ---
--- Begin Message ---

hi all,

after compiling php 4.2.3 for apache 2.0.43 i get this massages

Syntax error on line 231 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libphp4.so into server:
/usr/local/apache2/modules/libphp4.so: Undefined symbol
"pthread_getspecific"

the os is FreeBSD 4.6
i tried different apaches and different php versions. the first time i
used the BSD ports but i got compiling php errors. after trying 3 -4
different versions of apaches with PHPs i still get the same error.
apache runs fine without the LoadModule php4_module   modules/libphp4.so
line...


for apache i just used the standard installation procedure:
./configure; make; make install

for php:
./configure --with-mysql --with-apxs2=/my/path/to/apxs

i found documentation to use also --with-trms-pth

which i did installing first the gnu pth-1.4.1 package

every time i get the same error...

so now i'm out of options and any suggestion or help will be
appreciated...

thanks...


--- End Message ---
--- Begin Message ---
I have attempted to compile and install PHP using the 'Static' method
described in the INSTALL file that comes with php

php configured with:
./configure --with-mysql --with-pgsql --with-apache=/usr/local/apache/apache
_1.3.22/ (make => make install)

php.ini was copied to:
/usr/local/lib/php.ini

I have the following line in my httpd.conf file:
AddType application/x-httpd-php .php

apache installed in
/usr/local/apache

apache configured with
./configure --prefix=/usr/local/apache/ --activate-module=src/modules/php4/l
ibphp4.a

Apache was already installed and working with mod perl, I just went into
/usr/local/apache/apache_1.3.22

stopped the web server and ran the line above
(and then make & make install of course)

how can I check to make sure the libphp4 module was activated properly and
that apache is using it?
I see nothing about a mod_php module when I do a httpd -l, it gives me this
Compiled-in modules:
  http_core.c
  .
  .
  .
  mod_perl.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec

I have mod-perl working with apache (for scoop site) so I don't want to
completely wipe apache and try to install from scratch using the 'Dynamic'
method described in the php INSTAll file

My system:
uname -a = 'Linux my.host.name  2.4.3-20mdk #1 Sun Apr 15 23:03:10 CEST 2001
i686 unknown'
apache version 1.3.22
php version 4.2.3

My problem is that every time I try to make a request for a php page from a
browser, the 'Download Dialog' box appears in explorer and the browser
automatically downloads the php file without the server processing the php
code??...

Shouldn't I see mod_php when I do an httpd -l after following the 'Static'
install instructions from the INSTALL file?
I don't see anything about php when I do a /usr/local/apache/bin/httpd -V
under the 'Server compiled with' section.

I've followed the 'Static' Install directions without errors and have
inserted the AddType line into my apache config file (httpd.conf).  I'm
still getting the download dialog box when I make a request from a browser
for a page with a .php extension.  HTML files are properly processed by
apache and if I make up a file extension i.e.- 'phpinfo.hot' and request
that from a browser apache sends the contents to the browser (php code
available via view source).

I found something on phpbuilder mentioning something about needing an entry
in the mime.types file.  I don’t know what the entry in the mime.types file
for php files should look like does anybody out there have an idea?

--- End Message ---
--- Begin Message ---
Hi,

I had installed and running fine 4.3.0pre2 until today when I was having a
problem using the socket() function. Apparently I needed to recompile using
the '--enable-sockets' switch on the ./configure. That works fine, however
when I run a 'make' it bombs out with the following error:

my_tempnam.c:103: the use of  'tempnam' is dangerous, better use 'mkstemp'

This is on Red Hat 7.2. I also made sure I deleted config.cache before
recompiling.

Any help would be appreciated.

G.


--- End Message ---
--- Begin Message ---
hi every one 

i've had installed the latest version of Interbase (Firebird 1.0) through 
freeBSD ports and all the problems gone 

best regards 
Jaime 

> Howdy! 
> 
> OS:freebsd 4.7 
> php-version:4.2.3 
> apache 1.3.26 
> Interbase 4.0 
> 
> first i compile php ./configure --with-apache --with-interbase=/usr/interbase
> --
>  
> with-mysql support (/usr/interbase is my current interbase install location)
> 
> and all goes fine but when i try to compile apache an error stop compilation,
> 
> here is what it happens: 
> 
> $make 
> in.a  ./os/unix/libos.a  ap/libap.a  lib/expat-lite/libexpat.a  - 
> R/usr/interbase/include/lib  -rdynamic -L/usr/interbase/include/lib - 
> Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4  -lpam  -lgds
> - 
> lz -lcrypt -lm  -lcrypt   -lcrypt 
> modules/php4/libphp4.a(interbase.o): In function `_php_ibase_error': 
> /usr/local/php-4.2.3/ext/interbase/interbase.c:295: undefined reference to 
> `isc_interprete' 
> modules/php4/libphp4.a(interbase.o): In function `_php_ibase_commit_link': 
> /usr/local/php-4.2.3/ext/interbase/interbase.c(.text+0x26a): undefined 
> reference to `isc_commit_transaction' 
> 
> *** Error code 1 
> 
> Stop in /usr/local/apache_1.3.26/src. 
> *** Error code 1 
> 
> Stop in /usr/local/apache_1.3.26. 
> *** Error code 1 
> 
> Stop in /usr/local/apache_1.3.26. 
> 
> 
> 
> any suggestions are welcome, thank you for your patience 
> 
> sincerely: 
> Jaime Garcia 
> 
> 
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 




-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
--- End Message ---

Reply via email to