Re: Performance Problems.. Server hardware smoked by $500 box?

From: Devon H. O'Dell (dodell_at_sitetronics.com)
Date: 09/28/03

  • Next message: Adam C. Migus: "Re: Performance Problems.. Server hardware smoked by $500 box?"
    Date: Sun, 28 Sep 2003 23:33:46 +0200
    To: "Adam C. Migus" <adam@migus.org>
    
    

    Adam C. Migus wrote:

    >Devon,
    >I am using PHP with Apache 2 and didn't mean to say or imply that it
    >didn't work with Apache 2, however, the last time I tried I was
    >unable to run it with an Apache 2 server running any MPM other than
    >pre-fork. Have you been able to run PHP with a threaded MPM?
    >Please let me know as I'd like to test the other MPM's with PHP...
    >
    >For reference my Apache 2 and PHP are from ports, the latter is
    >mod_php4 compiled with just about everything. :-)
    >
    >
    Well that might be the problem in your case. PHP itself is thread safe,
    but there's no guarantee that the extensions are. In fact, I think a
    good few of them are not (ming comes to mind, IIRC). In your case, the
    killer may be the extensions and not PHP itself. I'd suggest compiling
    them as modules and then dl()ing them until PHP dies ;). There's
    probably also a list of non-thread-safe modules out there somewhere. But
    I fear the list Gods, so I'm not going to change this list to
    freebsd-php :) If you've got more questions, feel free to email me
    privately :)

    --Devon

    _______________________________________________
    freebsd-performance@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-performance
    To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org"


  • Next message: Adam C. Migus: "Re: Performance Problems.. Server hardware smoked by $500 box?"

    Relevant Pages

    • Help with php5 install under windows
      ... This includes moving php from the ... Enable the PHP scripting language engine under Apache. ... or per-virtualhost web server configuration file. ... The PHP directives register_globals, ...
      (php.general)
    • Re: [Full-disclosure] Bug with .php extension?
      ... the behavior that is i.e. demonstrated on default installations of Apache, only that this time not mod_negotiation, but mod_mime is responsible. ... Unknown extensions contribute nothing, and since they're unknown, it isn't known which category they aren't known for, so nothing happens with them. ... - Disable PHP for the upload area (is this possible? ... you would want your user upload area to be in a totally different place from your DocumentRoot so you don't get anything set on DocumentRoot leaking into the writable subdirectory. ...
      (Full-Disclosure)
    • Re: Cant load extensions: "The specified module could not be found"
      ... I get the same problem with some other extensions as well -- not just cURL. ... These give the same error message (apart from the DLL name of course). ... I know that, generally, PHP *can* see the DLLs in the extensions folder. ... I'm running Apache 2 with PHP 4.4.6 on Windows XP. ...
      (alt.php)
    • RE: Virtual hosts and PHP "downloads": php5 and apache22 on FreeBSD6.1-STABLE
      ... Apache web server. ... Subject: Virtual hosts and PHP "downloads": php5 and apache22 on ...
      (freebsd-questions)
    • Re: HELP: send binary replies back and forth ???
      ... > My php application needs to do the following: ... > My PHP script loops through all records and sends each of them ONE BY ONE. ... > other than to be able to communicate with apache. ... All communication is binary because the connection used is pricy and ...
      (comp.lang.php)