[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On Sun, 13 May 2007 12:20:16 +0100 Neil Winchurst <neil@xxxxxxxxxxxxxxxxx> wrote: > What it the problem with apache? Nothing at all. Now I understand a bit > better I will leave apache and mysql running. I wish you had described *why* you wanted to do this earlier - (re xampp) - it would have made things much clearer. > The reason for my question is that I have downloaded Xampp in order to > learn about PHP and linking it with mysql. (www.xampp.org). Xampp > includes its own versions of apache and mysql Which are inevitably older and probably more buggy than the current Debian versions. Either way, when you actually write some PHP, you won't be uploading xampp as well so you had better be sure that your PHP works with *standard* installations of PHP and mysql. Whatever xampp might or might not have done to the packages is only going to interfere with how the same packages are organised in Debian and that is only going to cause problems when you want to use what you have learnt on a real server. Don't waste time with customised wrappers, learn the language properly and use the existing, standard tools. Otherwise, you will have to learn Apache and MySQL config just to be able to transfer your knowledge to a real server (i.e. undo all the differences between xampp and the real world). PHP/MySQL is really easy to learn and there really isn't much that you need to learn about Apache if you use the standard installation anyway. (Just ask here if you want to create a virtual host for Apache, otherwise simply stuff your PHP into /var/www and it'll show up. Alternatively, create a symlink from /var/www to somewhere in your home directory or simply put your PHP in ~/public_html and access it via http://localhost/~neil/ (in your case and mine.)) > so I need to stop my > current versions before I start Xampp. That's just plain wrong. xampp should not require such hackery. It just stores up problems for the future and, frankly, is typical of a Windows-driven method that only inhibits you from using the tools in GNU/Linux. > Now that I know a bit more, once > I have finished playing with Xampp I will restart both apache and mysql. I'd recommend learning PHP the better way: get a PHP book and use the standard packages that have had the bugs removed. There are even a few introductory pages on PHP and PHP with MySQL at my www.codehelp.co.uk site, complete with working demos and source code. -- Neil Williams ============= http://www.data-freedom.org/ http://www.nosoftwarepatents.com/ http://www.linux.codehelp.co.uk/
Attachment:
pgpXBT8WFUf7B.pgp
Description: PGP signature
-- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html