Acaba Zend eklentisini sadece Apache için (/etc/php4/apache2/php.ini)
yükleyip de
Php4-cli için (/etc/php4/cli/php.ini) yüklememiş olabilir misiniz?
Özgür Çaycı
Özkan ŞENOVA wrote:
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 ?
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]