Sponsored Content
Top Forums Web Development apache2 & two php versions, how to use specific version Post 302311197 by Neo on Tuesday 28th of April 2009 06:43:25 AM
Old 04-28-2009
Mabye you could try to install apache2 on debian etch using:

Code:
#apt-get install apache2

Then, install PHP5 support for apache2 on debian etch using:

Code:
#apt-get install libapache2-mod-php5 php5-cli php5-common php5-cgi

 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

What is the difference : SunOS & Solaris Version.

Sorry I think someone already pointed out this but I couldn't find it. Please tell me what is the difference between SunOS Version and Solaris Version. What is the purpose of maintaining these two things ? Thanks (2 Replies)
Discussion started by: champion
2 Replies

2. Shell Programming and Scripting

Awk: Version && nextfile

How can I find which version of Awk is installed? OpSystem is HPUX 11.x I am getting an error when trying to use the keyword nextfile and I dont know why! (Well, I can only assume that I have am using a version of Awk that does not support nextfile. However, according to O'Reilly, nextfile is... (3 Replies)
Discussion started by: google
3 Replies

3. SCO

SCO & Informix SE version 7

hi, I need to download Informix SE version 7 for SCO but i could'nt find the link. please if someone can send me the link. thinks. (1 Reply)
Discussion started by: whisper
1 Replies

4. Shell Programming and Scripting

PHP read large string & split in multidimensional arrays & assign fieldnames & write into MYSQL

Hi, I hope the title does not scare people to look into this thread but it describes roughly what I'm trying to do. I need a solution in PHP. I'm a programming beginner, so it might be that the approach to solve this, might be easier to solve with an other approach of someone else, so if you... (0 Replies)
Discussion started by: lowmaster
0 Replies

5. UNIX for Dummies Questions & Answers

How to compare 2 files & get specific value & replace it in other file.

Hiiii Friends I have 2 files with huge data. I want to compare this 2 files & if they hav same set of vales in specific rows & columns i need to get that value from one file & replace it in other. For example: I have few set data of both files here: a.dat: PDE-W 2009 12 16 5 29 11.11 ... (10 Replies)
Discussion started by: reva
10 Replies

6. AIX

Does anyone know the version of make on AIX 5.1 & 5.3?

Could you tell me the version of default make on AIX 5.1 & 5.3? (2 Replies)
Discussion started by: redraiment
2 Replies

7. Programming

pythonqt scriptint & orting to lower version

I am facing some problems in deploying my application for lower version of qt. Basically i want to generate scripts for my application and I have chosen pythonqt for this purpose. Pythonqt has the problem with lower version of Qt (Qt 4.5.2) and also with Higher version of Qt (Qt 4.7). So I... (1 Reply)
Discussion started by: sujandasmahapat
1 Replies

8. Solaris

Please Help me about php&apache2 onSol10

Ok. I'm have Apache2 build on Solaris10 release 10/9 and I installed Mysql that could work. but I install php5 by pkgadd this packet install in /usr/local/php and i edit httpd.conf Insert "LoadModule php5_module libexec/libphp5.so" after edited httpd.conf so i restart httpd by... (1 Reply)
Discussion started by: infjustice
1 Replies

9. Web Development

php showing 2 versions

Fedora core 5 upgraded PHP php -v PHP 5.3.8 (cli) (built: Sep 30 2011 05:55:57) Copyright (c) 1997-2011 The PHP Group but if I also created a <?php phpinfo() ?> doc and it reports as 5.1.6 still something missing somewhere? (1 Reply)
Discussion started by: ippy98
1 Replies
apt-p2p(8)						      System Manager's Manual							apt-p2p(8)

NAME
apt-p2p -- apt helper for peer-to-peer downloads of Debian packages SYNOPSIS
Normally apt-p2p is run from init.d using twistd, in which case no apt-p2p options can be specified on the command-line, and all configura- tion variables are read from the default config file locations of $HOME/.apt-p2p/apt-p2p.conf and /etc/apt-p2p/apt-p2p.conf. The command is then: twistd -y /path/to/apt-p2p [twistd options ...] For a detailed listing of the twistd options, see twistd(1) apt-p2p can also be run without twistd by executing: apt-p2p [options ...] In this case, you can specify the options documented below on the command-line. DESCRIPTION
apt-p2p is a helper for downloading Debian packages files with APT. It will download any needed files from other Apt-P2P peers in a peer- to-peer manner, and so reduce the strain on the Debian mirrors. APT SETUP In order for APT to send it's requests to apt-p2p, the sources.list entries must be modified to point to the local apt-p2p address. Unless you have changed the default port, then adding "localhost:9977/" to the beginning of each entry should be sufficient. For example, if your sources.list contains a line like this: deb http://ftp.us.debian.org/debian etch main contrib non-free then replace it with this: deb http://localhost:9977/ftp.us.debian.org/debian etch main contrib non-free You can do the same with 'deb-src' lines as well, and apt-p2p will be used to download and share your source packages as well. PORT FORWARDING It is VERY important that Apt-P2P's ports be reachable by other peers. This is needed both to share files with others, and to connect to others through the DHT to find peers for files. If you aren't accessible by others, you will not only not share anything, but your perfor- mance during downloading will be affected. Apt-P2P uses a default port of 9977, over both TCP and UDP, for it's communication. You can change this port in the /etc/apt-p2p/apt- p2p.conf file, and use different ports for TCP and UDP, if desired. Whatever port you use, make sure to forward it through your NAT or firewall to improve your performance and share with others. Information on port forwarding can be found here: (link to URL http://portforward.com/) PRIVATE NETWORKS Apt-P2P is not designed to function as a downloader for multiple clients on a private network. Apt-P2P checks the source of incoming requests and only responds to those from the localhost. For more information: (link to URL http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481243) OPTIONS
These programs follow the usual GNU command line syntax, with short options starting with a single dash ('-'), and long options starting with two dashes ('--'). A summary of options is included below. -c filename, --configfile=filename the filename to use for the configuration file, options found in this file are combined with those in $HOME/.apt-p2p/apt-p2p.conf and /etc/apt-p2p/apt-p2p.conf (see apt-p2p.conf(5) for the format of the file) -l filename, --logfile=filename the filename to print log messages to, or '-' to log to standard output, if not specified then /var/log/apt-p2p.log will be used -h, --help print a help message describing the invocation of the program -v, --version print the version of the program SEE ALSO
apt-p2p.conf(5), twistd(1) AUTHOR
This manual page was written by Cameron Dale <camrdale@gmail.com> for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. apt-p2p(8)
All times are GMT -4. The time now is 02:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy