Are the older Matrix version VM's still available? It would be great for testing if I could download back to 4.0.0.
Anywhere?
Are the older Matrix version VM's still available? It would be great for testing if I could download back to 4.0.0.
Anywhere?
Hi Nic,
We only keep the latest one available on the download site (for space reasons and because we only want people to use the latest and greatest). What are you trying to test on an old vm?
Wanting to test SOAP on 4.0.0 for compatibility with my app. I have other testing version, but I am running out of quick ways to test a version. I figured a VMs would be super quick to test on.
Hi Nic,
You could do it fairly easily in an existing vm.
# Get the checkout script wget 'http://public-cvs.squiz.net/cgi-bin/viewvc.cgi/mysource_matrix/scripts/dev/checkout.sh?content-type=text/plain&view=co' -O checkout.shCheck out matrix 4.0.0 to /var/www/matrix400
sh checkout.sh mysource_4-0-0 /var/www/matrix400
When that’s done, we need to run step1, step2 etc.
cd /var/www/matrix400
php install/step_01.phppwd
Create the db and enable plpgsql
createdb -U postgres -O matrix matrix400
createlang -U postgres plpgsql matrix400Set up db.inc, main.inc
sed -i “s!define(‘SQ_CONF_SYSTEM_ROOT_URLS’, ‘’);!define(‘SQ_CONF_SYSTEM_ROOT_URLS’, ‘matrixdemo400.squiz.net’);!” /var/www/matrix400/data/private/conf/main.inc
cat <<EOF> /var/www/matrix400/data/private/conf/db.inc
<?php
$db_conf = array (
‘db’ => array (
‘DSN’ => ‘pgsql:dbname=matrix400’,
‘user’ => ‘matrix’,
‘password’ => ‘’,
‘type’ => ‘pgsql’,
),
‘db2’ => array (
‘DSN’ => ‘pgsql:dbname=matrix400’,
‘user’ => ‘matrix’,
‘password’ => ‘’,
‘type’ => ‘pgsql’,
),
‘db3’ => array (
‘DSN’ => ‘pgsql:dbname=matrix400’,
‘user’ => ‘matrix_secondary’,
‘password’ => ‘’,
‘type’ => ‘pgsql’,
),
‘dbcache’ => NULL,
‘dbsearch’ => NULL,
);return $db_conf;
EOFphp install/step_02.php
pwd
php install/compile_locale.phppwd
php install/step_03.phppwd
php install/compile_locale.phppwd
chown -R apache. data cache
cat <<EOF> /etc/httpd/conf/sites/matrix400.conf
<VirtualHost *:80>
ServerName matrixdemo400.squiz.net
DocumentRoot /var/www/matrix400/core/web<DirectoryMatch "^/var/www/matrix400/data/public/assets"> php_flag engine off </DirectoryMatch> Options -Indexes FollowSymLinks <Directory /var/www/matrix400> Order deny,allow Deny from all </Directory> <DirectoryMatch "^/var/www/matrix400/(core/(web|lib)|data/public|fudge)"> Order allow,deny Allow from all </DirectoryMatch> <FilesMatch "\.inc$"> Order allow,deny Deny from all </FilesMatch> <LocationMatch "/(CVS|\.FFV)/"> Order allow,deny Deny from all </LocationMatch> Alias /__fudge /var/www/matrix400/fudge Alias /__data /var/www/matrix400/data/public Alias /__lib /var/www/matrix400/core/lib Alias / /var/www/matrix400/core/web/index.php/
</VirtualHost>
EOFservice httpd restart
Then you just need a local hosts entry for 'matrixdemo400.squiz.net'