Web Services

From SEDSWiki

Jump to: navigation, search

Editing Web pages on SEDS:

Someone can fill this out with details... PHP, PERL, WEBDAV, file locations, access, etc.

Contents

Access to files

(Put simple instructions here)

Detailed instructions (with pictures) available at Login to SEDS server.

Group web pages (/web)

Personal web pages (/Users/username/public_html/)

HTTP

SEDS is running Apache 2.2.3. Although Apache 2 is delivered with Mac OS X Server, its not well integrated into the maintenance utilities nor update frequently. As a result, we're maintaining an up-to-date copy on our own.

Its a fairly stock compilation. The following config line is used to build Apache:

./configure --prefix=/usr/local/apache2 --enable-mods-shared=most --with-ssl --enable-layout=Apache

Following this, care must be taken to use /usr/local/apache2/bin/apachectl instead of /usr/bin/apachectl, so that the Apache 2.x installation will be controlled instead of Apache 1.x

PHP

SEDS is running PHP 5.1.6

We've compiled it with a few special options, most notably built-in support for the GD Graphics Library and Freetype 2. Most Apple security updates, and other updates to the web server software will probably break this, meaning that you'll have to recompile. The following config line is used to build PHP:

./configure --prefix=/usr/local/php5 --with-apxs2=/usr/local/apache2/bin/apxs --enable-cli --with-zlib-dir=/usr --with-xml --enable-exif --enable-ftp --with-gd --with-jpeg-dir=/sw --with-png-dir=/sw --with-tiff-dir=/sw --with-zlib --with-bz2 --with-freetype-dir=/usr/X11R6 --with-mysql --with-mysql-dir=/usr/local/mysql --with-mysql-sock=/tmp/mysql.sock --with-kerberos=/usr --with-gettext --with-tidy


PHP Upgrade

Some things to note about the PHP upgrade:

  1. By default we won't be allowing short tags anymore:

http://us2.php.net/manual/en/ini.core.php#ini.short-open-tag

See also

Personal tools