php-install Digest 4 Oct 2002 00:50:23 -0000 Issue 1052

Topics (messages 8652 through 8657):

Problems by running test.php
        8652 by: Ruprecht Helms

Further problems with ldap_connect
        8653 by: Stewart Dean

UNC document roots -- possible?
        8654 by: Rick Osborne

failed installing nusphere solution on a xp
        8655 by: David asi

Setting up PHP for the first time.
        8656 by: Admin

MAKE ERROR
        8657 by: John Coder

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,

I've some problems in running the php-Testfile. When I try
to open a phpscript-file the browser wants to download it to
my local disk.

The application/x-httpd-... I inserted in the mime.types
and the other in the httpd.conf. When I want to view a phpsite
in my browser the browser wants to download the file.

What can be wrong configured.

Regards,
Ruprecht

------------------------------------------------------------
Ruprecht Helms   IT-Service und Softwareentwicklung

Tel/Fax:      +49[0]7621 16 99 16
email:          [EMAIL PROTECTED]
Homepage:  http://www.rheyn.de


-------------------------------------------------------------
--- End Message ---
--- Begin Message ---
Gentlebeings:

I talked with the IBM SecureWay Directory support folks on this problem (Please see my 
"Problems 
with ldap_connect" post, which <ahem> no one has responded to yet), and in the initial 
poking around 
discovered that it doesn't seem that IBM doesn't supports ldap_connect calls, but 
rather ldap_open 
and ldap_init.  Before everyone starts crowing about IBM departures from Open 
Standards, take a look 
at the original LDAP RFC1823, which specifies ldap_open...and nothing else. I have 
been unable to 
find any subsequent RFC specifying anything for either ldap_init or ldap_connect.

Would someone of an architectural frame of mind explain WTF is going on.  Is Open 
Standards (which I 
had assumed IETF RFC based) not standardized?

-- 
====
Stewart Dean, Unix System Admin, Henderson Computer Resources
Center of Bard College, Annandale-on-Hudson, New York  12504
[EMAIL PROTECTED]  voice: 845-758-7475, fax: 845-758-7035


--- End Message ---
--- Begin Message ---
Heya, folks, I'm banging my head against a wall here, so any help would be 
great.  It's a bit long, but I'm hoping that this provides every last 
detail you might need to help me figure out what I'm doing wrong.

We have 3 servers at our office, in the following configuration:

     DEATHSTAR               TATOOINE                     HOTH
Win2K Web Server <---> Win2K File Server <-SMB-> RedHat 7.3 Web Server

On DEATHSTAR we're running ColdFusion MX, and I'm trying to get PHP 4.2.3 
up and running.  TATOOINE is a standard Win2K file server, with a share 
named DESIGN that has all of our web site content on it.  I can get to this 
share with Samba on HOTH (which is also running CFMX), where it is mounted 
as "/mojo/design".  The web servers are both mapped to the same share and 
directory (\\Tatooine\Design\intranet.mojointeractive.com\website) for 
their document root, for which the default page is a ColdFusion file 
(index.cfm):

     http://intra.mojointeractive.com/     [DEATHSTAR]
     http://hoth.mojointeractive.com/      [HOTH]

It've got an ultra-simple PHP test page in the root that simply shows its 
own source:

     http://hoth.mojointeractive.com/test.php

Obviously, this works fine on the Linux server which I guess means that my 
PHP install there worked.  However, as you can see when you try to access 
the same page from the Windows server, you get an error:

     http://intra.mojointeractive.com/test.php

     "Warning: Failed opening '\\Tatooine\Design
     \intranet.mojointeractive.com\website\test.php' for
     inclusion (include_path='.') in Unknown on line 0"

I saw this thread on MARC:

     http://marc.theaimsgroup.com/?l=php-windows&m=99793552726088&w=2

Which basically says that the solution is to run IIS as a domain user that 
has permissions on the remote machine.  Sounds right, since I basically 
have to do the same thing for the ColdFusion service to get it to work.  I 
used a domain user that I knew could access the share and set up all of the 
IIS services to logon as that user.  (It started throwing errors to just 
have the WWW service running as the user, and not the IIS Admin and FTP 
services, as well.)  Then I started getting a different error, this time 
not just for my PHP files, but also for my CF files:

     "A required privilege is not held by the client"

This page gave me an idea on how to fix it:

     http://support.softartisans.com/kb/viewfaqs.asp?product=SA-Admin

I needed to add the user to the list of users allowed to logon as a service 
and act as part of the operating system.  I was rather surprised that it 
let me start the services in the first place, but I gave it a shot.  Reboot 
to take effect, and reload the pages.  Still no go.  I note that this page 
tells me another step in the process:

     http://www.aspupload.com/manual_security.html

It says that I also have to set the IIS Application Protection option to 
LOW (which I had specifically set to HIGH because the install instructions 
told me to).  I tried that, and it got my CF pages working again, but I was 
back to the same "failed opening" error with PHP.

I've seen several solutions for getting UNC files to work with fopen(), but 
I can't seem to find any solutions for getting PHP to work with UNC 
document roots.  Can anyone help me on this?  Or at least give me a pointer?

Thanks,
-R


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

I become better and better in php programming.
I was working with phpcoder + php 4.06, that i unstall temporary.
I m looking for a powerfull editor, I found phped in screenshots of the dbg
site.
I cant work seriously without a debugger.
I download the eval version of phped.

I install the techpack + phped3 eval.
I can only debug in local cgi mode, no http debug seems to work.
I notice a strange thing in the php dir (only) when runnig php.exe on the
command line it displays "failed loading php_dbg.dll", but every thing seems
to be ok !
I make a copy of php_db.dll in ../extensions, apache make a core dump.
I tried with the dbg dll that coder has, ... I get the same things: fail ...
+dbg 2.04 incompatrible with zend...
k

I dont understand :(
I install everything by default.
I notice that when giving a *.php script url that deoesnt exists, the
listener casts the editor and I can see somes php globals vars, like
phpcoder when it was working.
But nothings happen when a well and existing php script is called via the
browser ?!, except if it has parse errors so the listner give hand to the
editor.

Have I to make some errors to take profit of the debugger ?

I dont know if some could answer me here, case zend is proach of php, and
zend is a concurent of nushpere for its editor, is the still a community ?

Thanks for your echo.







--- End Message ---
--- Begin Message ---
I am trying to create a message board. I setup a windows 2000 server and
installed IIS. In order to setup this messageboard i need to have PHP
installed. I downloaded the PHP installer and tried to run it but i get a
error message stating that there was a missing OCX component and it cant
configure the webserver. Does any know where i can get step by step
instructions in setting this up. The instructions that come from php.net are
too confusing.


THanks

Dan


--- End Message ---
--- Begin Message ---
I'm installing gd2.0.2 on a linux suse 8.0 distro and while I've had
success doing it on my home computer I've ran into a make error when I
do it at work. here is the output of make:
In file included from gd.c:36:
php_gd.h:69 warning: static declaration for `gdImageColorResolve'
follows non-static
gd.c:92: conflicting types for `gdIOCtx'
/usr/local/gd/gd_io.h:18 previous declaration of `gdIOCtx'
make[3]: ***[gd.lo] Error 1

aghh the only difference between them is the architecture of the machine
home is an Duron and at work a Pentium 2. but mine installed great at
home and now this.
I changed the static declaration and got reid of the first but am lost
on the second error. 

Any ideas? 

Btw GD compiled with no probs except warnings about bison not being
present. should I make libgd.a again?


John Coder



--- End Message ---

Reply via email to