[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Zend Optimizer



Cron işleri için illa ki PHP-CLI gerekmeyebilir. Şu tarz bir cron düşünebilirsiniz.

lynx http://localhost/invoice_cron.php

veya

wget http://localhost/invoice_cron.php

kendim kullanmadığım için tam bilmiyorum ama bu şekilde yaparsanız Apache üzerinden çalıştırmış olursunuz.. Eğer herkesin bu php'leri çalıştırması istemiyorsanız o zaman farklı klasörlere koyabilirsiniz.


----- Original Message ----- From: "Özkan ŞENOVA" <ozkan.senova@efes.net>
To: <debian-user-turkish@lists.debian.org>
Sent: Tuesday, February 28, 2006 4:58 PM
Subject: Zend Optimizer


Merhaba,

Online hosting paketi alış satışı ile ilgili PHP dilinde yazılmış bir sistem kullanıyorum. Bu sistem lisans gerektirdiği için kodları zend encoder ile şifrelemişler. Bu dosyaların sistemde çalışması için gerkeli yazılımı (zend optimizer) zend.com'dan indirip kurulumu yaptım. Apache üzerinde sistemi rahatlıkla kullanabiliyorum. Fakat fatura oluşturma, mail ile bildirim gibi fonksiyonları otomatik olarak kullanabilmem için crontab'a bir kaç cronjob eklemem gerekiyor. PHP scriptleri konsolda çalıştırmalıyım. Bunun için php4-cli paketini de yükledim. Cron'da çalıştırmam gereken php scriptler de encode edilmiş. Konsolda:

/usr/bin/php4 -q -f /var/www/tools/invoice_cron.php komutuyla scripti çalıştırmak istediğimde şu çıktıyı alıyorum:


pr0digy:/var/www# /usr/bin/php4 -q -f /var/www/tools/master_cron.php
<html><body>
<a href="http://www.zend.com/store/products/zend-safeguard-suite.php";><img border="0" src="http://www.zend.com/images/store/safeguard_icon_nover_64.jpg"; align="right"></a> <center><h1>Zend Optimizer not installed</h1></center><p>This file was encoded by the <a href="http://www.zend.com/store/products/zend-encoder.php";>Zend Encoder</a> / <a href="http://www.zend.com/store/products/zend-safeguard-suite.php";>Zend SafeGuard Suite</a></p> <p>In order to run it, please install the freely available <a href="http://www.zend.com/store/products/zend-optimizer.php";>Zend Optimizer</a>, version 2.1.0 or later.</p>
<h2>What is the Zend Optimizer?</h2>
<p>The Zend Optimizer is one of the most popular PHP plugins for performance-improvement, and has been freely available since the early days of PHP 4. It improves performance by taking PHP's intermediate code through multiple Optimization Passes, which replace inefficient code patterns with efficient code blocks. The replacement code blocks perform exactly the same operations as the original code, only faster.</p> <p>In addition to performance-improvement, the Zend Optimizer also enables PHP to transparently load files encoded by the Zend Encoder or Zend SafeGuard Suite.</p> <p>The Zend Optimizer is a freely-available product from <a href="http://www.zend.com";>Zend Technologies</a>. Zend Technologies is the company that develops the scripting engine of PHP, also known as the <a href="http://www.zend.com/store/products/zend-engine.php";>Zend Engine</a>.</p></body></html>
pr0digy:/var/www#

Zend encoder'ın yüklü olmadıgını idda ediyor ama apache üzerinden rahatlıkla çalıştırabiliyorum bu kodları. Ve yüklü olduğundan eminim.

Bu sorunu nasıl çözebilirim ?

--
Saygilarimla,

Özkan SENOVA
Sistem Yöneticisi
Efes Net

Adres : Ataturk Cad. No:184 Dai:2 35210 Alsancak / IZMIR Telefon : 0 232 463 88 05 Ext : 138

Spam ve virus filtreleme hizmetimizden yararlanmak ya da daha detayli bilgi almak için hemen info@efes.net.tr adresine bir e-mail atabilir ya da 0 232 463 8805 Ext: 119-128 no'lu telefonlarimizdan bizlere ulasabilirsiniz.

***************Internet E-mail Confidentiality Footer***************
Ltf. okuyun (Pls. see): http://www.efes.net.tr/efesnet/iecf.html


--
To UNSUBSCRIBE, email to debian-user-turkish-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org




Reply to: