Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PHP compiled with ftp ssl functions

Featured Replies

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.

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)

  • Author

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?

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)

  • Author

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.

  • Author

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?

  • 3 weeks later...
  • Author

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?

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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.