On OS X systems /usr/etc/portal also contains a php folder containing the libraries Apache needs to execute PHP files. The
php.ini file will be located in th
e /usr/etc/portal/php/etc directory. A copy of that file called
php.portal.ini is also placed in the same directory. This copy is important when you upgrade.
On Linux systems /usr/etc/portal contains a
Zend folder with the libraries PHP needs to execute compiled PHP files. The
php.ini file is located in the
/usr/etc/portal/Zend/etc directory. A copy of the
php.ini file is in the same directory named
php.portal.ini. This copy is important when you upgrade. In addition, a new
php.potral.ini file is placed in the
/usr/etc/portal/Zend/etc directory. The
php.ini file from the previous installation is not touched.
On OS X systems /usr/etc/portal will also contain a
php folder with the library Apache needs to execute PHP files. A new
php.portal.ini file will be placed in the
/usr/etc/portal/php/etc directory. The
php.ini file from the previous installation will not be touched.
Existing site configurations in /Library/WebServer/Documents (or wherever
DocumentRoot has been established) will also remain intact, although files may be updated as described in the next section.
During upgrades, the DEFAULTS.portal.php file will be removed and a new
/usr/etc/portal/PORTAL/defaults/DEFAULTS.php file will be installed.
Xinet Portal provides an update tool that dynamically checks any config.inc.php files from existing Xinet Portal sites, updating them with new
config.inc.php entries—meaning these new entries no longer need to be added by hand. The newly-added entries will, however, be configured in null states so that they will not change the behavior of previously existing sites until you edit them to employ newly-added functions. The update tool will also update already-existing entries in the
config.inc.php files that have changed in the new distribution, but, once again, without changing how existing sites function.
Xinet Portal checks whether config.inc.php files are up-to-date whenever a user attempts to log in to a particular site. Any site without users trying to gain access to it will not be updated. In addition to adding and editing entries,
DEFAULTS.php will reformat older
config.inc.php files so that they are more readable and will also add additional comments that have appeared in new distributions. These comments provide details about each entry in the files. Finally, any custom configuration items (For example, non-standard items added by administrators) will move to the bottom of each file, with the way they function remaining intact.