JHF’s homepage

Just another WordPress weblog
  • rss
  • Home

Tracking down apache segfaults

admin | March 17, 2009

Delivery ends in the middle of a PHP page. Where’s the rest of it ?

After some research, it came out that the apache logfile was reporting segfaults from the child processes. Unfortunately, this is not done in the domain’s error.log, but in /var/log/apache2/error.log :-(

Lot of googling showed several possible causes for segfault in apache :

  • PHP4 compatibility as set in httpd.conf or /etc/apache2/conf.d/…
  • Conflicting Berkeley DB libraries installed. However… which subpart is using this ?
  • Getting out of memory, having somewhere a malloc() returning NULL, and not catched by code (bad programming)
  • Using rewrite rules and doing bad matching. This can be monitored by setting XXXXXX
  • Releasing memory from recursive objects leads to memory leaks in PHP (< 5.3)
Comments
No Comments »
Categories
Linux
Tags
Apache, Linux, webdesign
Comments rss Comments rss
Trackback Trackback

Emacs and PHP/HTML mode

admin | February 8, 2009

(X)Emacs can basically handle only one major mode. While this is fine for most applications, it is not very practicable for editing mixed HTML and PHP files, especially concerning indentation of lines.

Several possibilities exist to handle this situation :

  • Multi-purpose multiple mode modes
    • MMM-mode (Multiple Major Modes) makes it possible to load several major modes at the time. It is not restricted to HTML/PHP. However, last activity on this project was back in 2004 !
    • MuMaMo (Major Multiple Modes)
  • Dedicated modes
    • nXhtml mode for editing Xhtml files. Homepage
Comments
No Comments »
Categories
Linux
Tags
Apps, Emacs, Linux, webdesign
Comments rss Comments rss
Trackback Trackback

Testing websites in multiples IEs while running Linux

admin | January 6, 2009

No need to run Windows in a virtual machine, wine can do the trick, thus having IE run as a single window within the Linux desktop.

Software is called IEs 4 Linux and is able to install several IE versions (5, 6, 7) in parallel.

Comments
No Comments »
Categories
Linux
Tags
Apps, webdesign
Comments rss Comments rss
Trackback Trackback

Tags

Apache Apps Bash C Crypto Emacs Linux Unix Virtualbox webdesign

Recent posts

  • Last call for linux und ich contest
  • Firefox not saving passwords
  • Install debian squeeze on a sheevaplug
  • Trouble with SATA-II disk
  • Change in apache vhosts files’ format!!

Pages

  • About
  • Deutsch
    • CV
  • English
  • Français
    • CV
    • MFC
  • Impressum
  • Linux
    • Crypto
    • Linux User Group
  • Photography
    • Fine art

Archives

Categories

  • Hardware (2)
  • Linux (11)
  • Uncategorized (1)

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Blogroll

  • Development Blog
  • Documentation
  • Plugins
  • Suggest Ideas
  • Support Forum
  • Themes
  • WordPress Planet
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox