PDA

View Full Version : Installing 5.8.6r


dink-puller
11-04-2005, 12:06 AM
I'm running Windows Server 2003, running 5.8.5r as a service with no problems. When 5.8.6r was released, I thought I would update. I stopped the service, and simply overwrote the exe and php4ts.dll with the new versions and tried to restart the service. Now ioFTPD appeared to be running in my process and services lists but when I tried to connect, my client just hangs for some reason, io doesn't allow a login, and the connection just times out. Is there something else I need to do to update successfully?

:EDIT: grr...I think I know what the problem is, the new exe must be installed as a service because ioftpd can't run as a service when the exe belongs another user even if it's the administrator's

_panic_
11-04-2005, 12:14 AM
I'm running Windows Server 2003, running 5.8.5r as a service with no problems. When 5.8.6r was released, I thought I would update. I stopped the service, and simply overwrote the exe and php4ts.dll with the new versions and tried to restart the service. Now ioFTPD appeared to be running in my process and services lists but when I tried to connect, my client just hangs for some reason, io doesn't allow a login, and the connection just times out. Is there something else I need to do to update successfully?

:EDIT: grr...I think I know what the problem is, the new exe must be installed as a service because ioftpd can't run as a service when the exe belongs another user even if it's the administrator's

i'm also getting unconfirmed reports about possible problems with binary modules (like sharedb). are you running any of these?

though you description could well be what is going on.

dink-puller
11-04-2005, 01:17 AM
I don't know what sharedb is, but I don't think I am running it. Yes, I tried running ioftpd as CurrentUser just by dbl clicking it. It immediately exits saying something like:

Unknown(): (null) Unable to initialize module.
Module compiled with API 20041030
PHP Module compiled with API 20020429
These options need to match.

m4r3z
11-04-2005, 07:42 AM
have the same problem, when tryin to connect from the server itself, I get as far as :

[R] Connecting to Server -> IP=xx.xx.xx.xx PORT=xxx
[R] Connected to Server
[R] 220 FTP Server ready.
[R] AUTH SSL
[R] 234 AUTH SSL successful.
[R] Connected. Negotiating SSL session..
[R] SSL negotiation successful...
[R] SSL encrypted session using cipher RC4-MD5 (128 bits)
[R] PBSZ 0
[R] 200 PBSZ 0 successful.
[R] USER xxxx
[R] 331 Password required for xxxx.
[R] PASS (hidden)
[R] Connection failed (Connection lost)
[R] Delaying for 120 seconds before reconnect attempt #1

and when I try to connect from another machine, other location, I dont even get any contact with the server, at all !


tried that install new .exe in firedaemon, didnt work, running it with only dobbelclickin the .exe, it crashes when I try to connect to server..

server workin 100% stable as a mofo and all usually...

even tried with my test ftp on my gamecomp, io + iosfv + nxtools.... installed new version, same problem, cant login, only crashes :S

guess we needs to use old version for a while :S:S :(


m4r3z

tuff
11-04-2005, 03:58 PM
more than likely a user config error :P

zykes
11-04-2005, 04:09 PM
works like a damn charm here, running on 2 servers.

only thing is that !uptime command is broke :/

neoxed
11-04-2005, 05:07 PM
I don't know what sharedb is, but I don't think I am running it. Yes, I tried running ioftpd as CurrentUser just by dbl clicking it. It immediately exits saying something like:

Unknown(): (null) Unable to initialize module.
Module compiled with API 20041030
PHP Module compiled with API 20020429
These options need to match.See my post here:

http://www.inicom.net/forum/showthread.php?t=14010

dink-puller
11-04-2005, 10:06 PM
You're a goddamn genius that's what you are. That php.ini thingy did the trick.
thanks! :D but... does this mean io is not compatible with versions of php newer than 4.x, and that in order to use ftp functions in php I have to use the crappy IIS ftpd??

[R] site version
[R] 200-Running ioFTPD version 5-8-6r
[R] 200 Command successful.

neoxed
11-05-2005, 03:03 AM
does this mean io is not compatible with versions of php newer than 4.x, and that in order to use ftp functions in php I have to use the crappy IIS ftpd??
No, that PHP error has almost nothing to do with ioFTPD. When the PHP team makes an API change, they require all binary modules (extensions as they call them) to be recompiled against the latest PHP API. So you cannot mix modules for an older PHP version with a newer PHP version, and vice versa.

ioFTPD is built against PHP 5.x, so you must use PHP modules built for PHP 5.x.

PS: You can change the default PHP extension path in php.ini to prevent these collisions (extension_dir).

_panic_
11-05-2005, 05:36 PM
No, that PHP error has almost nothing to do with ioFTPD. When the PHP team makes an API change, they require all binary modules (extensions as they call them) to be recompiled against the latest PHP API. So you cannot mix modules for an older PHP version with a newer PHP version, and vice versa.

ioFTPD is built against PHP 5.x, so you must use PHP modules built for PHP 5.x.

PS: You can change the default PHP extension path in php.ini to prevent these collisions (extension_dir).

on a related note, the version of php shipped with 5.8.6 is still fairly old. i'm be updating to the latest php release as soon as i deal with the issues we're discovering with this release.

dink-puller
11-05-2005, 08:41 PM
Ok, that's starting to make more sense because I am using PHP 5.05. Hence the conflicts. Thanks, keep up the good work.

ChipMunk666
11-08-2005, 06:24 AM
I have the same problem using sharedb
It connects than it fails to operate.
I think i will use 5.8.5r for now :)
So hereby it's confirmed :)

peorth
11-13-2005, 09:59 PM
I am getting the same error as above. I have tried the empty php.ini in ioftpd\system, but that did not fix my problem. Now I have copied back my 5.8.5 exe and php4ts.dll and am still getting the same error. I am running php 5.0.5 for my personal website.

ChipMunk666
11-14-2005, 10:46 AM
i didn't use a script with php i just used it clean...

wrycat
11-28-2006, 02:01 PM
I installed php5 some days ago on my system. Now ioFTPD always trys to load the modules of that installation.
I have set the php location in the path variable.
I tried to place a php.ini in the ioFTP system folder and set the extension_dir value in it.
But this didn't help anything.
Can s.o. please point out a solution?

wrycat
12-15-2006, 09:45 PM
sorry for pushing up, but this problem makes me go nuts.

Is there a workaround to prevent ioFTPD from loading extensions from another php installation?

ThomasH
12-17-2006, 04:23 PM
See my post here:

http://www.inicom.net/forum/showthread.php?t=14010

Cant find that post, can you please tell us in this thread an easy solution...

I have recently upgraded to php 5.2.0 from PHP 4.2.0, but now I'm getting the same error as other have here.

I have tried the trick with an empty php.ini, and also tried replacing ioftpd.exe with the latest available on the open source pages.

Neoxed: you are hinting at a possible solutiion in another post, something about changing the default extension path to avoid these collisions - can you ellaborate on this?


Thanx in advance.

/Thomas

sm3vvz
01-07-2007, 01:03 PM
Same issues as above poster(s)
I'm using php version 5.2.0 in IIS6 and Windows server 2003.
Would be nice with a working version of ioFTPD. Impossible to load without php?


---------------------------
Warning
---------------------------
Unknown(): (null): Unable to initialize module
Module compiled with module API=20060613, debug=0, thread-safety=1
PHP compiled with module API=20020429, debug=0, thread-safety=1
These options need to match

---------------------------
OK
---------------------------