Specific Package Tests

Summary

This page outlines a number of specific tests that should be run before packages are pushed to stable. Please note this should all be automated in some fashion in the future.


Packages

PHP

$ for i in $(yum list | grep php53 | grep -v installed | uniq | awk {' print $1 '}); \
    do yum install $i -y >/dev/null 2>&1 || echo "$i failed" ; \
    done


You some sub packages may conflict, and others may be missing deps like:

php53-psa-compat.x86_64 failed

Test manually where necessary.

Check PHP CLI

There should be no errors in output.

# php -v
PHP 5.3.3 (cli) (built: Aug 20 2010 17:22:27) 
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
    with the ionCube PHP Loader v3.3.17, Copyright (c) 2002-2010, by ionCube Ltd.
    with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH

Check Apache Error Log

There should be no php related errors/warnings:

# httpd -t
Syntax OK

# /etc/init.d/httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd:                                            [  OK  ]

# tail /var/log/httpd/error_log 
[Fri Aug 20 20:08:27 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Aug 20 20:08:27 2010] [notice] Digest: generating secret for digest authentication ...
[Fri Aug 20 20:08:27 2010] [notice] Digest: done
[Fri Aug 20 20:08:27 2010] [notice] Apache/2.2.3 (Red Hat) configured -- resuming normal operations