 |
 |
Is PHP Included
|
 |
|
 |
|
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status:
Offline
|
|
Is PHP Included in OS X Server 10.1?
How can I check?
If its not, how can I install it?
I found some directions on the internet, but they were about 2 pages long and simply, I don't get it.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: May 1999
Location: San Jose, CA
Status:
Offline
|
|
I don't recall if Mac OS X Server 10.1 included PHP or not. it is in 10.2, but that probably doesn't help you.
The easiest way to test is to run:
/usr/bin/php-config --version
and see what you get.
However, even if it is installed, you might want to download a new copy anyway. Even Jaguar comes with PHP 4.1.2, which is a little behind the current 4.2.2 release.
The page http://www.php.net/manual/en/install.macosx.php includes step-by-step instructions on installing it on Mac OS X.
|
|
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: May 2001
Location: New Haven, CT, USA
Status:
Offline
|
|
Here's what I get on my Xserve running 10.1.5 (since Apple hasn't seen fit to send me 10.2 yet :-)
[bloch:~] sra% /usr/bin/php-config --version
4.1.2
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status:
Offline
|
|
Well this is what I get????
[localhost:~] johnm% /usr/bin/php-config --version
Usage: /usr/bin/php-config [--prefix|--includes|--extension-dir]
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status:
Offline
|
|
but in ls of /usr/bin/ would tend to suggest that i have both php and mysql already installed out of the box?
|
|
|
| |
|
|
|
 |
|
 |
|
Admin Emeritus 
Join Date: Nov 2000
Location: New Yawk
Status:
Offline
|
|
PHP is installed on X Client and X Server. MySQL is only installed (by default) on X Server.
To enable PHP, uncomment the AddModule and LoadModule lines in /etc/httpd/httpd.conf that refer to the php4_module.
|
|
"Do not be too positive about things. You may be in error." (C. F. Lawlor, The Mixicologist)
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
 |
|
 |
| |
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|