By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,905 Members | 2,075 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,905 IT Pros & Developers. It's quick & easy.

PHP interpeter or comiler or dubugger of some sort...for Mac?

P: n/a
I use a web hosting service that gives me FTP access to my directory on
a Linux server. I use Mac OS X. I write my code in Dreamweaver MX
which gives me color-coding, but I get really tired of having to upload
my code by FTP using Fetch every time I test it. Dreamweaver is
suposed to have a feature for automatically loading the files onto the
server each time you hit F12 for preview in browser, but I can't get it
to connect to my server, and anyway, when I run the PHP code on my
server, there is very little debuggin info. If there is a syntax
error, it simply displays a blank page! (pathetic) and if there is a
runtime error of some kind, it gives me very minimal information about
the error.
What I am looking for is some type of PHP interpreter or debugger for
Mac OS X. Preferably with breakpoints and variable watches and stuff
like that. Coldfusion is too expensive for me, and I can't even seem
to find out if it's exactly what I'm looking for anyway. All the
information on Colfusion is really confusing. All I have figured out
so far is that it is some type of tool for creating dynamic sites.
Does anyone know of any shareware or inexpensive program that will help
me run and debug PHP locally on Mac OS X? or even linux? I can never
get downloaded programs to run in linux, so if it is a linux program,
I'll need some help with that as well.

Jul 17 '05 #1
Share this Question
Share on Google+
8 Replies


P: n/a
Seems the Marc Liyanage's site is for you ...
http://www.entropy.ch/software/macosx/php/
I thought it's open source (free). Correct me if I am wrong.

Cheers!

Jul 17 '05 #2

P: n/a
jyuan wrote:
Seems the Marc Liyanage's site is for you ...
http://www.entropy.ch/software/macosx/php/
I thought it's open source (free). Correct me if I am wrong.

Cheers!

Yes it is free, but be sure to set error checking to "on". While the OP
is at Mark's site, he should download the mySQL package, too.

Mick
Jul 17 '05 #3

P: n/a
Hi,

I use DWMX2004 with OSX 10.3.6 and the FTP works fine, but if you are
having problems, or just want an off-line option, i recommend using
MAMP...
http://www.mamp.info/en/home/

Awsome little app that when its runnign gives you a local Apache,
MySQL, PHP install... just run the app, and save your files into the
'MAMP Root' - then bam! you have your own local web server with no
know-how.

Phil
Mick White wrote:
jyuan wrote:
Seems the Marc Liyanage's site is for you ...
http://www.entropy.ch/software/macosx/php/
I thought it's open source (free). Correct me if I am wrong.

Cheers!
Yes it is free, but be sure to set error checking to "on". While the

OP is at Mark's site, he should download the mySQL package, too.

Mick


Jul 17 '05 #4

P: n/a
i have been using BBEdit set up to preview with my local server
running. works great. i then can also use BBEdit to send it to my
main site and host but i normally just use Fetch to do that.
jimt
In article <11*********************@z14g2000cwz.googlegroups. com>,
<pp*******@gmail.com> wrote:
Hi,

I use DWMX2004 with OSX 10.3.6 and the FTP works fine, but if you are
having problems, or just want an off-line option, i recommend using
MAMP...
http://www.mamp.info/en/home/

Awsome little app that when its runnign gives you a local Apache,
MySQL, PHP install... just run the app, and save your files into the
'MAMP Root' - then bam! you have your own local web server with no
know-how.

Phil
Mick White wrote:
jyuan wrote:
Seems the Marc Liyanage's site is for you ...
http://www.entropy.ch/software/macosx/php/
I thought it's open source (free). Correct me if I am wrong.

Cheers!

Yes it is free, but be sure to set error checking to "on". While the

OP
is at Mark's site, he should download the mySQL package, too.

Mick

Jul 17 '05 #5

P: n/a
Mac OSX is based on FreeBSD 4.4, a UNIX enviroment. You SHOULD be able
to install PHP and run your comp as a local server. I don't have a mac,
but as far as I know, OSX has a server disk that has a lot of common
servers on it. PHP may also be on that. If you need help installing PHP
from source, email me.

Jul 17 '05 #6

P: n/a
php is on it. you just have to enable a few lines in apache.
jimt

In article <11**********************@z14g2000cwz.googlegroups .com>,
TheLobster at Gmail dot Com <th********@gmail.com> wrote:
Mac OSX is based on FreeBSD 4.4, a UNIX enviroment. You SHOULD be able
to install PHP and run your comp as a local server. I don't have a mac,
but as far as I know, OSX has a server disk that has a lot of common
servers on it. PHP may also be on that. If you need help installing PHP
from source, email me.

Jul 17 '05 #7

P: n/a
Thanks for the help guys!
php is on it. you just have to enable a few lines in apache.
jimt
How do you do that? I don't have apache installed...unless it comes
with OS X.

Jul 17 '05 #8

P: n/a
In article <11**********************@z14g2000cwz.googlegroups .com>,
"DJ Craig" <sp**@djtricities.com> wrote:
Thanks for the help guys!
php is on it. you just have to enable a few lines in apache.
jimt
How do you do that? I don't have apache installed...unless it comes
with OS X.


Just a few things first. PHP is an interpeted language and isn't really
compiled like C or FORTRAN. It's available both as a CLI (command-line
interpeter used from the Terminal.app) or as module from within Apache.
And MacOS X _does_ come with Apache albeit it's not running by default.
All you need to do is edit /etc/httpd/httpd.conf and uncomment out the
mod_php directives, create /etc/httpd/users/<USERID>.conf to configure
your site. Buy a book on Apache to learn how to do this.

You can purchase an IDE (integrated development environment) from ZEND
(http://www.zend.com/store/products/zend-studio.php) for $249. It has a
php interpeter built-in.

Or you can use BareBone's BBEdit for $179 and use it to develop pages
for your local site after you setup Apache on your system. BBEdit does
syntax color coding and will allow you to manage your site from within
the editor.

Or you can just use vi or emacs in the Terminal.app. Or gvim or xemacs
in their own windows. These editors do syntax color coding.

Most of this requires extensive reading to be able to set it up, beyond
what a simple tutorial would cover. Go to a local technical bookstore
and flip through a bunch of books to decide what suits your best. I
like the O'Reilly books (http://www.ora.com). They have php books,
books on the Macintosh from a UNIX user's perspective, and an Apache
book.

--
DeeDee, don't press that button! DeeDee! NO! Dee...

Jul 17 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.