image
image

|


Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old March 14th, 2003, 09:41 PM
Registered User
 
Join Date: Jan 2002
Location: San Jose
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
clc2112 is on a distinguished road
PHP / Apache Help... OS X Server

Im running OS X server ...

I downloaded the latest php and apache and used the OS X Server specific install directions from:

http://www.php.net/manual/en/install.macosx.php

I got no errors during ./configs, make or make install. The apache started right up. however the php test file doesnt work, the browser only shows the text of the file.

<?php phpinfo(); ?>

As i said I did it exaclty like the website stated...

Any body have any clues on how to figure out whats wrong and fix?
__________________
"A few guys with guns can ruin everything"
-N Peart
Reply With Quote
  #2  
Old March 15th, 2003, 01:30 AM
kilowatt's Avatar
mach-o mach-o man
 
Join Date: Mar 2001
Location: irc.lfnet.net #kilonet
Posts: 980
Thanks: 0
Thanked 0 Times in 0 Posts
kilowatt is on a distinguished road
Post your apache config file dude.

It would appear that apache hasn't been made aware that .php files are, in fact, php files.
__________________
irc.lfnet.net #kilonet -+=join in=+-
Quote:
...the belief that the rights of man come not from the generosity of the state but the hand of God...
PEBKAC - Problem Exists Between Keyboard And Chair. --who said it first?
Audio Engineer - ProTools and Logic Pro Certified.
FCC Licensed RF Technician
Reply With Quote
  #3  
Old March 15th, 2003, 01:59 AM
Registered User
 
Join Date: Jan 2002
Location: San Jose
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
clc2112 is on a distinguished road
bits o' the httpd.conf file

The whole /etc/httpd/httpd.conf file, all 1462 lines?

Or specific lines like: (some of these WERE NOT uncommented until just now. (thought the install/config was supposed to do that) but a restart of apache still didnt help)

#### For Mac OS X Server: To enable WebMail, or any other php functions,
#### uncomment the directive below and also the corresponding AddModule
#### directive further below.
#
LoadModule php4_module /usr/libexec/httpd/libphp4.so

#### For Mac OS X Server: To enable WebMail, or any other php functions,
#### uncomment the directive below and also the corresponding LoadModule
#### directive above.
#
AddModule mod_php4.c

#### For Mac OS X Server: Do not uncomment; this is already handled by
#### Server Settings app, with directives in mime_macosxserver.conf
#
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

#### For Mac OS X Server: To enable WebMail, or any other php functions,
#### uncomment the directive below and also the corresponding LoadModule
#### directive above.
#
AddModule mod_php4.c
__________________
"A few guys with guns can ruin everything"
-N Peart
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SHUTDOWN without warning SCARY!! astro_sk Mac OS X System & Mac Software 10 May 16th, 2003 01:45 PM
Enabling PHP in 10.2 Client sixthring Mac OS X System & Mac Software 2 October 28th, 2002 12:48 PM
php in os x server 10.1 banzai Mac OS X System & Mac Software 5 June 12th, 2002 04:01 PM
apache 2.0 php problem ragengs Mac OS X System & Mac Software 1 May 13th, 2002 06:54 PM
PHP / Apache install with 10.1 slur Mac OS X System & Mac Software 14 October 6th, 2001 06:35 PM


All times are GMT -5. The time now is 04:58 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.