From owner-freebsd-questions Sat Jun 8 5:56: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from infinity.aesredfish.net (ns1.aesredfish.net [65.168.0.12]) by hub.freebsd.org (Postfix) with ESMTP id 70B6D37B400 for ; Sat, 8 Jun 2002 05:56:01 -0700 (PDT) Received: from potentialtech.com (mhope-dhcp-65-168-1-181.dashfast.com [65.168.1.181]) by infinity.aesredfish.net (8.11.6/8.11.0) with ESMTP id g58CtjU20952; Sat, 8 Jun 2002 08:55:47 -0400 Message-ID: <3D020034.4070605@potentialtech.com> Date: Sat, 08 Jun 2002 09:01:40 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc1) Gecko/20020502 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Syndicate Cc: freebsd-questions@FreeBSD.ORG Subject: Re: FreeBSD Apache error ?! References: <000801c20ed0$ee22f510$017ba8c0@XTREME> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Syndicate wrote: > *I'm running an FreeBSD Apache Server with PHP Support but when I use a > login php script* > *it just doesnt work on the FreeBSD machine. I tried to upload it to > 4different machines but* > *still same result . When I upload it to a LinuxBox it does work ... How > come ???* > *I'm running *Apache/1.3.24 (Unix) PHP/4.2.0 *and I also ran the latest > version of PHP * > *but changed because i tought that was the problem .. Same problem :-(* > *U can find the source code here : http://users.pandora.be/wout/php.txt > and the * > *file running on a LinuxBox here : http://virtual.rootbash.be/test.php . > I got it on a FreeBSD box : http://xirius.ath.cx:8080/syndicate/login.php . > All the same files with login/pass : admin/abc123 .* Compare the php.ini files from the Linux/FreeBSD machines. There are a number of settings that will affect how $PHP_AUTH_USER is set (or not set) Read the section on globals and the php.ini file at the php web site. -- Bill Moran Potential Technology http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message