182x Posted June 13, 2007 Share Posted June 13, 2007 Hey guys, I am trying to setup PHP, mysql, phpmyadmin and apache for a project I am working on however I am having a really difficult time getting these to work properly in Vista. I was just wondering would you recommend I use a package such as WAMP or XAMPP or is it best trying to get all these to work on their own? Thanks. Link to comment https://forums.phpfreaks.com/topic/55487-newbie-php-advice/ Share on other sites More sharing options...
simcoweb Posted June 13, 2007 Share Posted June 13, 2007 Use either of those. I use XAMPP but on XP. Make sure their version is up to date for Vista. It has all you need. Link to comment https://forums.phpfreaks.com/topic/55487-newbie-php-advice/#findComment-274206 Share on other sites More sharing options...
Wuhtzu Posted June 13, 2007 Share Posted June 13, 2007 Yup, a package containing PHP, MySQL and Apache is definitely the way to go. I use XAMPP my self on XP and it works great and has all the features I need. When you decide you wanna invest time in learning how to setup a database / web server do it on a linux/unix/*bsd machine Link to comment https://forums.phpfreaks.com/topic/55487-newbie-php-advice/#findComment-274216 Share on other sites More sharing options...
ToonMariner Posted June 13, 2007 Share Posted June 13, 2007 I prefer the individual approach - once you know how to do it then maintenance is considerably simpler. Upgrading is straight forward - downgrading (for what ever reaosn) is just as simple plus you get a feel for how things are installed generally which can help you solve issue that may seem unrelated. Link to comment https://forums.phpfreaks.com/topic/55487-newbie-php-advice/#findComment-274232 Share on other sites More sharing options...
182x Posted June 14, 2007 Author Share Posted June 14, 2007 Thanks for the replaies guys. I downloaded Xampp to give it a try and so far it work great until a tested a script that involved uploading a file where i get the following error message... Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\test\processUpload.php:4) anyidea what it means or how to fix it? Thanks Link to comment https://forums.phpfreaks.com/topic/55487-newbie-php-advice/#findComment-274269 Share on other sites More sharing options...
ToonMariner Posted June 14, 2007 Share Posted June 14, 2007 yep. session_start MUST come BEFORE you output any html or white space - you can get round this by using ob_start and ob_end_flush at the beginning and end of your script respectively. Link to comment https://forums.phpfreaks.com/topic/55487-newbie-php-advice/#findComment-274307 Share on other sites More sharing options...
182x Posted June 14, 2007 Author Share Posted June 14, 2007 Hi thanks for your reply, is using ob_start and ob_end_flush a standward way of doing things? and if not what is the best way? Thanks again and sorry for all the noobie questions. Link to comment https://forums.phpfreaks.com/topic/55487-newbie-php-advice/#findComment-274357 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.