07-22-2009
insturction for installing Apache and PHP on linux
Hello,
Please give me stepwise instruction on installing Apache and PHP on linux.
Thanks
sheen
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi!
I just got Ultra 5 computer an installed Solaris 8 on it. I'm trying to install Apache but I'm having some problems...
I tried to download a precompiled version of apache, but it seems as if I need a c compiler anyway.
When I try to run the configure command I get the following result:... (2 Replies)
Discussion started by: alfabetman
2 Replies
2. SCO
I need to install Apache TOmcat 4.01 on SCO Openserver 5.07 rather than using the default 4.1.29 version which comes with the original release of 5.07
anyone got any ideas hw to go about this, really struggling having downloaded the source and binariys and getting nowhere fast (0 Replies)
Discussion started by: ccarcher
0 Replies
3. Solaris
Ok, this may be a simple question, but I am unable to find an answer. I am trying to install apache 2.2 on a Solaris 9 box (sparc). I downloaded it from sunfreeware, and under /usr/local/apache2/doc/apache2/INSTALL they describe the installing procedure as:
$ ./configure --prefix=PREFIX
... (4 Replies)
Discussion started by: fidodido
4 Replies
4. UNIX for Dummies Questions & Answers
Please help... i'm new to this job and new to unix as well..... i'm trying to install apache 2.2.6 it's installed on one server... i need to install it on another server... my clue was to maybe use the fetch command... please help.....for example..... apache is on 69.50.132.14.... and it needs to... (1 Reply)
Discussion started by: marinob007
1 Replies
5. UNIX for Dummies Questions & Answers
I've installed apache server following all the instructions witch accuracy, but i can't start the server.
I extraxt the files
Configure to /usr/local/apache
make
make install
But when I want to /usr/local/apache/bin/apachectl start
I can't
There are a lot of files in the bin folder... (3 Replies)
Discussion started by: ncatdesigner
3 Replies
6. Linux
Hi i am using Fedora 8 and it comes with precompiled rpm distribution of php. I want to configure my Apache web server for php . Did i need to recompile php.... or it can be configured accordingly for apache...
Thanks for any sort of help (1 Reply)
Discussion started by: joshighanshyam
1 Replies
7. UNIX for Dummies Questions & Answers
I am installing apache on freebsd and the screen comes up with make options. Here I would like to deselect DAV and DAV_FS. How can this be done on the command line in order to achieve a silent install?
This is what I have currently, but the installation script still enters the menu with the make... (2 Replies)
Discussion started by: figaro
2 Replies
8. AIX
I am attempting to install an rpm of Apache from perzl.org on an AIX 6100-07-03-1207 server and it is failing. I think I have all of the dependencies installed. Can anyone help? Any help would be appreciated.
It fails with the following error:
# rpm -Uvh httpd-2.4.2-2.aix5.1.ppc.rpm ... (3 Replies)
Discussion started by: lbholde
3 Replies
9. Red Hat
Hi there,
I am trying to install few PHP tools in my Linux server by creating RPMs from source ( tar.gz) files. The issue here is that the tar.gz files does not have a configure file and so I am not able to do
./configure
make
install
opertations. I tried downloading src.rpms of these tools,... (0 Replies)
Discussion started by: Vicky81
0 Replies
10. Shell Programming and Scripting
Hi,
I want shell script for installing apache. Please give explain to script. I am learning shell script now only. (0 Replies)
Discussion started by: raj1983
0 Replies
LEARN ABOUT PHP
apache_note
APACHE_NOTE(3) 1 APACHE_NOTE(3)
apache_note - Get and set apache request notes
SYNOPSIS
string apache_note (string $note_name, [string $note_value = ""])
DESCRIPTION
This function is a wrapper for Apache's table_get and table_set. It edits the table of notes that exists during a request. The table's
purpose is to allow Apache modules to communicate.
The main use for apache_note(3) is to pass information from one module to another within the same request.
PARAMETERS
o $note_name
- The name of the note.
o $note_value
- The value of the note.
RETURN VALUES
If called with one argument, it returns the current value of note note_name. If called with two arguments, it sets the value of note
note_name to note_value and returns the previous value of note note_name. If the note cannot be retrieved, FALSE is returned.
EXAMPLES
Example #1
Passing information between PHP and Perl
<?php
apache_note('name', 'Fredrik Ekengren');
// Call perl script
virtual("/perl/some_script.pl");
$result = apache_note("resultdata");
?>
# Get Apache request object
my $r = Apache->request()->main();
# Get passed data
my $name = $r->notes('name');
# some processing
# Pass result back to PHP
$r->notes('resultdata', $result);
Example #2
Logging values in access.log
<?php
apache_note('sessionID', session_id());
?>
# "%{sessionID}n" can be used in the LogFormat directive
SEE ALSO
virtual(3).
PHP Documentation Group APACHE_NOTE(3)