Jump to content
The Uniform Server Community
Sign in to follow this  
samkash

PHP compiled with ftp ssl functions

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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 help

https://wiki.php.net/internals/windows/stepbystepbuild

 

B)

Share this post


Link to post
Share on other sites

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 help

https://wiki.php.net/internals/windows/stepbystepbuild

 

B)

 

 

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?

Share this post


Link to post
Share on other sites

There is nothing special you need to do other than to ensure you have enabled this line

extension=php_openssl.dll

in the three configuration files:

php.ini

php.ini_development_orion

php.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.

B)

Share this post


Link to post
Share on other sites

There is nothing special you need to do other than to ensure you have enabled this line

extension=php_openssl.dll

in the three configuration files:

php.ini

php.ini_development_orion

php.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.

B)

 

 

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.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...