PHP-Nuke Installation on Debian Sarge

davidsudjiman (at) davidsudjiman (dot) info

  1. To install PHP-Nuke 7.4 we need to have these packages installed properly
    # apt-get install apache php4 mysql-server php4-mysql libapache-mod-auth-mysql<
  2. Edit /etc/php4/apache/php.ini and change ;extension=mysql.so into extension=mysql.so

  3. Get the latest PHP-Nuke source code from here (e.g. PHP-Nuke-7.4.zip).
  4. Copy and Extract PHP-Nuke-7.4.zip into web server directory (e.g. /var/www/)
    # unzip -d /var/www/ PHP-Nuke-7.4.zip
  5. Create the MySQL database and fill it up
    # mysqladmin create nuke
    # mysql nuke < /var/www/sql/nuke.sql
  6. As you may notice that the contents of PHP-Nuke is on /var/www/html/, we need to change the default DocumentRoot /var/www variable into DocumentRoot /var/www/html on file /etc/apache/httpd.conf.

  7. Restart your Apache
    # /etc/init.d/apache restart

  8. Open your favorite browser to http://localhost/

  9. Now PHP-Nuke is ready to operate. Modify modules at will.

Last Updated: 2004/10/05