Irish SEO,  Marketing & Webmaster Discussion

 

PHP on windows

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 ...


Go Back   Irish SEO, Marketing & Webmaster Discussion > Webmaster Help > Coding Help

Register Forum Rules FAQDonate Members List Calendar Search Today's Posts Mark Forums Read


Notices

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 17-02-2006, 09:29 PM
louie's Avatar
Senior Member
 
Join Date: Jan 2006
Location: Dublin, Ireland
Posts: 2,006
Nominated 5 Times in 3 Posts
TOTW/F/M Award(s): 0
louie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud of
Send a message via Yahoo to louie Send a message via Skype™ to louie
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
:. 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 17-02-2006, 09:34 PM
blacknight's Avatar
Web Slave
 
Join Date: Jan 2006
Location: Ireland
Posts: 6,259
blacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to behold
Send a message via ICQ to blacknight Send a message via AIM to blacknight Send a message via MSN to blacknight
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 17-02-2006, 09:47 PM
louie's Avatar
Senior Member
 
Join Date: Jan 2006
Location: Dublin, Ireland
Posts: 2,006
Nominated 5 Times in 3 Posts
TOTW/F/M Award(s): 0
louie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud of
Send a message via Yahoo to louie Send a message via Skype™ to louie
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 17-02-2006, 09:59 PM
ph3n0m's Avatar
Webmonkey
Recent Blog: I met a butterfly
 
Join Date: Jan 2006
Location: Ireland
Posts: 299
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
ph3n0m will become famous soon enough
Send a message via AIM to ph3n0m Send a message via MSN to ph3n0m Send a message via Yahoo to ph3n0m Send a message via Skype™ to ph3n0m
Default

Download http://apache2triad.net/ - all in one set up
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 17-02-2006, 11:26 PM
louie's Avatar
Senior Member
 
Join Date: Jan 2006
Location: Dublin, Ireland
Posts: 2,006
Nominated 5 Times in 3 Posts
TOTW/F/M Award(s): 0
louie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud of
Send a message via Yahoo to louie Send a message via Skype™ to louie
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 18-02-2006, 10:21 AM
ph3n0m's Avatar
Webmonkey
Recent Blog: I met a butterfly
 
Join Date: Jan 2006
Location: Ireland
Posts: 299
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
ph3n0m will become famous soon enough
Send a message via AIM to ph3n0m Send a message via MSN to ph3n0m Send a message via Yahoo to ph3n0m Send a message via Skype™ to ph3n0m
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7 (permalink)  
Old 18-02-2006, 12:18 PM
Member
 
Join Date: Feb 2006
Location: cloud9
Posts: 47
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
9barJoe will become famous soon enough
Send a message via MSN to 9barJoe Send a message via Skype™ to 9barJoe
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 18-02-2006, 02:16 PM
louie's Avatar
Senior Member
 
Join Date: Jan 2006
Location: Dublin, Ireland
Posts: 2,006
Nominated 5 Times in 3 Posts
TOTW/F/M Award(s): 0
louie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud of
Send a message via Yahoo to louie Send a message via Skype™ to louie
Default

got it working last night.
Now is time for studying php.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9 (permalink)  
Old 18-02-2006, 02:21 PM
Member
 
Join Date: Feb 2006
Location: cloud9
Posts: 47
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
9barJoe will become famous soon enough
Send a message via MSN to 9barJoe Send a message via Skype™ to 9barJoe
Default

well, if you need a hand pal, fire away.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10 (permalink)  
Old 18-02-2006, 02:35 PM
louie's Avatar
Senior Member
 
Join Date: Jan 2006
Location: Dublin, Ireland
Posts: 2,006
Nominated 5 Times in 3 Posts
TOTW/F/M Award(s): 0
louie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud of
Send a message via Yahoo to louie Send a message via Skype™ to louie
Default

Quote:
Originally Posted by 9barJoe
well, if you need a hand pal, fire away.
I might hold you on to that.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
php, windows

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +1. The time now is 11:56 PM.


Powered by: vBulletin Version 3.7.3, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
Hosted in Ireland by Blacknight - Test your ISP |Irish Hosting Directory| Armchair.ie|Logo by Eden Web Design|Avatars by Afterglow |Latest Blog Entries | VPS HostingAd Management by RedTyger

Search Engine Friendly URLs by vBSEO 3.2.0