Mike1
10-09-2000, 02:13 PM
I was told that if i used PHP on my raq3 that it would use less cpu than what cgi does is that true. I use cgi for random banners can you use php on a raq3?
Thanxs
Thanxs
![]() | View Full Version : what is PHP? Mike1 10-09-2000, 02:13 PM I was told that if i used PHP on my raq3 that it would use less cpu than what cgi does is that true. I use cgi for random banners can you use php on a raq3? Thanxs inwks 10-09-2000, 02:36 PM Don't see why not, have seen hosts advertising it.Check http://php.apache.com for more info alchiba 10-09-2000, 02:44 PM When configured and installed correctly, PHP is much faster than CGI/Perl. That's because the PHP interpreter is compiled into Apache and in essence becomes part of the Web server software and therefore quite robust. CGI interpreters are standalone executable programs that are launched as separate, independent modules and as such are slower to load and run. PHP should run fine on a RAQ. A great PHP/MySQL based banner rotation script is phpAds. I have used this on several sites and it is just awesome. It's also free. Get it at http://www.phpwizard.net/projects/phpAds Mike1 10-09-2000, 03:30 PM okay thanks i wasnt sure if PHP would work on a raq3 or not what version does the raq have? that banner rotation looks great but raq3 dont come with MySQL do they? I think the new ones do guess i should read more :) Chicken 10-09-2000, 03:44 PM I believe the new ones come with both, but you'll have to install it if it isn't a RaQ4. I chickened out and had someone install it, so I couldn't tell you exactly, but I don't think it is that difficult. I've since run across docs explaining it better than cobalt does (no shock there). alchiba 10-09-2000, 03:49 PM Check with your host. Most hosts offering PHP will also offer MySQL. They sort of go hand-in-hand. Félix C.Courtemanche 10-09-2000, 04:40 PM @ ftp.cobaltnet.com/pub/experimental/raq3 there are .rpm to install PHP3 and mysql. Now, it is not the latest or the fastest version of php, but it will work fine for most needs... and definately use a lot less CPU and RAM than mod_perl or any other exernal CGI executer. If you or your host need help to set it up... I did it several times on many RAQ3 (I installed PHP4 though, there are no rpm for it) and I had no problems. Overall, a RAQ3 is much more compaible than the RAQ2 Cobalt released before. ODE 10-09-2000, 04:44 PM Do any of you know how I can tell if gd 1.3 library was compiled to make use of jpeg-6b. I'm trying to find out if I can support the ImageCreateFromJPEG function. I have gd Version 1.3 with FreeType support. And Apache/1.3.9 (Unix) FrontPage/4.0.4.3 Rewrit/1.1a ApacheJServ/1.0b5 PHP/3.0.12* server software. alchiba 10-09-2000, 08:02 PM Originally posted by ODE Do any of you know how I can tell if gd 1.3 library was compiled to make use of jpeg-6b I think you need at least version 1.8 for that. See http://www.boutell.com/gd/ |