[PHP] problem with starting apache in win2k with mcrypt and mhash

2002-09-05 Thread Terence Lee

Hello

i've uncommended the mcrypt and mhash line in c:\winnt\php.ini. then i
try to start the apache but encounter the following error msg

"The procedure entry point _ecalloc could not be located in the dynamic
link library php4ts.dll"

"Unable to load dynamic library 'c:\php\extensions\php_mcrypt.dll" - The
specified procedure could not be found."

"mhash: Unable to initialize module
Module compiled with module API=20010901, debug=0, thread-safety=1
PHP compiled with module API=20020429, debug=0, thread-safety=1
There options need to match"

i m sure that the "php_mcrypt.dll" is already in that location. i've
also tried to change the "extension_dir" in c:\winnt\php.ini to
c:\php
c:\php\extensions\
c:\winnt
c:\winnt\system32

and copied all the required dll to corresponding directories. same error
was encountered when i start the apache. can you advice how can i solve
it?

i've also installed the

terence


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




[PHP] problem on starting apache in win2k with mcrypt and mhash module

2002-09-05 Thread Terence Lee

Hello

(i've confirmed my email address but not sure if you will read my
previous mail, so i send it once more.)

i've uncommended the mcrypt and mhash line in c:\winnt\php.ini. then i
try to start the apache but encounter the following error msg

"The procedure entry point _ecalloc could not be located in the dynamic
link library php4ts.dll"

"Unable to load dynamic library 'c:\php\extensions\php_mcrypt.dll" - The

specified procedure could not be found."

"mhash: Unable to initialize module
Module compiled with module API=20010901, debug=0, thread-safety=1
PHP compiled with module API=20020429, debug=0, thread-safety=1
There options need to match"

i m sure that the "php_mcrypt.dll" is already in that location. i've
also tried to change the "extension_dir" in c:\winnt\php.ini to
c:\php
c:\php\extensions\
c:\winnt
c:\winnt\system32

and copied all the required dll to corresponding directories. same error

was encountered when i start the apache. can you advice how can i solve
it?

Terence


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




[PHP] largest value of 2nd parameter in fgets functions

2002-09-05 Thread Terence Lee

hello

i've tried to read a line from a text file by  fgets($fp,8192). it work
fine. however, there is a line over 8192 char and i tried to increase
the 2nd parameter (e.g. 8193, 16384, 88192) still only 8192 char are
read to my string variables.

is it a limit of fgets or length of a string? any way to achieve getting
more than 8192 char from a line in a text file?

pls advice.

terence



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




[PHP] Re: [PHP-DEV] problem in starting apache in win2k with mcrypt and mhash module

2002-09-05 Thread Terence Lee

hi Markus

thanks for your reply. what is the compatible version of mcrypt lib and php in
win32? also for linux?

terence

Markus Fischer wrote:

> You're mixing an older library with a newer php version (or
> the other way around). Please clean up your system first.
>
> Please ask on [EMAIL PROTECTED] next time.
> (Reply-To set).
>
> - Markus
>
> On Fri, Sep 06, 2002 at 09:56:59AM +0800, Terence Lee wrote :
> > Hello
> >
> > i've uncommended the mcrypt and mhash line in c:\winnt\php.ini. then i
> > try to start the apache but encounter the following error msg
> >
> > "The procedure entry point _ecalloc could not be located in the dynamic
> > link library php4ts.dll"
> >
> > "Unable to load dynamic library 'c:\php\extensions\php_mcrypt.dll" - The
> > specified procedure could not be found."
> >
> > "mhash: Unable to initialize module
> > Module compiled with module API=20010901, debug=0, thread-safety=1
> > PHP compiled with module API=20020429, debug=0, thread-safety=1
> > There options need to match"
> >
> > i m sure that the "php_mcrypt.dll" is already in that location. i've
> > also tried to change the "extension_dir" in c:\winnt\php.ini to
> > c:\php
> > c:\php\extensions\
> > c:\winnt
> > c:\winnt\system32
> >
> > and copied all the required dll to corresponding directories. same error
> > was encountered when i start the apache. can you advice how can i solve
> > it? i would like to use the mhash and mcrypt functions.
> >
> > Terence
> >
> >
> >
> >
> > --
> > PHP Development Mailing List <http://www.php.net/>
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
> "In short, the window belongs to me.
>  The document belongs to the web site designer."
> - Poster on opera.wishlist


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