Hey guys, these are the options I'm about to use to install yet another midgard/php/mysql platform. If this goes well maybe these can be placed on the site somewhere? Everyone please feel free to contribute. Just trying to give something back Thanks I Installation of components 1. a. tar -zxvf apache_1.3.20.tar.gz b. tar -zxvf php-4.0.6.tar.gz c. tar -zxvf expat-1.95.1.tar.gz d. tar -zxvf mysql-3.23.39.tar.gz 2. cd apache_1.3.20 3. at the command line: ./configure \ "--with-layout=Apache" \ "--enable-module=most" \ "--enable-shared=max" \ 4. make ; make install (this will install apache into /usr/local/apache) 5. cd ../mysql-3.23.39 6. ./configure NOTE: If you are going to run mysql externally then add the following option to configure: --without-server , it will cut down your build time 7. a. make ; make install; ldconfig (this will install mysql into /usr/local/) 7. b. add /usr/local/lib and /usr/local/mysql/lib to /etc/ld.so.conf and run ldconfig 8. cd ../expat-1.95.1 9. ./configure 10. make ; make install; ldconfig (this will install expat libraries into /usr/local/lib ) 11. cd ../php-4.0.6 12 . ./configure \ --with-expat-dir=/usr/local \ --with-mysql=/usr/local \ --with-apxs=/usr/local/apache/bin/apxs 13. make ; make install NOTE: here i go off the beaten path until midgard 1.4.2 is released: The cvs version has many great bug fixes. 14. mkdir midgardcvs 15. cd midgardcvs 16. export \ CVSROOT=':pserver:[EMAIL PROTECTED]:/usr/local/cvs' 17. cvs login (use blank password) 18. a. cvs -z3 checkout midgard/bootstrap midgard/makedist \ midgard/lib midgard/mod midgard/php 18. b. ./bootstrap 19.cd midgard/lib NOTE: if you want to use a remote database edit src/defaults.h and change "localhost" to the hostname of your database server 20. ./configure --with-sitegroups \ --with-mysql=/usr/local \ --with-expat=/usr/local --with-repligard-owner=webserver (valid username goes here) 21. make ; make install ; ldconfig 22. cd ../mod 23. ./configure --with-midgard=/usr/local \ --with-mysql=/usr/local \ --with-expat=/usr/local \ --with-apxs=/usr/local/apache/bin/apxs 24. make ; make install ; ldconfig 25. cd ../php4 NOTE: you may or may not have apxs installed on your system My redhat (valinux version) did not the next step will choke if apxs is not found so I did this; 26. ln -s /usr/local/apache/bin/apxs /usr/bin 27. ./mkall 28. cd ../data 29. ./configure --with-host=localhost \ --with-blobdir=/home/httpd/blobs \ --with-asgard --with-install=new \ --with-php=4 --with-apache-user=web \ --with-apache-group=web \ --with-db-admin-user=web \ --with-db-admin-password="yadda" 30. ./dbinstall II. configuration files 31. cp ../php-4.0.6/php.ini-dist /usr/local/lib/php.ini 32. edit /usr/local/lib/php.ini 33. change extension_dir = ./ to: extension_dir = /usr/local/lib/php/extensions/no-debug-non-zts-20001222 and add this line: extension=midgard.so III. Starting the system (Incomplete: to be continued) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
