Connecting Tech Pros Worldwide Forums | Help | Site Map

re-compiling php

Newbie
 
Join Date: Oct 2006
Posts: 1
#1: Oct 18 '06
I'm using Mac OS 10.4 to attempt to run some php code that will connect to a MS SQL database on a PC. The Mac is already running as a web server and already had PHP "activated".

The developer tells me that I needed freetds to make sure that php was configured to communicate with MS SQL. I downloaded and was able to run the make and make install commands for freetds. I then tried to download the latest version of PHP and ran the make and make install commands.

Should the new version of PHP show up in Server Admin?

Do the locations of the code matter (i.e. should the freetds code be in the same folder as the new PHP code?)

Familiar Sight
 
Join Date: Sep 2006
Location: Paris, France
Posts: 143
#2: Oct 19 '06

re: re-compiling php


Quote:

Originally Posted by Gregg Miller

I'm using Mac OS 10.4 to attempt to run some php code that will connect to a MS SQL database on a PC. The Mac is already running as a web server and already had PHP "activated".

The developer tells me that I needed freetds to make sure that php was configured to communicate with MS SQL. I downloaded and was able to run the make and make install commands for freetds. I then tried to download the latest version of PHP and ran the make and make install commands.

Should the new version of PHP show up in Server Admin?

Do the locations of the code matter (i.e. should the freetds code be in the same folder as the new PHP code?)

Did you make certain that freetds was enabled in the configure options?

Before compiling, run ./configure --help and check the possible options. You should be able to enable it that way.
Reply