[PHP-INST] Newbie prob: Getting 403.1 when using PHP under PWS in Win98

2002-01-16 Thread Robert Moulton
I installed PHP but all scripts get rejected with a 403 error stating that the directory doesn't allow executables. I double checked the permissions in PWS and everything looks good. This seems to be a recurring problem judging by a Google newsgroup search. What is the common solution to this p

[PHP-INST] Dynamically restrict accesses to virtual hosts' documentroots

2002-01-16 Thread Ole Tange
I have a lot of virtual hosts. They are made with rewrite-engine so they do not each have a section. I would like for PHP to restrict access from PHP to $DOCUMENT_ROOT. Also I would like to have / mean $DOCUMENT_ROOT. This means that if http://www.example.com/foo/bar.php opens a file called "/f

php-install Digest 17 Jan 2002 01:49:04 -0000 Issue 653

2002-01-16 Thread php-install-digest-help
php-install Digest 17 Jan 2002 01:49:04 - Issue 653 Topics (messages 5596 through 5605): Problem with Win32 php4apache.dll 5596 by: julian.stevens.onthebeach.co.uk perl process killed when executed from php 5597 by: judyl Re: using PHP as ROOT 5598 by: Robert Abbat

[PHP-INST] Apache 1.3.19 + php 4.1.1 + RH 7.1 - Invalid ELF Header

2002-01-16 Thread Steve Farmer
Hi all, I am trying to compile php 4.1.1 and apache 1.3.19 under Redhat 7.1 and i am getting the follwing error... error while loading shared libraries /usr/local/ssl/lib/libssl.so.1 : invalid ELF header. I have downloaded openssl 0.9.6c so all that is up to date. Any ideas what the problem

[PHP-INST] Re: Newbie help please :) "incule_path=''.. see inside

2002-01-16 Thread Yasuo Ohgaki
Pham Duy Phuc wrote: > I'am a newbie to PHP, just installed in my W2k no server edition, thing > shows up like below when i run the **.php sript from my > http://home/helloworld.php , have you got any ideal about the .ini file , > would you guys be so kind such as tell me how to fix this problem.

RE: [PHP-INST] RV: problems with snmp and php

2002-01-16 Thread Rasmus Lerdorf
Try adding -lkstat to the LIBS line in your Apache src/Configure file. Find the right platform in that file and add it there. On Wed, 16 Jan 2002, Giovanny Miguel Orozco Theran wrote: > Mr. -Rasmus > we try adding --with-kerberos to us configure line, and we build ucd-snmp > without kerberos sup

RE: [PHP-INST] RV: problems with snmp and php

2002-01-16 Thread Giovanny Miguel Orozco Theran
Mr. -Rasmus we try adding --with-kerberos to us configure line, and we build ucd-snmp without kerberos support but not run, follow the same error # ./apachectl start Syntax error on line 205 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.s

[PHP-INST] Newbie help please :) "incule_path=''.. see inside

2002-01-16 Thread Pham Duy Phuc
I'am a newbie to PHP, just installed in my W2k no server edition, thing shows up like below when i run the **.php sript from my http://home/helloworld.php , have you got any ideal about the .ini file , would you guys be so kind such as tell me how to fix this problem. Thanx in advance a PHP newbi

RE: [PHP-INST] Re: using PHP as ROOT

2002-01-16 Thread Jonathan Hilgeman
Hi Robert, First, giving ownership to files is not the same as making them run as that user. Ownership of a file is directly related to what permissions are needed to do things with the file, like reading from, writing to, and executing it. If you need to run PHP as root, you can use a utility ca

[PHP-INST] fix for problem with configure script libxml

2002-01-16 Thread Jon Wagoner
A machine I was installing on had both libxml and libxml2. In the configure script test, it has: if test -r $PHP_DOM/include/libxml/tree.h; then DOMXML_DIR=$PHP_DOM elif test -r $PHP_DOM/include/libxml2/libxml/tree.h; then DOMXML_DIR=$PHP_DOM DOMXML_DIR_ADD="/libxml2" Since it

[PHP-INST] Re: using PHP as ROOT

2002-01-16 Thread Robert Abbate
Hi. Many things. I am trying to create a web hosting control panel, so I'll need to be able to update Zone files, add email accounts, etc. All of which require the user to be "root" How can php do this? How do I get the scripts to be able to have root permissions? Robert <[EMAIL PROTECTED]> wrot

[PHP-INST] perl process killed when executed from php

2002-01-16 Thread judyl
problem: long running perl processes appear to be killed when initiated from php with exec command, even if perl process immediately forks to create (hopefully) a disconnected daemon. question: is there any install parameter for PHP or Apache or other work around that would still kill off comple

[PHP-INST] Problem with Win32 php4apache.dll

2002-01-16 Thread julian . stevens
I have been using a binary distribution of Apache 1.3.20 with PHP 4.1.1 on Windows NT for a little while now, but cannot get PHP to work as a load module. If I configure Apache to use PHP as a CGI executable it works fine, but I would like to use some of the features that only come with the mod

php-install Digest 16 Jan 2002 12:12:53 -0000 Issue 652

2002-01-16 Thread php-install-digest-help
php-install Digest 16 Jan 2002 12:12:53 - Issue 652 Topics (messages 5590 through 5595): PHP & Windows problems: "Warning: Undefined variables..." 5590 by: Robert Abbate 5591 by: Rasmus Lerdorf 5593 by: Christ Christoph (Erste) 5594 by: Phil Driscoll using P

[PHP-INST] Re: using PHP as ROOT

2002-01-16 Thread EdwardSPL
Robert Abbate wrote: > > Hi. I am trying to have PHP do things as a ROOT user. Like: make files, > change permissions of files etc... > > however, I cannot do it! Even if I give the php scripts root ownership, it > still says that apache is the owner of the files, and hence, I can't do > anythin

Re: [PHP-INST] PHP & Windows problems: "Warning: Undefined variables..."

2002-01-16 Thread Phil Driscoll
On Wednesday 16 January 2002 3:04 am, Robert Abbate wrote: > What's up with the Windows versions for PHP? They keep saying that all > variables must be defined instead of allowing them to be defined when > necessary. Is there a way to disable this warning in Windows setup? Like all versions of PH

RE: [PHP-INST] PHP & Windows problems: "Warning: Undefined variables..."

2002-01-16 Thread Christ Christoph (Erste)
dear robert, use php.ini-dist and not php.ini-recommended, then you have backwards compatiblity, but this disables some of the good and new features But if you want to use your current setup, add simply following code for each required but not defined variable: if (!isset($yourvariable)) {