php-install Digest 19 Sep 2002 13:59:23 -0000 Issue 1031
Topics (messages 8499 through 8503):
Re: PHP 4.2.2 and Oracle 9.x
8499 by: Thies C. Arntzen
php with iplanet 6 on Solaris8
8500 by: Turuianu, Adrian
Re: Problem configuring php with gd on Red Hat 7
8501 by: David Dawnay
PHP runs as uid/gid -1/-1 in safe mode (Apache)!?
8502 by: Janne Sirén
Re: Step-by-step explanation for cobalt? YES!
8503 by: Uwe Birkenhain
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 ---
On Wed, Sep 18, 2002 at 10:24:54AM +0200, Markus Boehmer wrote:
> Hi all,
>
> I have a little problem with php and oracle 9.
> The OCI support compiles in qithout any problems, but if I try to
> compile in the support for the oracle 7 functions ('--with-oracle')
> then the
> configure always fails.
>
> Is there a trick, to get php and oracle 9 working with the old
> oracle functions?
>
> I need them, because else I have to rewrite lots of old programs to use
> oci functions.
just compare oci8/config.m4 and oracle/config.m4 the needed
changes should be obvious. once you have succeeded plz send
us the patch for oracle/config.m4
re,
tc
>
> Greetings
> Markus
> --
> Markus Boehmer
> Datenbankadministration
> mailto:[EMAIL PROTECTED]
> Schaefer Shop GmbH
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Thies C. Arntzen - Looking for all sorts of freelance work - just ask..
Whishlist: http://www.amazon.de/exec/obidos/wishlist/AB9DY62QWDSZ
--- End Message ---
--- Begin Message ---
I am trying to get php4.2.0 working with iPlanet 6 on Solaris 8.
I have everything compiled with gcc 3.2
The server starts ok. and serves html pages . However, whenever I request any php
page, the server seems to restart itself, and I get the following on thhe errors log:
[18/Sep/2002:12:37:45] failure (20134): Child process admin thread is shutting down
[18/Sep/2002:12:37:46] info (20140): Installing a new configuration
[18/Sep/2002:12:37:46] info (20140): [LS ls1] http://collaudo4.svil.tim.it, port 80
ready to accept requests
[18/Sep/2002:12:37:46] info (20140): A new configuration was successfully installed
[18/Sep/2002:12:37:47] info (20140): Loading IWSSessionManager by default.
[18/Sep/2002:12:37:47] info (20140): IWSSessionManager: Maximum number of sessions is
1000
[18/Sep/2002:12:37:47] info (20140): php4_init reports: Initialized PHP Module
[18/Sep/2002:12:37:48] info (20140): Successfully initialized web application
environment (web-apps.xml) for virtual server (https-collaudo4.svil.tim.it)
[18/Sep/2002:12:37:48] warning (20140): The server configuration may require more file
descriptors than the operating system provides. If you encounter
PR_PROC_DESC_TABLE_FULL_ERROR errors, you may wish to increase the operating system
hard file descriptor limit from 1024 to 5763 (see your operati.....
Any help would be great!
Thanks,
Adrian
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
su www.tim.it puoi iscriverti gratis alle TimNews, un modo rapido e tempestivo per
conoscere le ultime novitŕ di TIM.
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
--- End Message ---
--- Begin Message ---
I actually installed gd-1.8.4 with libpng 1.0.9-1 if
that helps.
--- David Herring <[EMAIL PROTECTED]> wrote: >
> Hi,
>
> I've had a nightmare getting gd to work with png
> support.
>
> Could you let me know which png library you used ?
> i.e
>
> ldd /usr/local/apache/libexec/libphp.so (assuming
> located there)
>
> And also, can you confirm you used gd-2.0.1 ?
>
> Thanks dave
>
> David Dawnay wrote:
>
> > It worked! Thanks for your help.
> >
> >
> >
> >
>
>
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--- End Message ---
--- Begin Message ---
Hello,
I am running Apache 2.0.40 and PHP 4.2.3 under RedHat Linux 7.3 (Apache and
PHP have been installed and compiled separately, they were not installed by
RedHat - nor any older versions of them either). PHP is compiled as a shared
module for Apache. It works fine, but...
I have configured Safe Mode in php.ini and set User and Group to "www" in
httpd.conf for Apache. Every time I try to run a PHP script (i.e. access a
PHP page from the web, something as trivial as one containing only <?php
echo "test"; ?> or similar) I get the following error:
Warning: SAFE MODE Restriction in effect. The script whose uid/gid is -1/-1
is not allowed to access /.../test.php owned by uid/gid 123/456 in Unknown
on line 0
Warning: Failed opening '/.../test.php' for inclusion
(include_path='.:/usr/local/lib/php') in Unknown on line 0
I have omitted paths and changed the latter uid/gid pair. But they are
representative. -1/-1 is what they PHP tries to run under, and the file
test.php is owned by a valid user/group. I have set User and Group in
httpd.conf to something other than -1 and ps shows Apache running
accordingly (as do tests with access rights and normal HTML files, no
problems there - Apache authenticates against www).
The problem is: Apache respects my settings of User and Group. PHP does not.
And since I'm runnig Safe Mode, PHP does not serve any files to anyone,
since any file it would serve should have -1/-1 as uid/gid. If I disable
Safe Mode, everything works fine.
The question is: Any suggestions as to how I could configure PHP to run as
"www" or some other user/group combination, instead of defaulting to -1/-1?
I have tried SuexecUserGroup but it doesn't seem to have any effect (nor
should it, I guess, I'm not running PHP as a CGI after all).
Any suggestions would be most welcome. Thank you very much!
Best Regards.
Janne Sirén
--- End Message ---
--- Begin Message ---
Hi,
I had a look at the support site and actually found something.
Since they do not really encourage upgrading I'll go on with the old
version.
If somebody is concerned:
http://cobalt-knowledge.sun.com/cgi-bin/kbase.cfg/php/enduser/std_adp.php?p_
sid=PmoDhEpg&p_lva=&p_refno=020221-000005&p_created=1014326168
--- End Message ---