Sponsored Content
Top Forums UNIX for Dummies Questions & Answers insturction for installing Apache and PHP on linux Post 302337033 by drewrockshard on Thursday 23rd of July 2009 09:12:24 AM
Old 07-23-2009
Quote:
Originally Posted by sheen
Hello,
How do I start appache2 on linux?
It depends, again, on the distro.

For Redhat/CentOS (from package manager install):

Code:
/etc/init.d/httpd start

For Debian/Ubuntu (from package manager install):

Code:
/etc/init.d/apache2 start

For Gentoo (from package manager install):

Code:
/etc/init.d/apache2 start

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Installing Apache and a C Compiler on Solaris 8

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

HELP SCO 5.07 and Installing Apache Tomcat 4.01

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

Installing APACHE - simple question

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

installing apache (nightmare for me)

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

Error installing apache

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

Installing Php for apache

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

Installing Apache with make options

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

Problem Installing Apache from rpm

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

Installing PHP tools using RPM in Redhat Linux

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

Installing Apache with Shellscript

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
APACHE_RESPONSE_HEADERS(3)						 1						APACHE_RESPONSE_HEADERS(3)

apache_response_headers - Fetch all HTTP response headers

SYNOPSIS
array apache_response_headers (void ) DESCRIPTION
Fetch all HTTP response headers. RETURN VALUES
An array of all Apache response headers on success or FALSE on failure. CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 5.5.7 | | | | | | | This function became available in the CLI | | | server. | | | | | 5.4.0 | | | | | | | This function became available under FastCGI. | | | Previously, it was supported when PHP was | | | installed as an Apache module or by the NSAPI | | | server module in Netscape/iPlanet/SunONE web- | | | servers. | | | | +--------+---------------------------------------------------+ EXAMPLES
Example #1 apache_response_headers(3) example <?php print_r(apache_response_headers()); ?> The above example will output something similar to: Array ( [Accept-Ranges] => bytes [X-Powered-By] => PHP/4.3.8 ) SEE ALSO
apache_request_headers(3), headers_sent(3), headers_list(3). PHP Documentation Group APACHE_RESPONSE_HEADERS(3)
All times are GMT -4. The time now is 08:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy