The Mac Observer

 
   
 
PHP on my Computer
Posted: 01 May 2002 08:07 AM [ Ignore ]
stars_3
Avatar
Total Posts:  396
Joined  2002-03-22

So, I am going to learn PHP. I orderd a book with CD. On the CD there is something to install PHP, but only for Windows anf Linux. I wonder if I can get something like that for OS X.
When not I’ll just take a free server with PHP support. And also I relized that when I go to System and then to Libary there is something called PHP. What is it or is it alredy installt?

 Signature 

Those signatures are great.

Profile
 
 
Posted: 25 April 2002 10:29 AM [ Ignore ] [ # 1 ]
Moderator
Total Posts:  5834
Joined  2001-06-11

It appears that Mac OS X does not come with everything you will want for PHP, according to http://developer.apple.com/internet/macosx/php.html

You can get and install PHP from http://www.entropy.ch/software/macosx/php/

The program Fink can also install PHP for you. You can find more about Fink at http://fink.sourceforge.net/

 Signature 

Mac mini: 2GHz Core 2 Duo, 8GB RAM, GeForce 9400M
iPhone 4S: 32GB, white
iPad 2: WiFi, 16GB, black

Profile
 
 
Posted: 26 April 2002 05:55 AM [ Ignore ] [ # 2 ]
stars_3
Avatar
Total Posts:  396
Joined  2002-03-22

Maby I am too dumm but I don’t get it and the download link at http://www.entropy.ch/software/macosx/php/  doesn’t work. So anyone knows a good free space provider for php.

 Signature 

Those signatures are great.

Profile
 
 
Posted: 27 April 2002 12:22 AM [ Ignore ] [ # 3 ]
stars_5
Total Posts:  2423
Joined  2001-07-02

Speak French?
http://www.levillage.org

 Signature 

Evil® takes many forms. Please submit them promptly, in triplicate.

Profile
 
 
Posted: 27 April 2002 03:31 AM [ Ignore ] [ # 4 ]
stars_3
Avatar
Total Posts:  396
Joined  2002-03-22

yes I speak french. But only petit. So most of the text on the page i didn’t understood so I decided not to take it.  Is there anything else?
I tried to find some space but there is so much that I don’t know which one I shold take. I only need it to leran php

 Signature 

Those signatures are great.

Profile
 
 
Posted: 27 April 2002 08:57 AM [ Ignore ] [ # 5 ]
stars_5
Total Posts:  1162
Joined  2001-11-02

download fink at the link David mentioned and install it.  Then go to the terminal and type

sudo fink install php

it will ask for your password (I’m assuming you are an admin) then install PHP 4.0.6 for you! 

 Signature 

All statements are to be taken with a grain of salt

Profile
 
 
Posted: 01 May 2002 08:07 AM [ Ignore ] [ # 6 ]
stars_3
Avatar
Total Posts:  396
Joined  2002-03-22

I istalled PHP now (without fink, it didn’t work with fink), but the thing is that everytime I turn my computer off (what I don’t do very often but still) I have to write this in the terminal:

gunzip libphp4.so.gz”
sudo mv libphp4.so /usr/libexec/httpd/”
cd /etc/httpd”
sudo apxs -e -a -n php4 libexec/httpd/libphp4.so”
sudo perl -p -i.bak -e ‘s%#(AddType S+-php[ -])%$1%i’


because when I don’t do it my php pages don’t open.
Is that normal? Did I do something wrong by the installation.
(I hope you people out there now what i mean, because my english is not that good to explain it so good icon_frown.gif   .)

 Signature 

Those signatures are great.

Profile
 
 
   
 
 

Apple Stock Quote (AAPL)

Loading...

Hot Topics

TMO Express

Join the TMO Express Daily Newsletter to get the latest Mac headlines in your e-mail every weekday. Find out more!

Top Deals From DealBrothers.com

Recent Features

Support The Mac Observer

We noticed you may be running AdBlock on your computer. It takes real money to run this site and to deliver the news, tips, and opinions you love to read.

If you wish to block the ads that pay for the creation of our content, we ask that you instead support TMO Directly, either with a $5 monthly recurring contribution, or a one-time donation of any amount of your choice. Thanks!

Subscribe with Paypal Donate with Paypal