Go Back  PPRuNe Forums > Misc. Forums > Computer/Internet Issues & Troubleshooting
Reload this Page >

Restarting PHP on apache server (under Mac OSX)

Wikiposts
Search
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

Restarting PHP on apache server (under Mac OSX)

Thread Tools
 
Search this Thread
 
Old 30th May 2005, 11:52
  #1 (permalink)  

Thread Starter
 
Join Date: Dec 2002
Location: London
Posts: 205
Likes: 0
Received 0 Likes on 0 Posts
Restarting PHP on apache server (under Mac OSX)

For the nerd amongst you. I've just upgraded the OS of my server (to Tiger). It's also reset all my server settings and turned off php. I know it comes installed on Mac OSX anyway so it's just a matter of starting it. I've done it before but forgotten how! There a command in the terminal somewhere or there's a file that can be manually edited. Either's fine. Thanks if you can shed any light!

solved!.........................
Rupert S is offline  
Old 31st May 2005, 08:24
  #2 (permalink)  
 
Join Date: Mar 2004
Location: Bournemouth, UK
Age: 53
Posts: 133
Likes: 0
Received 0 Likes on 0 Posts
I book marked this page on my first and only attempt at PHP. If I remember correctly you need to add an "AddType application/x-httpd-php .php .phtml" to your httpd.conf file and then restart the httpd service.

Regards
Stoney
Stoney X is offline  
Old 29th Jun 2005, 15:04
  #3 (permalink)  
 
Join Date: Apr 2000
Location: Hong Kong
Posts: 195
Likes: 0
Received 0 Likes on 0 Posts
Try this in the terminal:

/etc/httpd/httpd.conf

Uncomment out these two lines, by removing the leading hash character:

#LoadModule php4_module
#AddModule mod_php4.c

You'll need to restart (stop, then start) the "Personal Web Sharing" Preference Pane.
WaldoPepper is offline  

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.