Good morning,

I'm reasonably new to the world of PHP and have loaded PHP V4.2.3 onto a Sun
Solaris system running Solaris 8 with Iplanet (formerly Netscape) Version
6.0 with Service Pack 4 installed.

I'm not sure exactly what "error" I am seeing, but I do know that there are
some rather obscure errors being encountered while I am installing a PHP
based package into our WebServer.  I've no idea what is causing the
problem - I can *SEE* the problem, but I have no clue what to do or where to
turn to fix/address the issue.

here is the scoop:

inside of an "install.php" script that is executed via the webserver, is a
section of code that looks like this:

$path="./this.that";

if(file_exists($path)==0 {
        $styetext="";
} else {
            $filesize=filesize($path);
            $filenum=fopen($path,"r");
            $styletext=fread($filenum,$filesize);
            fclose($filenum);
}
if ($styletext=="") {
    echo "<p> ensure that the this.that exists in teh current directory, and
then reload this current page. </p>;
    exit;
}

that's the code that is showing me that there is a problem.  No matter how I
set file protections or ownership, that file appears to never exist.  If,
however, I comment out this section of the code, the installation will run
on to completion.  That tells me that some of the calls like "if
(file_exists....)" aren't giving back valid results - or , they simply
aren't being executed as the install script expect (or it's a bug????).

Once I do force my way through the installation, I then find that other PHP
files deliver errors.  Scripts that work on other machines at other
installations in other sites, simply don't work here, but they should.

This seems to be something that perhaps is unique to Solaris???

Any hints/suggestions...logging tricks or ways to visually *see* what is
goign on in the system to tell me what is happening?

Thanks in advance for any/all help.

as in ....HELP!!!  :)

Howard
if you have valid help/hints...you can mail them directly to me at:
[EMAIL PROTECTED]




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

Reply via email to