This is a discussion on PHP on windows within the Coding Help forums, part of the Webmaster Help category; I have been all day at this and still can not get it to work. I am looking into php ...
| |||||||
| Register | Forum Rules | FAQ | Donate | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||||
| 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 :. Directory Submission Directory Submission :. News & Press Release Ireland GiveItSocks.com :. Used Cars Ireland, Car Parts & Car Audio Cars For Sale, Car Parts & Accessories :. I Have 2 Find It Directory SEF Directory |
| |||||
| 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
__________________ Hosting & Domains|Plesk Vps Hosting|Blog Tips|Films.ie|Gadgets|Monetisation Tips|Movie Chat Energise your forum! Click here for info |
| |||||
| 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. |
| |||||
| Download http://apache2triad.net/ - all in one set up |
| |||||
| Quote:
ps: i think i am over tired now |
| |||||
| 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 |
| ||||
| 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 |
| |||||
| got it working last night. Now is time for studying php. |
| |||||
| Quote:
|