PPRuNe Forums

PPRuNe Forums (https://www.pprune.org/)
-   Computer/Internet Issues & Troubleshooting (https://www.pprune.org/computer-internet-issues-troubleshooting-46/)
-   -   Restarting PHP on apache server (under Mac OSX) (https://www.pprune.org/computer-internet-issues-troubleshooting/176667-restarting-php-apache-server-under-mac-osx.html)

Rupert S 30th May 2005 11:52

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!.........................

Stoney X 31st May 2005 08:24

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

WaldoPepper 29th June 2005 15:04

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.


All times are GMT. The time now is 12:19.


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