Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > PHP4 Compiling Info

PHP4 Compiling Info
Thread Tools
Fresh-Faced Recruit
Join Date: Sep 2000
Location: San Francisco, CA
Status: Offline
Reply With Quote
Oct 1, 2000, 11:46 PM
 
Can someone who has successfully compiled PHP4 as a DSO module post instructions on how they accompilshed this task?

There have been many posts stating that it has been done it works but there are a lot of people having problems including myself.

thanks.
lon
     
Fresh-Faced Recruit
Join Date: Sep 2000
Status: Offline
Reply With Quote
Oct 3, 2000, 11:41 AM
 
I saw the below post on macosx.com by Casey and it worked for me. After running the package you need to only do a couple of things.

1. Add the following lines to /Library/WebServer/Configuration/apache.conf
---
LoadModule php4_module /System/Library/Apache/Modules/libphp4.so
AddModule mod_php4.c

2. Un-comment the following lines from the same file
---
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

3. Restart apache.


An excerpt of the origional post is as follows
---
I was amazed to have installed PHP4 last night via an OS X package... no apache config or anything... it was so easy I almost feel violated... this PHP4 package is available from Tenon (http://www.tenon.com/) It is distributed along with their iTools beta.
     
   
Thread Tools
Forum Links
Forum 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 On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:12 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2