Announcement

Collapse
No announcement yet.

Kubuntu 7.04 and php4 howto

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Kubuntu 7.04 and php4 howto

    I know there are allot of users out there installing 7.04 who need PHP4 support (PHP5 allthough backwards compatible is not that easy to work with if you are coding a large framework).
    Since all my projects and clients (due to server limitations) do require code in PHP4 I had to install PHP4 on my Kubuntu 7.04 installation.
    Ubuntu 7.04 developers removed PHP4 support from the repositories and now the only available PHP package to install is PHP5.
    The following is a quick and elegant way to get PHP4 support in your Kubuntu / Ubuntu installation without needing to compile packages or create .deb files:
    1) Download the following packages from a Debian repository:
    libapache2-mod-php4_4.4.4-9+lenny1_i386.deb
    php4_4.4.4-9+lenny1_all.deb
    php4-cli_4.4.4-9+lenny1_i386.deb
    php4-common_4.4.4-9+lenny1_i386.deb
    php4-curl_4.4.4-9+lenny1_i386.deb
    php4-gd_4.4.4-9+lenny1_i386.deb
    php4-mysql_4.4.4-9+lenny1_i386.deb


    The above files can be found in the Debian repository inside under the following directory:
    Code:
    ftp://ftp.somedebianrepository.com/pub/linux/ubuntu/pool/universe/p/php4/
    2) Install the following packages from adept:
    libzzip-0-12
    apache2
    apache2.2-common
    apache2-mpm-prefork


    After installing the packages from step2, proceed installing the packages you downloaded in step1.
    Restart you webserver, you should be running apache2 with php4 enabled.
    In case you need any additional packages of php installed: (e.g php4-domxlm) Just download the required package from the repository and install it.
Working...
X