Blog

PHP 5.1.31

I was running into errors with the previous ./configure command. I did some searching and found that the zlib library had changed and had to be recompiled if shared.

The PHP configure script now is:
./configure –prefix=/usr/local/php5
–mandir=/usr/share/man
–infodir=/usr/share/info
–sysconfdir=/etc
–with-config-file-path=/etc
–with-zlib
–with-zlib-dir=/usr/zlib
–with-openssl
–without-iconv
–enable-exif
–enable-ftp
–enable-mbstring
–enable-mbregex
–enable-sockets
–with-mysql=/usr/local/mysql
–with-pdo-mysql=/usr/local/mysql
–with-mysqli=/usr/local/mysql/bin/mysql_config
–with-mysql-sock=/tmp/mysql.sock
–with-apxs2=/usr/local/apache2/bin/apxs

Of course […]

By |November 20th, 2009|INE Server Log|Comments Off on PHP 5.1.31

Visitor Screen Width Analysis

Unique Visitors
Data from Google Analytics on unique visitors to https://www.uaf.edu/water or recently edited pages in the “triage” style pages. The witdh is pixels of screen resolution. Data from screens with the same width but varying heights were combined. This represents all visitors between 21 Sept 2009 and 21 October 2009

Width
(pixels)
Visitors
(unique)

2560
3

1920
141

1680
56

1603
1

1600
6

1440
79

1400
3

1366
11

1344
1

1280
122

1257
64

1205
1

1202
1

1170
1

1152
14

1140
1

1024
148

800
13

320
3

Totals

Width
Visitors

1024 or larger
653

less than 1024
16

Analysis
97.6% […]

By |October 22nd, 2009|Research, WERC|Comments Off on Visitor Screen Width Analysis

Mail Server Fixed

changed the php.ini file to read:

sendmail_path = /usr/sbin/postfix -t -i

postfix actually changes over the “sendmail” binary I think.

There is a test doc up at:

https://beta.ine.uaf.edu/mailTest.php it contains a simple time function and mail() call. Just edit the email address there to have it send to you.

I test this out and it survives a restart.

Interesting mail […]

By |October 12th, 2009|INE Server Log|Comments Off on Mail Server Fixed

You Tube Policies

Background
This is a followup to https://lasota.engr.uaf.edu/2009/08/05/research-needed-into-policies-and-legalities/ and had  Sandra asked me to look into posting video on the web.
UAF Video now
CEM has already posted some student videos at  https://www.youtube.com/user/UAFEngineering. Other UA YouTube channels:

https://www.youtube.com/user/uaaengineering UAA engineering
https://www.youtube.com/user/uafairbanks more hip, better editing, recent videos
https://www.youtube.com/user/AlaskaSeaGrant
https://www.youtube.com/user/uafsom
https://www.youtube.com/user/uafcrs (showing actual inventions like the pinbone wizard)
https://www.youtube.com/user/iarcweb
https://www.youtube.com/user/permafrostvideo (tunnel man)
https://www.youtube.com/user/flovholm aurora vis and […]

By |October 5th, 2009|Research|Comments Off on You Tube Policies

Compiling php 5.3

Source: php.net 5.3.0 latest stable build of 5.3 branch

./configure –prefix=/usr/local/php5
–mandir=/usr/share/man
–infodir=/usr/share/info
–sysconfdir=/etc
–with-config-file-path=/etc
–with-zlib
–with-zlib-dir=/usr
–with-openssl
–without-iconv
–enable-exif
–enable-ftp
–enable-mbstring
–enable-mbregex
–enable-sockets
–with-mysql=/usr/local/mysql
[…]

By |September 30th, 2009|INE Server Log|Comments Off on Compiling php 5.3

Apache Startup Script

The CentOS startup script for apache is located at /etc/init.d/httpd. I backed this file up to /home/lasota/saved/httpd_d/httpd and replaced it with:

#!/bin/bash
#
# apache
#
# chkconfig:
# description: Start up the Apache web server.
# Source function library.
. /etc/init.d/functions
RETVAL=$?
APACHE_HOME=”/usr/local/apache2/”
case “$1” in
start)
if [ -f $APACHE_HOME/bin/apachectl ]; then
[…]

By |September 30th, 2009|INE Server Log|Comments Off on Apache Startup Script

MySQL configure script error

Following the install directions for MySQL source distribution:

shell> groupadd mysql
shell> useradd -g mysql mysql
shell> gunzip < mysql-VERSION.tar.gz | tar -xvf –
shell> cd mysql-VERSION
shell> ./configure -prefix=/usr/local/mysql
shell> make
shell> make install
shell> cp support-files/my-medium.cnf /etc/my.cnf
shell> cd /usr/local/mysql
shell> chown -R mysql .
shell> chgrp -R mysql .
shell> bin/mysql_install_db –user=mysql
shell> chown -R root .
shell> chown -R mysql var
shell> bin/mysqld_safe –user=mysql &

I […]

By |September 22nd, 2009|INE Server Log|Comments Off on MySQL configure script error

MySQL Version 5.1.39

There are a number of email lists associated with MySQL. I have signed up for the Announce list. It’s purpose is to announce new versions of MySQL as well as important critical updates. There are a number of additional lists for MySQL here: https://lists.mysql.com/

By |September 21st, 2009|INE Server Log|Comments Off on MySQL Version 5.1.39