View Full Version : [xubuntu] Learn PHP5
April 23rd, 2009, 03:12 PM
I want to start learning PHP. I have looked in Synaptic and PHP5 is there ready to install. But what i need is some kind person to explain in easy to understand terms how i can set up my computer to act as the server.
April 23rd, 2009, 03:14 PM
There are some great tutorials on the net, just google "php tutorial"
Else you can go download some great tutorials on the pirate bay (www.thepiratebay.com)
April 23rd, 2009, 03:21 PM
Go and download the php manual from php.net and use it.
Or you can go to www.w3schools.com for php tutorials.
April 23rd, 2009, 03:28 PM
If you have the cash I highly recommend the php for dummies series it's a great learning tool and has helped me immensly.
April 23rd, 2009, 06:01 PM
I want to start learning PHP. I have looked in Synaptic and PHP5 is there ready to install. But what i need is some kind person to explain in easy to understand terms how i can set up my computer to act as the server. From your last sentence, it looks like you are wondering how to actually setup your computer as a server. The easiest way to do that is to install the "LAMP" task. You can do this one of two ways:
sudo tasksel install lamp-server
GUI: (Assuming XFCE here since you tagged the thread with "xubuntu")
Menu/Applications > System > Synaptic Package Manger > Edit > Mark Packages by Task > LAMP Server
In either case, pretty much the only thing you'll need to enter is a MySQL root account password.
That's it, you can now go to http://localhost in a browser to see if it's working. The webserver document root is /var/www by default.
For more information, see the following sites:
Installing the LAMP stack: https://help.ubuntu.com/community/ApacheMySQLPHP
Ubuntu Server Guide: https://help.ubuntu.com/8.04/serverguide/C/index.html
Apache2 Documentation: http://httpd.apache.org/docs/2.0/
PHP Documentation: http://www.php.net/docs.php
For actually learning PHP, I always refer to the official docs (linked above), but you can also check out the Programming sub-forum here, as well as a PHP-specific forum, such as PHPFreaks: http://www.phpfreaks.com/forums/
April 23rd, 2009, 11:32 PM
Thanks for the helpful replies everyone
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.