// post · 636

SQLite is a pain

·

SQLite is a pain to work with.

The problems I'm having:

  • Where are the DATE functions!?
  • Why can I not modify a table stucture with the MODIFY command!?
  • Why don't LIMITs work on deleting and updating!?

Such a pain.

The only good thing about SQLite is that it just comes with PHP5 and you don't need to install anything.

MySQL has been working perfectly as usual.

// post · 624

How to enable PHP on Mac OS Leopard

·

To enable php:
  1. open terminal
  2. cd /etc/
  3. sudo cp php.ini.default php.ini
  4. cd /private/etc/apache2/
  5. sudo nano httpd.conf
  6. uncomment the two modules: php5_module and fastcgi_module. They were at line 114 and 115 for me.
  7. Use ctrl and o to save
  8. reload apache (can be done from system preferences).