Page 1 of 1

https vs http

PostPosted: 19. June 2015 08:29
by toreachdeepak
Hello,

When I start the Xampp 1.8.3, the apache is started at port 80 and 443.

How can I send the secured data from client to server in php ? Where I should put the certificate so that ssl works correctly. ?

extension=php_openssl.dll //I have enabled this in the C:\xampp\php\php.ini
LoadModule ssl_module modules/mod_ssl.so //I have enabled in c:/xampp/apache/conf/httpd.conf

Regards

Deepak Bhatia

Re: https vs http

PostPosted: 19. June 2015 13:44
by Nobbie
toreachdeepak wrote:How can I send the secured data from client to server in php ?


By using "https:" instead of "http:" in the URL.

toreachdeepak wrote:Where I should put the certificate so that ssl works correctly. ?


Whereever you want, you have to assign the path to the corresponding SSL Variables in a VirtualHost (see your other posting).