+ Reply to Thread
Page 1 of 3
1 2 3 LastLast
Results 1 to 10 of 21

Thread: PHP on windows

  1. #1
    louie's Avatar
    louie is offline Senior Member louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough
    Join Date
    Jan 2006
    Location
    Dublin, Ireland
    Posts
    2,328

    Default PHP on windows

    I have been all day at this and still can not get it to work.

    I am looking into php coding, but i can not get to display pages on localhost. I got the php 5 installed, looked into the php.ini file, made changes, but hell no doesn't get it yet.

    I have the dreamweaver MX and can not make connection to the database, something about "mysql_pconnect".

    I'll give it another go tomorrow, but i was hopping in getting some light from some of you.
    :. Web Design & Development Web Design Ireland
    :. Search Engines Optimization Search Engines Optimization
    :. Car Parts & Accessories Car Parts
    :. Cars Ireland Cars Ireland
    :. I Have 2 Find It Directory SEF Directory

  2. #2
    blacknight's Avatar
    blacknight is offline Web Slave blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold
    Join Date
    Jan 2006
    Location
    Ireland
    Posts
    7,900

    Default

    Could you give more information on your development environment?

    If you are just starting out with PHP I'd recommend you try one of the install kits you can get off Hotscripts. Most of them will give you Apache + PHP and maybe Perl and TCL

    You may end up deploying on a windows environment, but you may find it easier to get to grips with the language if you start on apache

  3. #3
    louie's Avatar
    louie is offline Senior Member louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough
    Join Date
    Jan 2006
    Location
    Dublin, Ireland
    Posts
    2,328

    Default

    I was trying to get it to work with windows IIS, but now i am about to install Apache server, then reinstall php 5 again see how it works out.
    :. Web Design & Development Web Design Ireland
    :. Search Engines Optimization Search Engines Optimization
    :. Car Parts & Accessories Car Parts
    :. Cars Ireland Cars Ireland
    :. I Have 2 Find It Directory SEF Directory

  4. #4
    ph3n0m's Avatar
    ph3n0m is offline Webmonkey ph3n0m will become famous soon enough
    Join Date
    Jan 2006
    Location
    Ireland
    Posts
    317

    Default

    Download http://apache2triad.net/ - all in one set up

  5. #5
    louie's Avatar
    louie is offline Senior Member louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough
    Join Date
    Jan 2006
    Location
    Dublin, Ireland
    Posts
    2,328

    Default

    Quote Originally Posted by ph3n0m
    Download http://apache2triad.net/ - all in one set up
    I got that. Very nice package, but how do you create a connection to the database using dreamweaver?

    ps: i think i am over tired now
    :. Web Design & Development Web Design Ireland
    :. Search Engines Optimization Search Engines Optimization
    :. Car Parts & Accessories Car Parts
    :. Cars Ireland Cars Ireland
    :. I Have 2 Find It Directory SEF Directory

  6. #6
    ph3n0m's Avatar
    ph3n0m is offline Webmonkey ph3n0m will become famous soon enough
    Join Date
    Jan 2006
    Location
    Ireland
    Posts
    317

    Default

    mysql_pconnect - opens a persistent connection - as far as I know the default install from apachetriad doesnt allow persistant connections

    http://www.google.ie/search?hl=en&q=...e+Search&meta=

    Try the first few links

  7. #7
    9barJoe is offline Member 9barJoe will become famous soon enough
    Join Date
    Feb 2006
    Location
    cloud9
    Posts
    47

    Default

    http://www.easyphp.org/ is a very simple all in one setup for php / apache / mysql.

    runs fine on windows. I have mine on windows server 2000 - works fine.


    I definatly wouldn't run php on an IIS local server - been there - don't work.

    I would also stick to php4 unless you are particuarly interested in working with php5

    I would question why you are using mysql_pconnect , in my experience stick with mysql_connect. I have experienced problems myself of an accumaliting number of mysql processes which has been down to people using pconnect. In fact I would now configure php.ini with allow_persistent = Off unless there was some good reason not too.

    Another tip - try to have your local server configured as closely as possible to your deployment server.
    roll on summer

  8. #8
    louie's Avatar
    louie is offline Senior Member louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough
    Join Date
    Jan 2006
    Location
    Dublin, Ireland
    Posts
    2,328

    Default

    got it working last night.
    Now is time for studying php.
    :. Web Design & Development Web Design Ireland
    :. Search Engines Optimization Search Engines Optimization
    :. Car Parts & Accessories Car Parts
    :. Cars Ireland Cars Ireland
    :. I Have 2 Find It Directory SEF Directory

  9. #9
    9barJoe is offline Member 9barJoe will become famous soon enough
    Join Date
    Feb 2006
    Location
    cloud9
    Posts
    47

    Default

    well, if you need a hand pal, fire away.
    roll on summer

  10. #10
    louie's Avatar
    louie is offline Senior Member louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough
    Join Date
    Jan 2006
    Location
    Dublin, Ireland
    Posts
    2,328

    Default

    Quote Originally Posted by 9barJoe
    well, if you need a hand pal, fire away.
    I might hold you on to that.
    :. Web Design & Development Web Design Ireland
    :. Search Engines Optimization Search Engines Optimization
    :. Car Parts & Accessories Car Parts
    :. Cars Ireland Cars Ireland
    :. I Have 2 Find It Directory SEF Directory

+ Reply to Thread
Page 1 of 3
1 2 3 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Optimization by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64