i'm working on a school project and we're going to use php. I'm on winXP and should I use IIS or Apache?
I still got no host but most probably we're gonna be getting an apache host /w MySQL. Is php code for Apache different from IIS assuming i write under IIS and upload it on Apache server?
any download/links on some newb tuts for php? thanks
php server
Moderator: General Moderators
so far as i know there is no difference according to the server itself, it all depends on the way that php.ini is set up....
there likely are one or 2 functions that either arent availiable or are implemented slightly different, but i havent come across any yet
if you check the php manual ( http://www.php.net ) it tells you for each function if you need any extra modules etc
there likely are one or 2 functions that either arent availiable or are implemented slightly different, but i havent come across any yet
if you check the php manual ( http://www.php.net ) it tells you for each function if you need any extra modules etc
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
It's really easy to get PHP running with IIS but Apache is the better server. PHP is very platform independent, so you don't write different code for Windows than you do for *nix. There are some functions which are *nix specific but if you're developing on Windows and then uploading to a *nix server you won't have used them in the first place. If you decide to go with Apache try 1.3 not 2 if you've never worked with it before because there's a lot more help available to get the older version working with PHP and you can always upgrade later if you want to.
As coco said, the main difference will be between each servers php.ini (the configuration file for PHP) and you can easily change yours to reflect your hosts.
When you install PHP, no matter which server you choose, read the installation readme that comes with it very carefully and follow the instructions step by step.
Mac
As coco said, the main difference will be between each servers php.ini (the configuration file for PHP) and you can easily change yours to reflect your hosts.
When you install PHP, no matter which server you choose, read the installation readme that comes with it very carefully and follow the instructions step by step.
Mac