MySQL Forums
Forum List  »  Newbie

Re: Migrating MySql from Debian to Windows
Posted by: Barry Galbraith
Date: July 12, 2014 05:50PM

>It looks like the hyperlinks are pointing to some third party websit

No. That's a directive for the browser to tell it how to decode the html page.

There's another possibility. The php pages that render your certificates could be using shortcut php tags. If your linux server has shortcut php tags enabled, and the windows machine doesn't, then you'll see the code and not the data when you run the page on your Windows machine.

Correct php tags are like this
<?php

// php code goes here

?>

Shortcut tags look like this
<? 
= php_code 

?>

There's two ways to fix this.
Update the php file to use full tags.
Or enable shortcut tags on the Windows machine.

Open the php.ini file It's probably in C:\Program Files\Php

Mine has this
; This directive determines whether or not PHP will recognize code between
; <? and ?> tags as PHP source which should be processed as such. It's been
; recommended for several years that you not use the short tag "short cut" and
; instead to use the full <?php and ?> tag combination. With the wide spread use
; of XML and use of these tags by other languages, the server can become easily
; confused and end up parsing the wrong code in the wrong context. But because
; this short cut has been a feature for such a long time, it's currently still
; supported for backwards compatibility, but we recommend you don't use them.
; Default Value: On
; Development Value: Off
; Production Value: Off
; http://php.net/short-open-tag
short_open_tag = Off

Enable shortcut tags by changing
short_open_tag = ON
save php.ini, and restart IIS.

Does you Windows machine show your certificates now?

Good luck,
Barry.

Options: ReplyQuote


Subject
Written By
Posted
Re: Migrating MySql from Debian to Windows
July 12, 2014 05:50PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.