Category Archives: Sviluppo web
Enable cURL PHP extension with XAMPP on Windows XP
You may need to enable the cURL extension in your XAMPP setup, just like I had to do to install Magento locally.
curl is a command line tool for transferring data with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS, FILE, IMAP, SMTP, POP3 and RTSP. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate, kerberos…), file transfer resume, proxy tunneling and a busload of other useful tricks.
Get cURL working with XAMPP
Just 3 easy steps.
Aimlessly wandering from Rackspace Cloud Servers to Amazon AWS; a WordPress mu perspective
Cloud Computing lets you scale and pay only for computing resources you actually use like storage, bandwidth, server uptime and so on. You get no upfront costs (unlike VPS services) and a great level of service (unlike shared hosting) because you’re in control of the box. This is a nice new paradigm for developers.
I know of two big providers for cloud services: Amazon (AWS) and Rackspace (cloud servers/cloud files).
Why Rackspace Cloud Servers?
Well, you may have heard about their fanatical support: basically they’ll help you with pretty much anything. They’re helpful with noobs and ready to help on pretty much any hosting related topic.
rackspace cloud server – Wildcard DNS entry (subdomains) and google apps
I’ve associated a domain name to my rackspace cloud server and I’ve recently set up a standard Google apps account for it. The Google walk-through is pretty intuitive but the screen you’re shown during the process does not perfectly match with what you see in rackspace.

As you can see if you log into your rackspace panel, they differ a bit from this screenshot.
And here you can find your DNS settings (just log into your control panel).
Migrating from MediaTemple (gs) to MediaTemple (dv) service
After just a couple of months of hosting with MediaTemple Grid Service (gs), I’ve decided to switch to their Dedicated Virtual (dv). Mainly because there’s Plesk; my clients need to have their control panel and I can be in control of every detail about the hosting.
It’s a whole new experience and I have to say that I got used to the (gs) control panel. In a way, I miss it. But Plesk, even if it’s not the latest version (8.6 vs 9.3) is powerful. Anyway I got SSH access too, just in case (you can get it in grid service too).
Configure XDebug with Bitnami PHP Stacks on Linux Ubuntu
Fact is that if you want to develop something more than a dynamic menu in php, you’re going to need a debugger. You’re going to need it badly and you don’t even know it (shame on you!).
So let’s start from the beginning. You got bitnami lapp (or lamp) stack because it’s cool and doesn’t need so much configuration (if any at all). So you’re basically ready to start coding.
You realize you need a debugger. You search for it and you find out about xdebug. Cool. Then you approach the Xdebug download page and you see only sources and many windows binaries. Not cool.
Media Temple – gs – Grid Service – Alcune considerazioni
Il costo del servizio di hosting è piuttosto alto su Media Temple e in questo periodo devo valutare bene se ne valga la pena o no. Al momento pendo per il sì e mi sento quasi pronto a trasferire tutti i siti dei miei clienti dal vecchio hosting provider alle macchine di (mt).

Trovare un hosting provider adatto non è cosa semplice
Cambiare struttura Permalink senza perdere visitatori (redirect 301)
Ho cambiato da poco la struttura dei Permalinks in WordPress e mi sono accorto che i visitatori che usavano la vecchia struttura per accedere ai miei post, hanno iniziato a vedere pagine di errore (post inesistente con errore 404). In realtà il post esiste, ho solo cambiato link. Come fare?

Link e Permalinks sono importanti. Mai lasciarli rotti
Grazie al plugin Advanced Permalinks è possibile fare in modo che le vecchie richieste vengano correttamente reindirizzate in modo trasparente ai nuovi URL (con un redirect 301, per non danneggiare il posizionamento nei motori di ricerca).

