Problem installing on Ubuntu

I am attempting to install Advokit 0.9.9 on a pc running Ubuntu 5.10, on which I have installed

apache2 2.0.54-5ubuntu4
php5 5.0.5-2ubuntu1.2
MySQL 4.0.24-10ubuntu2.1

I cannot get past step 1!  When I attempt to connect to the db server using the install web page, I get the maddeningly vague error "Error!  Unable to access database server!"

Anyone know of issues with Ubuntu?

OK, got to step 4

I had not set up MySQL completely (stupid mistake).

Now I'm getting the following error when I attempt to load the sample data:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1977 bytes) in /var/www/advokit-installer-0.9.9/install/Smarty_Compiler.class.php on line 402

Sure sounds like not enough php memory

This is adapted from here
Depending on your host, this can be done in a number of places with the most likely being php.ini or htaccess depending on your hosting situation.

Add for example:

  • memory_limit = 12M to your php.ini file (recommended, if you have access)
  • php_value memory_limit 12M to your .htaccess file

Let us know what, if anything, works!

php.ini worked

But now I'm trying to set up some more instances in other Ubuntu instances inside VMWare (the machine I originally set up on is pretty creaky). I don't even get the error message on these systems. When I access http://localhost:3306 , I get a bin file that contains the error msg "Bad handshake".

Any suggestions?