11-06-2011
the specifics of the inquiry that was posted by cowlips was in reference to a local development environment for dynamic HTML docs commonly known as web site or web applications.
Dynamic.
The specifics were in relation to the OS environment of Apple and Apple having Apache , PHP installed in the OS when the OS is shipped.
And having SQL some where in the OS.
Apple
The ideal local environment for HTML dynamic docs would have Apache, PHP and MySQL.
And the how to, do it in Apple.
There are instructions to build a Dynamic Environment for other OS`s out there in the open source community.
There is Zero instructions in Apple to combine, make, configure, create a Environment for Dynamic Development of HTTP Docs using PHP MySQL and Apache.
Lamp is for Linux.
The original question was basic.
How to.
Or.
Can it be done.
I apologize for any inconvenience to you or the forum.
sometimes i will spend a hour or two defining and refining a question down to bare bones.
trying.
that is all.
just trying.
thank you.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
This seems like a simple thing, but I can't seem to find an environment variable that has the local/current directory stored in it. I have a script that writes out the files in a directory. I want to append the full path to the file names in the output file. (4 Replies)
Discussion started by: ttilsch
4 Replies
2. UNIX for Advanced & Expert Users
I have a file that reads File (X.txt)
Contents of record 1:
rdrDESTINATION_ADDRESS (String) "91 971502573813"
rdrDESTINATION_IMSI (String) "000000000000000"
rdrORIGINATING_ADDRESS (String) "d0 movies"
rdrORIGINATING_IMSI (String) "000000000000000"
rdrTRAFFIC_EVENT_TIME... (0 Replies)
Discussion started by: magedfawzy
0 Replies
3. Web Development
Hi,
I am fairly new to unix so please go easy on me.. I have a VPS on which I would like to setup a development and live web site environment and can't seem to work out what is the best technique for doing so.
I would like to be able to mirror the live site and have a "check out" and... (0 Replies)
Discussion started by: ciantrius
0 Replies
4. UNIX for Dummies Questions & Answers
Hello all,
First time here and with linux/*nix like OS's.
What I'm trying to do is have a development environment in unix with GCC, GDB, and some editor like Vim/emacs/nano/etc....
I have Openbsd loaded on a virtual machine in VMware workstation. Boots fine and all seems good. I have... (2 Replies)
Discussion started by: tuck
2 Replies
5. Linux
hi guys,
please i would like to know how to cache dynamic websites, on squid 3.1
thanks (1 Reply)
Discussion started by: zazoo
1 Replies
6. Programming
hi
am senthil
am developing a software to send and receive SMS using HTTP connection
first of all am forming a URL and sending that URL to a remote server using my Client Program
i send that url through Socket(using Send() Function)
if i send more than one URL one by one using the same... (0 Replies)
Discussion started by: senkerth
0 Replies
7. Shell Programming and Scripting
hi
am senthil
am developing a software to send and receive SMS using HTTP connection
first of all am forming a URL and sending that URL to a remote server using my Client Program
i send that url through Socket(using Send() Function)
if i send more than one URL one by one using the same... (4 Replies)
Discussion started by: senkerth
4 Replies
8. Web Development
Hypertext Transfer Protocol -- HTTP/1.1 for Reference - HTTP Headers
10 Status Code Definitions
Each Status-Code is described below, including a description of which method(s) it can follow and any metainformation required in the response. (1 Reply)
Discussion started by: Neo
1 Replies
9. Shell Programming and Scripting
Hi,
I'm trying to write a script to determine the time gap between HTTP PUT and HTTP DELETE requests in the HTTP Servers access log.
Normally client will do HTTP PUT to push content e.g. file_1.txt and 21 seconds later it will do HTTP DELETE, but sometimes the time varies causing some issues... (3 Replies)
Discussion started by: Juha
3 Replies
LEARN ABOUT PHP
apache_request_headers
APACHE_REQUEST_HEADERS(3) 1 APACHE_REQUEST_HEADERS(3)
apache_request_headers - Fetch all HTTP request headers
SYNOPSIS
array apache_request_headers (void )
DESCRIPTION
Fetches all HTTP request headers from the current request.
RETURN VALUES
An associative array of all the HTTP headers in the current request, 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_request_headers(3) example
<?php
$headers = apache_request_headers();
foreach ($headers as $header => $value) {
echo "$header: $value <br />
";
}
?>
The above example will output something similar to:
Accept: */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0
Host: www.example.com
Connection: Keep-Alive
NOTES
Note
You can also get at the value of the common CGI variables by reading them from the environment, which works whether or not you are
using PHP as an Apache module. Use phpinfo(3) to see a list of all of the available environment variables.
SEE ALSO
apache_response_headers(3).
PHP Documentation Group APACHE_REQUEST_HEADERS(3)