Old and obsolete Tips for the Apache Webserver.
This section refers to Slack 11.0 which ships with Php4. Download & install Php5 Slack package:
wget 'http://ftp.gwdg.de/pub/linux/slackware/slackware-11.0/extra/php5/php-5.2.0-i486-1.tgz' upgradepkg php-5.2.0-i486-1.tgz
The upgrade script of the package keeps old php.ini & mod_php.conf. We need the new files:
cp -a /etc/apache/php.ini /etc/apache/php.ini.bak cp -a /etc/apache/php.ini-recommended /etc/apache/php.ini cp -a /etc/apache/mod_php.conf.example /etc/apache/mod_php.conf
If you made manual changes in your old php.ini, do the same with the new php.ini now.
Note: Ulike in php4 short_open_tag is off by default in php5.