In article <google.com>,
com (Joseph O'Brien) wrote:
Look in /Applications/Installers/ for the Developer's tools installer.
You now have C++ installed. Run the C++ development environment in
use its "New" command to make and run a few of its sample projects.
Start reading the projects in /Developer/Examples.
For learning C++, I recommend "Accelerated C++" by Koenig and Moo. Watch
out though, many of the example programs are not exception safe. Good
followup texts are "Effective C++" by Scott Meyers and "Exceptional C++"
by Herb Sutter. Once you've read those, read the sequels: More
Exceptional C++, More Exceptional C++ and Effective STL. Also read
"Writing Solid Code" by Steve Maguire.
For writing Macintosh programs, make sure to read
For php: Edit /etc/http/http.config searching for the two commented out
lines that refer to php. Uncoment those lines by remove the leading '#'
Here is how you edit the file:
from Terminal, say:
Select http.config. do a "Get Info" menu command.
in the Get Info window, click to open the disclosure triangles for
"Ownership&Permissions" and also the one for "Details"
Click on the lock icon on the "Owner" line, to authenticate yourself.
Change the owner of the file to you. Edit the file with a text editor.
Text Edit will do.
Save your changes. Change the ownership of the file back to "system".
Now, in the "Sharing" panel of System Preferences, turn on personal web
sharing. php is now installed in your web server.
For an example php program, I've had good luck with ewiki from
http://erfurtwiki.sourceforge.net/ . It prefers mySql, but if it can't
find that, it just writes its data to files in the file system. Watch
out: in the default configuration, it writes to /var/tmp so all its data
files will be erased each time you restart your mac.
To install ewiki, copy the ewiki folder that you downloaded from
sourceforge to your Sites folder as "ewiki". To use ewiki, assuming your
logname is "joseph", type the following to your web browser:
The source code for ewiki is in the file ewiki.php