aşagıdaki kod ile apache de çalışan xml işlemlerim var. apache de çalışıyor ama nginx de çalışmıyor.
uzak sunucdaki xml dosyasını indirip localde çalıştırdıgımda çalışıyor.
nginx de hangi ayarı yapmam gerekiyor çalışması için?
<?php
if(@simplexml_load_file('uzaksite.com/xmldosyasi.xml')){
$open = simplexml_load_file('uzaksite.com/xmldosyasi.xml'');
echo "acıldi işlemler";
}
}else{
echo "acılmadı.";
}
?>
simplexml_load_file apache de çalışıyor nginx de çalışmıyor
4
●124
- 06-05-2023, 15:35:51dediğiniz gibi ssl hatası gözüküyor.
ssh dan google a curl atıyorum.
curl https://www.tcmb.gov.tr/kurlar/today.xml
curl: (35) error:0A000152:SSL routines::unsafe legacy renegotiation disabled
curl google.com
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>301 Moved</TITLE></HEAD><BODY>
<H1>301 Moved</H1>
The document has moved
<A HREF="http://www.google.com/">here</A>.
</BODY></HTML>