Hello everyone,
As you may have noticed recently, there have been a few changes around here.
Firstly, the old automated hosting script is back in action. As are upgrades, downgrades and terminations. Business as usual continues...
As part of our promise to bring you the latest available (stable) software, Apache, PHP and MySQL have all been updated to the latest versions. Because they should be mostly backwards compatible, there should not be many issues. The only issue encountered so far is a small problem with the posts table in MySQL but that was resolved quickly. (To resolve it yourselves if you have a "corrupted" table, go to cPanel->MySQL->Repair)
In addition, GD and FreeType are back. As are PDO and PDO_mysql. The addition of these should allow for increased support for a greater variety of different scripts. That includes web analytics scripts like Piwik which we recommend you use at this point as Awstats is no longer active.
Django has also been installed. For those who don't know what that is, Django is a web framework for Python. Python was always supported here with our CGI support. Now, after taking the appropriate steps, you should be able to use the Django framework as well.
Finally, possibly the biggest update to our service so far, we are proud to announce support for the Lua programming language: http://www.lua.org. Lua is one of the smallest and likely the fastest scripting language available today. Benchmark tests conducted by myself and others have shown Lua to be as much as 40% faster than languages like PHP. If you do not plan to be using Lua, you should not expect any detectable slowdown in our service as Lua has one of the smallest footprints of any programming language every made.
According to Google, we are the only free hosting provider which officially supports Lua with the exception of software forges like LuaForge. So if you're looking elsewhere for hosting which supports Lua, you will either have to pay for it or your site will have to be about a piece of Lua software you wrote. With us, it's free and it can be about anything which abides by the TOS.
Lua is currently supported by CGI. cPanel appears to have huge issues with adding mod_lua into the mix. Nonetheless, it should still work. Lua files should be named either .lua or .cgi and be placed in the cgi-bin folder to run.
We support much of the Kepler framework (the equivalent of Django for Python and Rails for Ruby) as well as a few other libraries. The below should work.
- CGILua (cgilua) - Some common functions you would expect from CGI
- LuaSQL (luasql.mysql and luasql.sqlite3) - Bindings to MySQL and SQLite3
- LuaFileSystem (lfs) - File system functions for modifying files, folders, etc.
- WSAPI (wsapi.cgi) - API for CGI server interactions
- md5 - MD5 hashing
- des56 - DES encryption library
- LuaSockets (socket) - Access through HTTP, FTP, SMTP, etc.
Lua is installed at /usr/bin/lua. To be portable, it is recommended you use /usr/bin/env lua instead.
There are plans for future changes. They will be announced once they are ready for deployment. The goal is a new and improved site and better service.
Note that there are other languages available under CGI, namely: Perl, Ruby and Tcl. Lua is the latest addition.