samkash Posted June 21, 2011 Report Share Posted June 21, 2011 I have been trying to use the uniform server to host a sort of ftp client. I have seen on the php site that to use php with its ftp_connect ssl functions on Windows, you have to compile php yourself. I assume this means that Linux builds don't? So, my question is: Is the version of php bundled with Uniserver already compiled to use the ftp_connect ssl functions? I think it involves use of openssl and ftp. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
Coral Posted June 21, 2011 Report Share Posted June 21, 2011 The ftp_ssl_connect function is not compiled into Uniform Server.To use this function you do need to statically compile against openssl. “I assume this means that Linux builds don't?”I think users do recompile when this function is required. If you want to compile on Windows this link may be of helphttps://wiki.php.net/internals/windows/stepbystepbuild Quote Link to comment Share on other sites More sharing options...
samkash Posted June 21, 2011 Author Report Share Posted June 21, 2011 The ftp_ssl_connect function is not compiled into Uniform Server.To use this function you do need to statically compile against openssl. “I assume this means that Linux builds don't?”I think users do recompile when this function is required. If you want to compile on Windows this link may be of helphttps://wiki.php.net/internals/windows/stepbystepbuild Thanks for the reply! Exactly what I wanted to hear (Minus that it isn't already compiled). One other thing, so after I have gone through this to compile my own build, is it as easy as replacing the current php folder with the compiled one? Or are there a few other files I need to dive into and edit a little? Quote Link to comment Share on other sites More sharing options...
Coral Posted June 22, 2011 Report Share Posted June 22, 2011 There is nothing special you need to do other than to ensure you have enabled this lineextension=php_openssl.dllin the three configuration files:php.iniphp.ini_development_orionphp.ini_production_orion Have you considered publishing your binaries for other users to use? Note: You will have to recompile when 5.3.7 is released. Quote Link to comment Share on other sites More sharing options...
samkash Posted June 22, 2011 Author Report Share Posted June 22, 2011 There is nothing special you need to do other than to ensure you have enabled this lineextension=php_openssl.dllin the three configuration files:php.iniphp.ini_development_orionphp.ini_production_orion Have you considered publishing your binaries for other users to use? Note: You will have to recompile when 5.3.7 is released. I am really just starting to get into all of this php, apache stuff. I barely know where to start, but one step at a time. Basically I am trying to update net2ftp, since it seems like it hasn't had any support in several years. I know there are several alternatives to net2ftp, but I was looking for an open source option that I could fully customize and control, and ensure it was encrypted. I needed an option so that anyone with any browser could use my ftp* without having to install anything. This seemed to be the best option I could find. edit: *use my ftp with ssl for both uploading and downloading. I realize explorer and any browser can do ftp, but I'm looking for ftps with uploading etc. Quote Link to comment Share on other sites More sharing options...
samkash Posted June 23, 2011 Author Report Share Posted June 23, 2011 I have been trying to use the uniform server to host a sort of ftp client. I have seen on the php site that to use php with its ftp_connect ssl functions on Windows, you have to compile php yourself. I assume this means that Linux builds don't? So, my question is: Is the version of php bundled with Uniserver already compiled to use the ftp_connect ssl functions? I think it involves use of openssl and ftp. Thanks in advance. I have been having no luck at all compiling in Windows. It is an utter mess. Filepaths, different explanations all over the web... So, after many failures, and then almost success, I realized that when I did php -m toward the compiled version of php I was able to build, I had nearly zero php modules. But then I thought I could try it against the PHP built into Uniserver, and noticed that it lists both ftp and openssl. I was under the impression taht ftp_connect ssl was just a part of ftp, so, does this mean that if is part of Uniserver? Quote Link to comment Share on other sites More sharing options...
samkash Posted July 11, 2011 Author Report Share Posted July 11, 2011 I have been having no luck at all compiling in Windows. It is an utter mess. Filepaths, different explanations all over the web... So, after many failures, and then almost success, I realized that when I did php -m toward the compiled version of php I was able to build, I had nearly zero php modules. But then I thought I could try it against the PHP built into Uniserver, and noticed that it lists both ftp and openssl. I was under the impression taht ftp_connect ssl was just a part of ftp, so, does this mean that if is part of Uniserver? Can anyone comment on this further? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.