Pejman Moghadam / PHP

CakePHP 1.3 - Prerequisits in Slackware 13.1

Public domain

  1. Check if php is enabled in httpd.conf

    DirectoryIndex index.php index.html
    Include /etc/httpd/mod_php.conf
  2. Check if mod_rewrite is enabled in httpd.conf

    LoadModule rewrite_module lib/httpd/modules/
  3. Change "AllowOverride None" to "AllowOverride All" in httpd.conf :

    <Directory "/srv/httpd/htdocs">
      Options Indexes FollowSymLinks
      AllowOverride All
      Order allow,deny
      Allow from all
  4. PCRE should compile with --enable-unicode-properties option :

    cd /usr/src
    mkdir pcre
    cd pcre
    wget -c\
    sed -i -e \
      's,./configure \\,./configure --enable-unicode-properties \\,' \
    chmod +x pcre.SlackBuild
    mv /tmp/pcre-8.02-*.t?z . 
    removepkg pcre
    installpkg pcre-8.02-*.t?z
    /etc/rc.d/rc.httpd stop
    /etc/rc.d/rc.httpd start

BY: Pejman Moghadam
TAG: php, cakephp, pcre
DATE: 2011-11-04 10:50:48

Pejman Moghadam / PHP [ TXT ]