Editing PHP Files in DreamWeaverMX
Posted on 2005-04-23
I've finally decided to ask this question here after almost a dozen failed attempts, the last one being over two years ago. I've had to edit PHP files on my server for the past few years, because I could never get DreamWeaver setup properly to edit PHP files. By this, I mean DreamWeaver WILL bring up the PHP file in the editor. But to view the results of the edit, I would have to upload the page back to the server and call it from there.
Here's what I've tried in the past (in general terms):
1) downloaded a few of those "Apache / MySQL / PHP" all-in-one "one-click-guaranteed-to-work" scripts from a few sources on the web. Result: More than one click, still didn't work (always a problem recognizing of finding the mySQL server).
2) Installed separate Apache, mySQL and PHP servers. Result: couldn't seem to get them to communicate with each other
Don't know if this is helpful, but here's my local environment:
Processor: Intel(R) Pentium(R) 4 CPU 1.60GHz
Memory: (RAM) 768 MB
OS: Microsoft Windows XP Home Edition
HD: 20 GB
This is what I have on my server:
apache (1.3.28 (Unix)
RedHat 9 i686
PHP version 4.3.2
MySQL version 4.0.22-standard
PERL version 5.8.1
Can anyone outline, in vivid detail - step 1, step 2, step 3 etc., the method for editing and then viewing edited PHP file results in DreamWeaver MX?
If possible, I prefer answers like this:
1) download apache server for windows from apache.org
2) download PHP from php.net
3) download mySQL for windows from ? and to ?
4) install apache server [in default apache directory ? or somewhere better suited for use with DreamWeaver?]
5) install PHP server [in suggested default PHP directory ? or somewhere better suited for use with DreamWeaver?]
6) install mySQL server [in suggested default mySQL directory ? or somewhere better suited for use with DreamWeaver?]
7) configure DreamWeaver MX as an application server by doing this : ?
In the past, I've installed Apache 1.3 and it worked with no problem. I've installed PHP4 but couldn't get it working without the connection to mySQL, which, even after installing, never worked properly.
If you are not an expert with this subject, but still want to contribute, I understand that's part of what EE is all about. But please don't supply answers here that ask me "If I've tried this or tried that", and please don't supply answers with "if you try this, it might work". I'm working on a computer now that has a completely clean slate - no Apache server, no PHP server, and no mySQL server. I don't want to gum it up with a bunch of experiments. I'd rather have an exact, detailed answer to this question or no answer at all. If I read answers that aren't specific and obviously expert in nature, I won't even acknowledge them. Don't mean to sound rude, just don't have time to be somebody's tester.