php-windows Digest 21 Dec 2003 19:39:44 -0000 Issue 2051

Topics (messages 22410 through 22412):

Re: Problem with Modules
        22410 by: Svensson, B.A.T. (HKG)
        22412 by: Cole Hubbard

random access
        22411 by: Ahmad Khashan

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 ---
Can you give a more detial error description? 

And what do you mean it runs fine? Fine excpet when
you try to execute a php script via the webserver?

IF you want to execute php scritps on IIS, there are
several steps that needs to be completed in order to
make it work.

-----Original Message-----
From: Cole Hubbard
To: [EMAIL PROTECTED]
Sent: 2003-12-21 06:12
Subject: [PHP-WIN] Problem with Modules

I just set up my webserver on an old Windows 2000 box that I have.

AMD Athlon 750Mhz, 512MB RAM, 4GB hard drive

Should be enough to test scripts and everything that I might need to do,

and so far it's working just great.  I'm running IIS on this server. 
Whichever version that comes with 2000, I think it's 4.0.  Maybe 5.

Perl installed great, and it runs great.  I manually installed the full 
binaries for PHP, went in just fine.  Except for when I try to load 
scripts.  The first time I run a script on the server it gives me about 
five errors saying it cannot find module files.  I've checked that these

files are in the location that the program is looking for them in, but 
PHP just isn't finding them.  I have no clue why.

Any help would be appreciated.

~Cole Hubbard

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

--- End Message ---
--- Begin Message --- Here's the error message:

Unknown(): Unable to load dynamic library 'C:\PHP\extensions\php_xxxx.dll' - The specified module could not be found.

Yet I know the module file is there. I just don't know why it's not loading them. This happens with different modules every time. After I cycle through the error messages the script executes properly and outputs to the browser.

This is outputted at the end of the page:

PHP Warning: Unknown(): Unable to load dynamic library 'C:\PHP\extensions\php_ifx.dll' - The specified module could not be found. in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library 'C:\PHP\extensions\php_oci8.dll' - The specified module could not be found. in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library 'C:\PHP\extensions\php_oracle.dll' - The specified module could not be found. in Unknown on line 0 Cannot find module (IP-MIB): At line 0 in (none) Cannot find module (IF-MIB): At line 0 in (none) Cannot find module (TCP-MIB): At line 0 in (none) Cannot find module (UDP-MIB): At line 0 in (none) Cannot find module (SNMPv2-MIB): At line 0 in (none) Cannot find module (SNMPv2-SMI): At line 0 in (none) Cannot find module (UCD-SNMP-MIB): At line 0 in (none) Cannot find module (UCD-DEMO-MIB): At line 0 in (none) Cannot find module (SNMP-TARGET-MIB): At line 0 in (none) Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none) Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none) Cannot find module (UCD-DLMOD-MIB): At line 0 in (none) Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none) Cannot find module (SNMP-MPD-MIB): At line 0 in (none) Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none) Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none) Cannot find module (SNMPv2-TM): At line 0 in (none) PHP Warning: Unknown(): Unable to load dynamic library 'C:\PHP\extensions\php_sybase_ct.dll' - The specified module could not be found. in Unknown on line 0

Not sure what the problem is, since the files exist and are in the right place. Besides this error, scripts run fine. It's just getting annoying.

B.A.T. Svensson wrote:
Can you give a more detial error description?

And what do you mean it runs fine? Fine excpet when
you try to execute a php script via the webserver?

IF you want to execute php scritps on IIS, there are
several steps that needs to be completed in order to
make it work.

-----Original Message-----
From: Cole Hubbard
To: [EMAIL PROTECTED]
Sent: 2003-12-21 06:12
Subject: [PHP-WIN] Problem with Modules

I just set up my webserver on an old Windows 2000 box that I have.

AMD Athlon 750Mhz, 512MB RAM, 4GB hard drive

Should be enough to test scripts and everything that I might need to do,

and so far it's working just great. I'm running IIS on this server. Whichever version that comes with 2000, I think it's 4.0. Maybe 5.

Perl installed great, and it runs great. I manually installed the full binaries for PHP, went in just fine. Except for when I try to load scripts. The first time I run a script on the server it gives me about five errors saying it cannot find module files. I've checked that these

files are in the location that the program is looking for them in, but PHP just isn't finding them. I have no clue why.

Any help would be appreciated.

~Cole Hubbard


--- End Message ---
--- Begin Message ---
Assuming a record length of 100 characters and i want to read approximately the last 5 
records, here is the code:
------code-----
<html>
<body>
<?php
$nchars = -500;
$handle = fopen ("access.log", "r");
if(!$handle){
 echo(" problem opening the users file for read...");
 exit();
}
echo("<h4>Last n records read in last 500 characters:</h4>");
echo("<hr>");
fseek($handle , $nchars, SEEK_END);              // 
$buf = fgets($handle, 100);    // will read till a newline inclusive. 
// ignore this record. I might be in the middle of it.
$icount = 0;
while (!feof ($handle)) {
  $buf = fgets($handle, 100);
    echo ("$buf <br />");   
    $icount ++;
  }
fclose ($handle);
echo(" <h4>Number of records in last 500 characters is: $icount</h4>");
?>
</body>
</html>
----end code----
good luck. Ahmad
 


---------------------------------
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing

--- End Message ---

Reply via email to