Hi Folks,
I'm running Win98 and I just downloaded phpdev4. I'm a newbie with this but it all installed very nicely and seems to be working just fine as a setup on it's own.

However when I open my browser (Apache:- http://localhost/) to preview a php page in Dreamweaver MX it freezes on me and I have to Ctrl, Alt, del out of Dreamweaver. Does anyone know why it's doing this?

I was thinking that running Dreamweaver and Apache at the same time was using too much CPU power, or my 256RAM is not enough to cope with the task.

I intend to add Win2K to my computer as I've heard this is a better OS for running these programs. Also Win2K uses RAM more efficiently than Win98, is this right? Can anyone give me some advice on this?
Cheers Mel

    At first, try to check your apache/php installation. Start your favorite text editor (not dreamwaver), and create test.php in your www root with following content:

    <?php phpinfo(); ?>
    

    Then point your browser to http://localhost/test.php. If everything is ok, you need to check your dreamweaver setup (www root etc.).

    BTW. win2k is MUCH better, than win9x. And I strongly suggest you to remove win9x from your PC and install win2k.

      Hi IceD,
      Thanks for your reply. I ran the test.php in my Apache/php setup and it worked just fine. I've been trying different approaches in Dreamweaver's Site Edit configuration wizard and it's freezing on me even before the Browser opens. Do you run this type of setup with php and Dreamweaver on a Local/Network? How have you config'ed Dreamweaver to work this?

      Another question, Dreamweaver is my default for php files but as I'm having so many problems with it, I'd like to use Notepad as my php default editor. How can I change the default editor?

      Also you suggest I replace Win98 for Win2K, why do this if I can have both on my System? What difference does if make if I have both on my system or just Win2K?

      The reason I want to keep Win98 is that CubaseVST 3.7 runs better on it, if I am to believe the comments on the Cubase Forum.
      Cheers Mel
      (Sorry for the delay in reply, I've been ill πŸ™ )

        I have just been using a Win 98 kit with Apache and PHP and when I try to display a PHP page that is less 350 characters I get 500 - INTERNAL SERVER ERROR. More than 350 chararacters and it displays fine.
        phpinfo() will also display which makes it all the more confusing.
        At work I have a W2K kit and have had no such problems.

        So the moral of this story is....go with W2K

          Thanks for your replies guy's,
          I've tried loads of ways to create a site in DreamweaverMX that can be previewed by my Browser using Apache as http://localhost and it still freezes on me. It's very annoying.
          This is what I now have set up, (doesn't work)

          1. Local Root Folder - C:\Sites\etc.
          2. Remote - None (uses local as default)
          3. Testing Server -
            Access=Local/Network,
            Testing Server Folder=C:\phpdev\www,
            URL of Root file of Testing Server=http://localhost/

          Can anyone see where I'm going wrong?

          What I'd also still like to know is:-
          How do I stop php files being opened in Dreamweaver by default?
          and
          Why replace Win98 with Win2K when I can run Win98 on my 1st Harddisk and Win2K on my 2nd Harddisk? Am I gonna get conflicts or something? I just want to know what the pro's and con's are.
          Cheers Mel

            basicly problem of multi boot is u can only run 1 os ... so if u don't mind to switch between 2 os'es it won't be a problem.

            U say u use this program wich shouldn't run well under win2k.. why not try how it runs under win2k and then u still can delete win98 if it runs fine..

            Biggest advantage of win2k is that it is much more stable.. i only switched to win2k like this year.... befor that i used a very stable conf of win98 (only crashed once a day or so when doing multiple programs at same time πŸ˜ƒ, and not having patience enough :rolleyes: ) anywayz i switched to win2k.. system had 1 blue screen, because some bad readable file, over a 6 month period..or maybe even longer.

            Anywayz i would prefer win2k over win98 even on a amdk6-2 (550) system..

            About dreamweaver, if u like notepad better then dreamweaver try using, phpedit. very nice and easy to be used program for free.

            dunno exact url anymoreπŸ˜ƒ but prolly u will find it in google or www.hotscripts.com

            how to remove dreamweaver as ur default editer for php files.. well if some1 can't give u an easy way out.. i know 1.. just deinstall it..and re-install it.(very drastic but most likely will work πŸ˜› )

            If u use phpedit for example u can work within the program with the different files

            grtzz,

              Thanks Shadeless, I'll check phpedit out.
              Anyone any other idea's to change Dreamweaver as php file default?
              Cheers Mel

                I'm not sure how to pull the default from within Dreamweaver, or if you can...but in Win98 why don't you just:

                Open 'My computer'
                View --> Folder Options
                Open "File Types" tab
                Under "Registered File types" scroll down to "PHP file"
                Click Edit
                Then Edit the "Open" Action to show which program you would like to open it.

                Should be easy enough. πŸ™‚

                  Thanks for your advice Shadeless,
                  php-er, I tried looking for a php extention in Folder Options but it wasn't there. I guess I'll have to make a new one but first I'll find an editor I prefer before I try.
                  Cheers Mel

                    all u have to do to open php files with notepad (or any other program) is leftclick on php file of your choice press shift and right click, you will get an option 'open with' - choose notepad and dont forget to click 'always use this program to open this file'.

                    As for dreamweaver I have a similar problem.... πŸ™

                      Thanks Alerus,
                      That's a real handy new function I've learn't. Sorry to hear your having the same Dreamweaver/Apache crashing problem. Let's hope someone can still help us yet πŸ™‚
                      Cheers Mel

                        Dreamweaver MX, and the rest of the Studio MX apps, are known memory hogs. My guess on your problem would be that Win98 is having problems with managing the resources. Instead of testing in browser, why not open your browser and then surf to the page.

                        Also, look into upgrading your OS. As you get newer and newer apps you are going to have more and more problems because the code base that MS is going to isn't win9x it's WinNT.

                          Write a Reply...