Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Wink problems in installing php in to my systems

    kindly say the steps for installing the php into my systems.

  2. #2
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Western Kentucky
    Depends on the system, if its package based (RPM, deb), use the package manager. It could be rpm, yum, or apt-get.

    If its something like gentoo you would use emerge.

    If its freebsd, you'd have to go into the ports tree and install it with make.
    linux user # 503963

  3. #3
    Just Joined!
    Join Date
    Mar 2009
    Santa Cruz, California
    In systems derived from Debian (such as Ubuntu), you can use apt-get to install mysql, apache2, and php, but I generally use synaptic which makes it easy to see what you need - that's what I do the most. Likewise with RedHat, Fedora, etc. - you can use yum and the graphical extensions to that. Other Linux versions have their own installers.

    On BSD systems (FreeBSD, OpenBSD, NetBSD, etc.) you generally have to install Apache2, MySQL, and PHP together by compiling from source. It's necessary to do that in in order to get the php5-mysql library built - it does not come as a binary package, for some reason. For instructions, search for "FreeBSD LAMP" etc. It's generally preferable to build applications from source on the BSD systems.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts