WordPress.org

Ready to get started?Download WordPress

Forums

Enabling SSl in PHP config (2 posts)

  1. ajoylaskar4u
    Member
    Posted 5 years ago #

    Trying to import my blog from blogger, I receive a message which reads ' Woops, you have forgotten to enable SSL while configuring PHP'. I do have SSL keys and certificates from my host, but PHP configuration is totally host dependant there leaving no scope for me to edit it. How and where can I enable SSL then ?

    Secondly, in example WordPress installation this instruction appears -
    ' If you want visitors to arrive at your blog when accessing http://www.mywebsite.com (without having to add /wp02/ on the end), you can easily do this.

    Put the following line of code (and nothing else) in your public_html/index.php:

    <?php header("Location:http://www.mywebsite.com/wp02/"); ?>

    and your visitors will be transparently directed to your blog in /wp02/.'
    Where in the public_html/index.php: should I put the code ? I have already tried putting it at the beginning, at the end and in the middle, but nothing works and worse even, some placing destroys my blog.
    Is there anybody around to help me in these two respects ?

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 5 years ago #

    PHP configuration is totally host dependant there leaving no scope for me to edit it. How and where can I enable SSL then ?

    You can't. Talk to your host, have them do it. If they won't, switch hosts.

    Note that you need to enable SSL in PHP, so that it can connect to other servers using the https method. You don't need to enable SSL for your domain, that's something different entirely.

    Alternatively, check if you're using PHP 4. If so, ask your host how to switch to PHP 5. Might work.

Topic Closed

This topic has been closed to new replies.

About this Topic