We are trying to use php5 with SSL/HTTPs and are having problems with the php file being found. We are using Adobe Authorware to call a php file that retrieves/writes to a MySQL database. ------------------------------------------------------- ISSUES 1. when the php file is executed by itself (i.e. https//domain/myphp.php) the php file works just fine. 2. when the Authorware file calls the php file, it acts as though the php file cannot be found and times out. A 5006 error is returned (usually meaning the URL is incorrect). 3. the exact same files work just fine under http (non-SSL) - so we know it is not that the call to the php is wrong or that the file doesn't exist or the URL is wrong. ---------------------------------------------------------------------------- QUESTIONs: 1. We assume there should not be a problem with php being called in an HTTPs environment - is this true? 2. Is there a setting or anything in the php.ini file that would need to be changed? If so, what is it? 3. We think that part of the problem may be that the certificate is intercepting the call to the php. Anything we can add to the php file to help this? ------------------------------------------------------- Thank you for any help someone can give us. Julia
Short answers: 1. Yes. 2. No. 3. No. On the server side, the fact that the server is serving on HTTPS is dealt on the web server (e.g.: Apache) level. PHP has nothing to do with it. I'm not familiar with Adobe Authorware, but if the page can be retrieved fine on a browser, then it is safe to assume the server configuration is correct and most probably the issue is that Adobe Authorware doesn't support HTTPS. To be able to support HTTPS, a client (browser, Adobe Authorware, etc) needs to be able to perform a handshake (where certificate acceptance takes place) and to decrypt data (remember that on HTTPS, all data is encrypted).