Electronics & Programming


Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » PHP
  • » [PHP-DEV] Bug ? Php is slow on Mac OS X 10.4 [RSS Feed]

#1 Nov. 14, 2005 21:26:32

Nicolas R.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[PHP-DEV] Bug ? Php is slow on Mac OS X 10.4

First of all, you might want to take a look at a thread that I started about
slowdowns with php on Mac OS X 10.4 :http://marc.theaimsgroup.com/?t=112670317500004&r=1&w=2Next, here's a summary :

Php (4.3.x, 4.4.x, 5.x) is slow with apache (1.3.x, 2.0.x) under Mac OS X
10.4 (server or client).

How to repeat :

Take a php application that's "not small" (phpbb forum, gallery2, mambo cms
for exemples), run it under Mac os X 10.4 tiger, with php. Use the built-in
apache (1), the built-in php, or your choice of apache1 with static or
dynamic php, apache2 and dynamic php; with php 4.3.x, php 4.4 or 5.x, and
you'll see that when requesting a page, the page takes long to respond (8 to
15 seconds in my case). During that time, the thread serving this request
eats 100% of the cpu. Whith the os-x provided tool fs_usage and sc_usage, I
was able to see that there were some system calls that takes much time to
execute. In particular, getdirentries and select system call.

The solution :http://marc.theaimsgroup.com/?l=php-general&m=113198556215028&w=2Use --enable-experimental-zts on the configure line of php.

So, is it a php bug ?


PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:http://www.php.net/unsub.php


  • Root
  • » PHP
  • » [PHP-DEV] Bug ? Php is slow on Mac OS X 10.4 [RSS Feed]

Board footer

Moderator control

Enjoy the 24th of April

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support