Just read that NGINX got superpowers. Immediately seduced by the opportunity to learn something new I accessed my Rackspace box and started to stare at problem. How can I have nginx on my current hosting and migrate WP sites to the new web server?
Fortunately I came across this perfect tutorial by Alan Hollis on how to set up nginx and php/mysql stack for WordPress. Now I know what to do.
Being relatively innocent and lacking really good knowledge about SSH keys exchange order, I set up a new instance on Amazon EC2. Downloaded the key pair PEM file, connected and immediately started to cook my dream test server. Although Continue reading
Besides many other problems in Lion OS X, this one bugged me especially hard. After upgrading the main workstation to Lion I made a very unpleasant discovery. Spotlight was not able to search within source code. A relevant mdi plugin, that was shipped with the previous version of Xcode mysteriously vanished. Yes, it became unavailable.
But fortunately, you still have RichText.mdimporter and you can modify its info.plist to do the job of indexing contents of your source code files on Lion OS X. How to do that.
1) Locate /System/Library/Spotlight and the RichText.mdimporter file.
2) The easiest way – Terminal
sudo nano /System/Library/Spotlight/RichText.mdimporter/Contents/Info.plist
3) Add strings for text file types you want to index in Apple UTI notation into dict array, like:
For PHP source files:
For JS source files:
And so on in the fashion of Apple Uniform Type Identifyers (UTI).
Here is a small list of UTI you may need.
And here is what Apple has to say about UTIs.
Save what you have edited.
3) Reindex your hard drive and enjoy your Spotlight search back again.
If you have ReadyNAS NV+ in your network with 4.1.8 software installed, you may have server outages if you use OS X Lion machine. The outage is caused by
poor new design of the mDNSResponder (Apple fault thinks different as always). Multicasts from Lion machine force avahi daemon on ReadyNAS NV+ to close services. Disabling Bonjour on ReadyNAS will not help. To fix the issue you have to disable multicast edit /etc/hosts on a Lion machine.
/I am leaving this as advice for those who wants to debug their network with Lion machines in it/
Be careful, since breaking mDNSResponder configuration can lock you out from OSX Lion.
Step 1. Make a backup of the mDNSResponder.plist file as a necessary precaution.
Step 2. Open the mDNSResponder.plist file in Terminal using your preferred text editor. Here is a command:
sudo nano /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist
Step 3. Add “-NoMulticastAdvertisements” to the array in the “ProgramArguments” section.
The bad thing is that you will loose ability to discover network printers from Lion, if they are advertised via Bonjour service. Workaround – set printers by IP manually.
UPDATE: it “works as designed”. What Apple forgot to say is well put in this article by Justin Carmony. I reenabled multicasts and Bonjour after adding reverse resolution in /etc/hosts for local machines running Lion. So far so good, ReadyNAS NV+ feels good for the first 30 mins
There are few good tuts that works for CentOS 5.6 with php53.
Jacob from dynamichosting.biz wrote a good guide to install ssh2 extension for php53 that worked for me.
Than follow these directions provided by Johnathan Dingman.
After you succeed with install, have a look at this Codex Page and make amendments to your wp-config.file to perform further updates with a single click.
All credit goes to these fine gentlemen mentioned above. I will only remind you not to be afraid of a bunch of warnings when you install php-pear. Force install and may the Force be with you.