WACSip
Web-based Adult Content Server
A PHP interface for WACS
Installation
There are two steps to installing wacs-php. The first is to make sure
that the PEAR DB perl module is present along with the appropriate driver
for the database you're using. If you're using MySQL on one of the Linux
distributions supported by Wacs, the wacs easyinstall script should have
already taken care of this for you. The second step is to install the
wacs.php and XMLSimple.php modules into
/usr/share/pear. This can be done with:
# cp unpack_location/modules/wacs.php /usr/share/pear
# cp unpack_location/modules/XMLSimple.php /usr/share/pear
#
Configuration
You will need to make sure that the "database" attribute "phpdbconnect"
is correctly defined in your configuration file. If you're using Wacs
version 0.7.0 or later, this should already be defined by default if you
are using MySQL as the backend database. If you're using the 0.6.1 release
or Oracle 10i as the backend database, you will need to add it manually to
your configuration file. For the default names with MySQL, it should read:
mysql://wacs:wacs@mysqlhost/wacs
where mysqlhost is the hostname of the machine on which you are running
MySQL.
Back to Wacs-PHP documentation