Posts mit dem Label Refer werden angezeigt. Alle Posts anzeigen
Posts mit dem Label Refer werden angezeigt. Alle Posts anzeigen

Samstag, 27. Februar 2016

How to Configure SSL in PHPIn Feburary 2016 27,

In Feburary 2016 27,
Download OpenSSL from the OpenSSL website and install it. The instructions for installing it can be found there. The installation procedure will vary according to your operating system. Once you install OpenSSL, make a note of which folder, or 'directory,' it was installed in.
Download the most recent version of PHP from the PHP website. Refer to that website for the PHP installation procedure.
Create your 'SSL support configuration directive.' At the configuration step of the PHP installation process, you need to add a directive, a piece of text instructing the computer to do something, to the configuration command. This directive looks like '--with-open-ssl=' followed by the name of the folder where OpenSSL was installed. For example, if OpenSSL was installed in the '/usr/local/ssl' folder, then your SSL support configuration directive will be '--with-open-ssl=/usr/local/ssl'.
Add your SSL support configuration directive to the end of the whole configuration command and run the command as directed in the PHP installation instructions. Then finish the PHP installation according to the instructions for your operating system.
Make sure that SSL support was properly installed by creating and running a PHP script with the following contents:
When you run the script, it will output a lot of boxes full of configuration information. Look for a box with header, 'OpenSSL.' If you see it there, then your PHP installation now has SSL support enabled.
In Feburary 2016 27,