Peter Tribble wrote: >> 2. Technical Details >> >> 2.1 Key objects >> >> 2.1.1 Files from the phpMyAdmin project >> >> /usr/share/phpmyadmin/* >> > > Which immediately gives us a problem. Like many other applications, > phpMyAdmin expects its config files to be editable and to be mixed > up with the rest of its files. Which fails for two reasons: > > - /usr might be read only (even in the global zone) > - /usr may be shared between zones (and would be readonly in > non-global zones in that case) > > Therefore: where do the config files go? > There are a couple of ways recommended in the phpMyAdmin documentation for generating the configuration files. Copy config.sample.inc.php to config.inc.php or create one using the phpMyAdmin's setup script and then copy config/config.inc.php (generated by the setup script) into phpMyAdmin's root directory.
So to answer your question, there is no configuration file available apriori, only a sample is available. Even if we create a /etc/phpmyadmin/config directory and have /usr/share/phpmyadmin/config as a soft link to it, we still cannot avoid users from editing /usr/share/phpmyadmin/config.inc.php. So, I can think of only 1 alternative location (or 1 other natural location) for phpMyAdmin and that is to deliver phpMyAdmin directly into /var/apache2/2.2/htdocs (This would absolve the requirement to set any URL mapping). >> 2.1.2 File to configure apache with a new URL mapping for >> /phpmyadmin >> >> /etc/apache2/2.2/conf.d/phpmyadmin.conf >> > > What is the mechanism for a user to enable phpmyadmin? > I don't think I understood the question correctly. There's no enabling on phpmyadmin. Once the url mapping is done it is served by apache directly. And the URL mapping is done only inside a <IfModule mod_php.c>....</IfModule> block. >> 3.1 Documentation files >> >> /usr/share/phpmyadmin/Documentation.html >> /usr/share/phpmyadmin/Documentation.txt >> >> > How does the user discover this documentation? > phpMyAdmin provides a link to the documentation. >> Apache PHP5 module Uncommitted PSARC >> 2007/552 >> PHP5 for MySQL Uncommitted PSARC >> 2007/656 >> MySQL Committed LSARC >> 2007/608 >> > > What package dependencies do you require? Presumably php, apache, > and php-mysql. php-mysql provides the php dependency. So yes, the actual dependencies are php-mysql and mod_php for phpMyAdmin to work. > As the mysql server might conceivably live on another > system, it can't be a prerequisite. > > (And I believe it's mysql 5 or later that's a prerequisite.) > I agree MySQL is not a dependency for phpMyAdmin to install. If MySQL is not present in localhost then phpMyAdmin must be setup (using the setup script) to point it to the remote MySQL. I will remove the MySQL dependency in the imported interfaces. Thanks, IK. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/webstack-discuss/attachments/20080404/7312dbab/attachment.html>