Re: [PHP] Zend Performance Suite 3.6 and PHP5

2005-01-25 Thread Matthew Runo
I'm almost certain that PHP 5 was supported starting with Zend 
Performance Suite 4.0. You can log into your company's Zend account to 
download the software that you have access to.

--Matthew Runo
Founder, Quabbo Internet Services
PHP Hosting Solutions, featuring the Zend Performance Suite
http://www.quabbo.com
On Jan 23, 2005, at 6:23 PM, Lars B. Jensen wrote:
I've taken over the system administration of our servers, and have 
been migrating from PHP4 on Redhat, to PHP5 on a FreeBSD system setup.

Few questions,
Is this version of the ZPS compatible with PHP5, I mean, the software 
was bought back in dec. 2003 and never updated since. (the new Zend 
Platform is outrageously priced, and I'll never get that through on 
the IT budget here)

Does anybody know where to download the source for this, the old (and 
ofcourse not working here anymore) admin didnt keep the source, so all 
I got is the name and serial. (and Zend supporters seem to be on 
vacation)

With the Zend Platform out of the way, should I look more toward eg. 
the APC ?

--
Lars B. Jensen, Internet Architect
CareerCross Japan
Japan's premier online career resource for english speaking 
professionals

http://www.careercross.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] forum suggestions

2004-08-14 Thread Matthew Runo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'd suggest Phorum..

http://www.phorum.org

It works great for us. You can see an example here:

http://resnet.ucsc.edu/phorum/

Matthew Runo
http://www.quabbo.com
Quabbo Internet Services
The only host with the Zend Performance Suite!

On Aug 14, 2004, at 6:24 PM, Robby Russell wrote:

 I have an existing web application with a fairly large user base, so it
 has it's own user authentication already. I am looking for a message
 board/forum that I can tie into the system and not need to do too much
 hacking to get it to authenticate against my existing system. Something
 with threaded comments and such, nothing super complicated like phpbb,
 but with some of the functionality.

 Any suggestions?

 Thanks,

 -Robby

 -- 
 /***
 * Robby Russell | Owner.Developer.Geek
 * PLANET ARGON  | www.planetargon.com
 * Portland, OR  | [EMAIL PROTECTED]
 * 503.351.4730  | blog.planetargon.com
 * PHP/PostgreSQL Hosting  Development
 /


-BEGIN PGP SIGNATURE-
Version: PGP 8.1

iQA/AwUBQR7QB0Yfzzr/2QfwEQImlACggsu4mgAnr7vx5hpP0N8bw+epx/gAn0Qk
6ht+NHLqSrqJ8CYU4teApILu
=O0fF
-END PGP SIGNATURE-

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Kerberos authentication

2004-08-12 Thread Matthew Runo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello-

I am working on a project that requires Kerberos authentication, 
however - we are unable to use the apache module that one would 
normally use [sys admin.. *grumble*].

I searched the archives to find a script that would authenticate a user 
against a Kerberos server, and found very little. Does anyone have any 
ideas? I'd bow down and be very, very, excited if someone did...


Matthew Runo
http://www.quabbo.com
Quabbo Internet Services
The only host with the Zend Performance Suite!

-BEGIN PGP SIGNATURE-
Version: PGP 8.1

iQA/AwUBQRxAc0Yfzzr/2QfwEQKtqwCg/ACfKp47RYttipmk5Ml5vFscHp8AoNg1
Hsto+UlR9bK0tbrP+X1+M9Ga
=B5p0
-END PGP SIGNATURE-

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP performance

2004-08-10 Thread Matthew Runo
This is a great tip. Thanks! I've added it to my folder of tips to 
speed up PHP.

Matthew Runo
http://www.quabbo.com
Quabbo Internet Services
The only host with the Zend Performance Suite!
On Aug 10, 2004, at 3:07 PM, Curt Zirzow wrote:
* Thus wrote Ed Lazor:
Any recommendations on how to make PHP run faster?
To help figure out which queries are running slow there is the
php.ini setting:
  mysql.trace_mode=On
Using this will have the php library analyze your queries and if
any of them do table scans php will issue a warning about it, which
can be very helpful finding out where you need indexes.

I have a script pulling a lot of data from MySQL and generating 
reports and
spitting out data (flush) as it's processing so I can see what's 
going on.
It was taking around 10 seconds to process each order.  I reduced the 
total
number of orders being processed.  I expected the script to take less 
time
because there were fewer orders to process, but I was surprised to 
discover
that time spent processing each order also reduced almost in half.  I
figured PHP's memory limit per script at 8mb might be the bottleneck, 
so I
upped it to 128, restarted apache, and reran the script.  Increasing
available memory had no effect.

Its hard to say blindly where the bottle-neck is though.
Curt
--
First, let me assure you that this is not one of those shady pyramid 
schemes
you've been hearing about.  No, sir.  Our model is the trapezoid!

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] PHP performance

2004-08-10 Thread Matthew Runo
Well, across the sites that are on our server at the moment we are 
seeing an average increase in PHP execution speed of 244% (I just ran a 
test). According to Zend if everyone of our clients were to use partial 
page caching and the like, we'd be seeing closer to a 1000% (10x) 
speedup.

Quabbo.com is currently being redesigned to offer more information on 
partial page caching and the other improvements that ZPS allows such as 
it's new php download server plugin. I'd also like to get it designed 
with CSS rather than tables.

It's not hard to add in partial page caching code to a PHP driven site, 
but people just don't want to do it when they can get a decent boost 
from just being under the Zend Performance Suite's umbrella effects.

Matthew Runo
http://www.quabbo.com
Quabbo Internet Services
The only host with the Zend Performance Suite!
On Aug 10, 2004, at 3:47 PM, Ed Lazor wrote:
Your tag line caught my attention - have any specs on performance 
boosts
provided by Zend?

The only host with the Zend Performance Suite!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] locate PID Kill

2004-08-09 Thread Matthew Runo
You could do something like this..
$cmd = kill -r HUP /var/run/abc.pl.pid;
exec($cmd);
That should kill it and then restart it. You'll need to change 
/var/run/abc.pl.pid to fit into your system, but the idea of that line 
is to allow the script to get the proper PID, even if it's not what you 
expect.

I'm not sure if you'd be able to restart it with a given PID.
Matthew Runo
http://www.quabbo.com
Quabbo Internet Services
The only host with the Zend Performance Suite!
On Aug 8, 2004, at 11:25 PM, Curlys wrote:
pe -ef
* 19282 pts/300:00:00 abc.pl
my perl script is abc.pl.  It's PID is 19282
Can somebody help me to do the php scripting to
1.Locate  that PID
2.kill the script
3.start that script with the same PID .
plz help , i'm highly appreciate ur help
thank u
curlys
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] ImageColorTransparent Problem

2004-08-08 Thread Matthew Runo
Have you tried it in other browsers? IE 6 / windows PNG support leaves 
much to be desired, even more so when we want them to be transparent.

Try it in Firefox, or some other similar browser. Same results?
Matthew Runo
http://www.quabbo.com
Quabbo Internet Services
The only host with the Zend Performance Suite!
On Aug 8, 2004, at 9:32 PM, Kevin wrote:
Hi,
I am having PHP Version 4.3.4 with GD 2.0.15 compatible and PNG support
enabled.
My problem with the following code is that the image produced be this 
code
is not transparent. It has a black background. I have viewed it in IE 
6 and
its not transparent.

Can someone help me how to make this image transparent?
?php
// imagecolorallocate ( resource image, int red, int green, int blue)
// imagettftext ( resource image, float size, float angle, int x, int 
y, int
color, string fontfile, string text)
// imagepng ( resource image [, string filename])
// imagecreatetruecolor ( int x_size, int y_size)
// imagecolortransparent ( resource image [, int color])

header(Content-type: image/png);
$im = imagecreatetruecolor(400,600); // i have used 
imagecreatetruecolor in
place of imagecreate()
$bg = imagecolorallocate($im, 0, 0, 0);
imagecolortransparent($im, $bg); // this function makes the color
transparent specified in $bg.

$j=0;
$k = 0;
$r = 1;
$g = 100;
$b = 20;
for($i=1;$i=50;$i++)
{
 if($r  255)
  $r = 1;
 if($g  255)
  $g = 100;
 if($b  255)
  $b = 20;
 $textcolor = imagecolorallocate($im, $r, $g, $b);
 $r = $r * 3;
 $g = $g + 10;
 $b = $b + 20;
 imagettftext($im, 10, 0, 0, $j, $textcolor, fonts/2.ttf, Row 
number
: $i | Color =  . $textcolor);
 $j=$j+12;
}
imagepng($im,kk.png);
?

Thanks a lot for reading this far.
--
Kevin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php