Ana içeriğe atla

Kayıtlar

Haziran, 2014 tarihine ait yayınlar gösteriliyor

nginx kullanıcıları için faydalı bir döküman

Birden fazla bölgede sunucuları olan nginx kullanıcıları için; https://www.digitalocean.com/community/tutorials/how-to-use-nginx-as-a-global-traffic-director-on-debian-or-ubuntu To complete this guide, you will need a user with sudo privileges.  You also need to know how to create servers in different regions. Assumptions This article makes a few assumptions for ease of readability. Your domain is www.example.com Your primary server is in the US You want to install a GTD for Europe and Asia Your server IPs are as follows: US: 1.1.1.1 EU: 1.1.1.2 AS: 1.1.1.3 Subdomains and DNS configuration Choosing subdomains is all up to you. For this tutorial, let's use eu.example.com for Europe and as.example.com for Asia. For each of those subdomains, add an A record in your DNS configuration with the IP of the server for that region: eu.example.com - 1.1.1.2 as.example.com - 1.1.1.3 It should look something like this: Install Nginx and GeoIP To have Nginx with a GeoIP module, you have two opti

birazda opencart

 Opencart için ExcelPort - Product / Category / Customers Excel Export / Import http://www.opencart.com/index.php?route=extension/extension/info&extension_id=10197 eklentisini kullanıyorsanız, karşılaşacağınız en büyük sorun php ram kullanım sorunudur. Bu sorunu aşmak için php.ini dosyasını ayarlamanız yetmiyor. Çünkü php dosyaları içinde tanım yapılmış durumda.  Düzeltmek için;                        admin/controller/module/excelport.php                        admin/controller/tool/export.php dosyaları içinde memory_limit (        ini_set('memory_limit', '1024M'); ) değişkenini bularak artırmanız. Ben 7000M yaptım. İlave olarak script çalışma süresini artırmak gerekiyor. Malum script yarım saatten fazla sürede çalışmasını tamamlıyor. Artırmak için de                            admin/controller/module/excelport.php                            admin/controller/tool/export.php dosyaları içinde max_execution_time değişkenini bularak ayarlamanız gerekli. Ben süreyi bir

timeout

iyi tasarlanmamış php scripti kullanıyorsak ve timeout sorunu ile karşılaşıyorsak; scriptimizin başına; ini_set('max_execution_time', 3600); ini_set('memory_limit', '6000M'); ilave etmemiz çözüm fakat tam çözüm değil. Çünkü firefox'unda timeout değerini artırmamız gerekiyor. Aksi durumda scriptimiz web sunucusu üzerinde çalışmaya devam eder, fakat firefox timeout düşer.