Comment 19 for bug 1016791

Revision history for this message
Andrei (andrei-halle-deactivatedaccount) wrote :

I'm still having the same error in Ubuntu 12.04 Lts with a Mysql server. I've made a basic installation sheet with all it need to make everything work when it's time to make a php check_configuration.php. So i don't know if i need to make a subject (the prerequisite is so basic on the main installation page of authpuppy). So here's something who work :

With mysql-server :

sudo apt-get install apache2
sudo apt-get install php5
sudo apt-get install mysql2
sudo apt-get install php5-dev
sudo apt-get install php-pear
sudo apt-get install apache2-prefork-dev build-essential
pecl install apc
add extension=apc.so in /etc/php5/apache/php.ini
add extension=apc.so in /etc/php5/cli/php.ini
change short_open_tag=on to off in php.ini (apache dir and cli dir)
add the configuration lines of virtualhost in /etc/apache2/httpd.conf as it is wrote in the authpuppy installation
page
add subdirectory "authpuppy" in /var/log/apache2
sudo nano /etc/hosts
change the entry :
127.0.0.1 localhost
to
127.0.0.1 authpuppy.localhost
ctrl o
ctrl x
sudo a2enmod rewrite
sudo /etc/init.d/apache2 restart
pecl install pdo_mysql
sudo apt-get install php5-curl
sudo apt-get install php5-xsl
download last version of authpuppy in tmp dir
cd /tmp
sudo tar xvzf authpuppy-<version>-<stability>_<packaging>.tgz
sudo mv authpuppy /var/www/
chmod -R a+w /var/www/authpuppy
cd /var/www/authpuppy
sudo chown -R www-data config
sudo chown -R www-data cache
sudo chown -R www-data log
sudo chown -R www-data data
sudo chown -R www-data plpcgins
sudo chown -R www-data web
cd /var/web/authpuppy
symfony cc

I didn't include some of the configurations lines who already are in the authpuppy installation page, But everyhting necessay is there. For the creation of new local user, i'll try if i had this error with a postgress sql database.

and everything may be there