Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Enabling OpenSSL with PHP include with AMPPS



Threaded Mode | Print  

 Enabling OpenSSL with PHP include with AMPPS (2 Replies, Read 12638 times)
kevinharbauer
Group: Member
Post Group: Newbie
Posts: 2
Status:
I'm currently using AMPPS on Mac OSX 10.9.  I'm trying to make a soap call to a HTTPS resource but getting an error when trying to access an https url.  I can access a HTTP url successfully.  The php included with AMPPS does not appear to come built with openSSL and there is no openSSL extension available through the PHP tab of the Control Center /Admin Panel.  I've tried editing the php.ini file to load the openssl extension but it appears there is a architecture compatibility issue.

Has anyone been able to successfully enable openSSL with AMPPS php?

Any suggestions on how to get openSSL working with AMPPS php?
IP: --   

Enabling OpenSSL with PHP include with AMPPS
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

Can you execute the following command and paste the output here:
Code
/Applications/AMPPS/php/bin/php -m



-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

Enabling OpenSSL with PHP include with AMPPS
kevinharbauer
Group: Member
Post Group: Newbie
Posts: 2
Status:
Maybe I was going down the wrong path...

/Applications/AMPPS/php/bin/php -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dba
dom
ereg
fileinfo
filter
ftp
gd
hash
iconv
imap
ionCube Loader
json
libxml
mbstring
mcrypt
mhash
mongo
mysql
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
Reflection
session
SimpleXML
soap
SPL
SQLite
standard
sysvsem
sysvshm
tokenizer
wddx
xdebug
xml
xmlreader
xmlwriter
zip
zlib

[Zend Modules]
Xdebug
the ionCube PHP Loader


It looks like may OpenSSL isn't the problem.  After some further exploring, I'm able to access the https url via curl without a problem so I know I can access https through my AMPP stack. 

When I try to create a new soapclient:

$client = new SoapClient('https://<service/service.asmx>?wsdl')


I've tried a couple different variations of the above and get the following error:

Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://<url>/ServiceProvider.asmx?wsdl' : failed to load external entity "https://<url>/ServiceProvider.asmx?wsdl" in /Applications/AMPPS/www/info.php:10 Stack trace: #0 /Applications/AMPPS/www/info.php(10): SoapClient->SoapClient('https://...') #1 {main} thrown in /Applications/AMPPS/www/info.php on line

Any help is greatly appreciated!


IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 24, 2024, 11:12 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.042