Uppgradera till senaste CURL och öppna SSL i WHM

Problemet:
e-handel leverantörer som Paypal infördes mer strikt SSL-krav. Ex:
“kräver OpenSSL >= 1.0.1 installeras på din server”

PHP information visar:
CURL
SSL Version OpenSSL/1.0.0

Fixa:

  • Installera senaste CURL:

cd /usr/local/src
wget https://curl.Haxx.se/download/curl-7.52.1.tar.gz
tjära - xvzf curl-7.52.1.tar.gz
CD curl *

./Konfigurera –Aktivera-gängade-resolver –Aktivera-http –Aktivera-ftp –Aktivera-proxy –Aktivera-tftp –Aktivera-ntlm –Aktivera-static –med-ssl = / usr/lokal/ssl –Aktivera IPv6- –Aktivera-delade –med-libidn
göra && Se Installera

/usr/local/bin/curl –version

  • Konfigurera PHP för att använda det-skapa en ny fil /var/cpanel/easy/apache/rawopts/all_php5 med detta innehåll:
    –with-curl=/usr/local/src/curl-7.52.1
  • Återuppbygga Apache & PHP med EasyApache 3.

Resultatet:

PHP information bör nu Visa:
cURL Information 7.52.1
SSL Version OpenSSL/1.0.1e

Red5 1.0 RC2 kompatibilitet bakåt

Senaste red5 versioner ( Red5 revision > 4326 som 1.0 RC2 +) få ändringar gör red5 oförenligt med äldre program.
Changes are required for these applications to work.

Updated VideoWhisper rtmp applications can be downloaded for use or as sample to update other applications.

 

This is covered in Red5 google group:

With revision 4326 you will see problems when building or running your applications with Red5. Most of the problems you’ll run into

are with missing classes; in most cases you can just add thescopepackage to your imports or runOptimize importsin Eclipse. Below I have addressed a few items that you may run into.

 

 
1. IScope cannot be resolved to a type

Update red5 jar or source with latest

Correct location of IScope is org.red5.server.api.scope.IScope, previously it was org.red5.server.api.IScope

 
2. The import org.red5.server.api.IScope cannot be resolved

Update red5 jar or source with latest

Correct location of IScope is org.red5.server.api.scope.IScope, previously it was org.red5.server.api.IScope

 

 
3. WebScope cannot be found

Open your applications red5-web.xml and change theweb.scopebean class to

<bean id=web.scopeclass=org.red5.server.scope.WebScopeinit-method=register”>

instead of this

<bean id=web.scopeclass=org.red5.server.WebScopeinit-method=register”>

 

 
4. Method signature does not match xxxx.

For this one the fix is to change your expectation to receive an Iterator and instead make use of a Collection. The scope method

for retrieving scope names now returns a Set as shown here:

 

public Set<String> getScopeNames()

 

 
5. Parameter “typ” does not match String.

For scopes, their type is no longer identified by a string but instead uses an enum of ScopeType. The old method for getting basic

scope names was like so:

 

public Iterator<String> getBasicScopeNames(String type)

 

this is the new version:

 

public Set<String> getBasicScopeNames(ScopeType type)