»
S
I
D
E
B
A
R
«
10.6.2 Server with APC cache
Dec 14th, 2009 by Andrew Chlup

As many are aware there is some funkiness trying to get APC caching working with 10.6.2 Server. After running all over the web, I finally generated the needed apc.so using macports.

If you want to save yourself a ton of trouble , you can try the attached apc.so.

Steps to install:

  1. Download and unzip.
  2. Move to “/usr/lib/php/extensions/no-debug-non-zts-20090626/”
    (Use cli: sudo mv apc.so /usr/lib/php/extensions/no-debug-non-zts-20090626/) this assumes your are in the folder with apc.so
  3. Edit your php.ini file (/etc/php.ini) with the following:
    [APC Cache]
    extension=apc.so
    (***Add additional configuration parameters here***)
  4. Save your php.ini and restart the webserver.
  5. Browse to your phpinfo file on your webserver and check to see if APC is running.

I hope this saves some of you time. I’m really at a lose to why Apple doesn’t correctly install PEAR/PECL so that developers can make the modifications they need.

Adding SSL Support to OpenDirectory Replica
Oct 31st, 2008 by Andrew Chlup

While configuring our web filter, we realized that Apple’s default master/slave setup only allows LDAPS through the master server. This has some major limitations in regards to the usefulness of replicas. It turns out that one simple terminal command solves the problem.

sudo slapconfig -setldapconfig -ssl on -sslcert /etc/certificate/<your certificate>.crt -sslkey /etc/certificate/<your certificate>.key -ssldomain <server domain>

If there’s a way to do this through the GUI I couldn’t find it. Hope this helps somebody else out there.

»  Substance: WordPress   »  Style: Ahren Ahimsa