3 Apr 2000 bobman   » (Observer)

Things are much better now.

I finally realized, after much struggling with Apache 1.3.12 and PHP3 3.0.15 on Friday 31MR2000 that MacOS X Server probably doesn't like DSO. When I compiled with DSO support, I got duplicate symbol errors when starting Apache. I worked three hours on trying different techniques of compilation, but not using the nice way of just compiling PHP3 and all modules into the Apache binary.... So, I went home in disgust.

Later that night, I was sshed in and was in the middle of typing a command in bash when my connection seemed to freeze. "Huh," I thought. I tried sshing again, no luck, no login prompt, but there was a connection established. Hmmm..... I tried telnet, I tried ftp.... I tried getting a web page. The socket seemed to connect, but no data came back from it.... Ahhhhggghhh!

I got annoyed and called my (hopefully future co-network administrator) guru friend, jjk. He suggested:

  • The server ran out of memory.... (First asking whether there was swap configured.) I thought this was a little far fetched. The beast has 256Mb RAM and increases the swap file (on /private/var/vm - currently 16Mb) dynamically.
  • On the topic of Apache: Don't compile for DSO. Use the old fashioned (i.e. "On-the-fly added additional/private module") way using ./configure --activate-module=src/modules/php3/libphp3.a after using ./configure --with-apache=../apache_1.3.X --with-xml --with-mysql=/usr/local/mysql, make, make instal in the php_3.0.15 dir.

Well, after restarting the server the next day (since I had to wait for custodians to show up at the school), Apache compiled like a dream with PHP support.

Today, then, the rooted one let me install the new Apache and turn it on. Seems to work fine! I tried some of our MySQL dependant pages and they get data fine... Life is good.

Accepted at Colby, the one school I applied to just because they sent me an application. Expected financial contribution of family: $8,000 ish. Colby = Expensive School with Money to Spend. ($32,000/year) I don't think I can go there... Liberal Arts college with a seemingly cursory Computer Science program.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!