473,395 Members | 1,679 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

PHP on PowerPC

I am trying to use PHP on a 300 MHz PowerPC based board. On some
pages, I am using $_SERVER and $_GET to get data from the webserver or
from other PHP pages. The loading/execution time for those pages are
painfully slow (about 30 - 40 seconds per page). This only happens if
I run them on PowerPC. At first I thought it was the webserver (I used
THTTPD). Then I changed it to LIGHTTPD and I only see minor decrease
(5 seconds) in the loading time. Any idea how to speed it up? I am
using PHP 4.4.5 (cgi-fcgi). Thanks.

Shirley

Aug 20 '07 #1
1 2956
smayadewi wrote:
I am trying to use PHP on a 300 MHz PowerPC based board. On some
pages, I am using $_SERVER and $_GET to get data from the webserver or
from other PHP pages.
PowerPCs are very nice processors which are very fast despite low-sounding
clock speeds.

My laptop is an old iBook with a 500 MHz running Mac OS 10.3.9, and can
easily serve several PHP pages per second using Apache, even with the
overhead of running a graphically intense operating system. And these pages
do lots and lots of OO stuff, running a few dozen database queries each,
and so on.

Even a 300 MHz PPC processor ought to be fast enough to serve at least one
PHP page per second, assuming they're not overly complex pages.

How much memory does the system have? If it's tight, and your OS (you've
not mentioned which OS!) supports virtual memory, then the system may need
to swap memory, which can be slow.

--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 60 days, 12:32.]

TrivialEncoder/0.2
http://tobyinkster.co.uk/blog/2007/0...ivial-encoder/
Aug 20 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: srijit | last post by:
Hello, Has anyone ported Python on powerpc(ppc8xx) with Linux? Regards, Srijit
3
by: Han Benjamin | last post by:
Is anyone aware of any effort in bringing Psyco onto other platforms, esp. PowerPC (Mac OS X)? I checked the website but it's still stated as X86 only. Thanks, Ben
3
by: nightolo | last post by:
Hi all, after all I have to say that I'm not a native english speaker so I pray you to excuse for my poor english. I got a trouble writing an application in a powerpc enviroment, that's the...
3
by: Vivek | last post by:
Hi, i get the following error when running an embedded sql application on Suse (powerPC): SQL4903N The length of parameter "runtime_pid" of function "sqlastrt_trusted" is not valid. Iam...
1
by: python27email | last post by:
interested in nltk installation on a mac osx 10.4.9 however when try to install latest python get error cannot access subprocesses and won't even open idle got nltk to open through a terminal...
1
by: smayadewi | last post by:
I am trying to use PHP on a 300 MHz PowerPC based board. On some pages, I am using $_SERVER and $_GET to get data from the webserver or from other PHP pages. The loading/execution time for those...
0
by: tvnaidu | last post by:
I have working code on Linux (ported from winodws), but I need to makesure this C code gets compiled for PowerPC target, but I don't have any cross compilers for any kind of PowerPC, any idea where...
2
by: tvnaidu | last post by:
Downloaded PowerPC cross compiler tool chain for LINUX, trying to compile C / CPP file, I am getting "Floating Point exception" to compile any file, no problem with regular GCC. any idea why I am...
0
by: tvnaidu | last post by:
I downloaded GDB source code and ned to compile for PowerPC platform, I have all powerpc compilers (ppc_85xx-gcc, ppc_85xx-ar) under /opt/montavista/pro/devkit/ppc/85xx/bin, it built "gdb" file, but...
0
ashitpro
by: ashitpro | last post by:
Recently, I've been working on powerpc cross compilation, I've built my own toolchain from gcc/binutils source. I am compiling C++ application with this toolchain. While linking I am getting...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.