topic title: Installing XAMPP
5 posts
• Page 1 of 1
-
Posts: 23
- Joined: 29 Sep 2015
#1
I would like to start learning PHP and one of the best ways or so i've been informed is to use Xampp. So are there any user's using or learning PHP who could help me install this program please.
-
Posts: 4,164
- Joined: 20 Feb 2009
#2
I don't. But maybe this resource (bookmark it) may be a assest for
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://www.linode.com/docs/"
linktext was:"https://www.linode.com/docs/"
====================================
start learning
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://www.linode.com/docs/"
linktext was:"https://www.linode.com/docs/"
====================================
-
Posts: 1,444
- Joined: 09 Feb 2012
#3
What other programming languages are you already familiar with?
Asking because php and extra libraries/modules, similar to python, can be installed standalone.
xampp provides a tidy installer, bundling installation of php+mysql+myphpadmin plus some extraneous stuff (tomcat? mailserver?) that you won't need.
Once installed, it provides a"start here" webpage where you can centrally command the start/stop/restart of the various servers (services).
That's all it is, that's all it does. The rest (starting with setting sane/desirable ini configs) is on your shoulders. Said differently: xampp is preconfigured
with attention toward ease-of-use, not toward security. For that reason, I would not advise installing xampp to a"desktop system" that is connected to the internet.
I recommend installing (you're behind a NAT router, right?) it to a separate box on your LAN. That way, you can"connect to" it and learn to work"remotely", same as you
will later do in a production environment. In this scenario, aside from locking down which IPs (LAN subnet only) can connect to its services, you don't need to
immediately fuss with"whatall" the security-related considerations of the http server, the db server, the mailserver, etc.
FWIW, I've never installed xampp under debian, only under WindowXP (so, I'm not fit to"coach"). There may be (probably are) some
xampp quirks specific to debian, but if you install from debian package, hopefully all the bundled xampp services will at least install/start correctly.
Under XP, xampp support stops at php5.3 (php5.43?)... and that's where I stopped. I'm not up-to-speed on php's latest, greatest, more-is-gooder stuffs
nor the new darling"frameworks" that reinvent existing functionality and assign cutesy (um,"expressive") names like"oilcan" (seriously).
ps: I just re-checked. It was either"Laravel" or"FuelPHP" framework (where, from memory, I grabbed the oilcan example).
Plenty of online resources exist for learning php ~~ courses, videos, podcasts. It's hard to recommend"what's good" because I believe that depends on one's learning style.
I learn better from dissecting working applications to see what makes 'em tick than from {yawn} reading/watching"see spot. see spot run.. Yay! you made spot run!".
Back in the day, downloading interesting (to me) php apps from
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://php.resourceindex.com"
linktext was:"http://php.resourceindex.com"
====================================
and studying/modifying them was very enlightening...
...always had a browser tab (window, back then) or ten of 'em containing various php.net command-specific documentation pages.
The user-submitted comments on those pages are priceless -- they flesh out the many friggin"gotchas" that exist in syntax/usage of the myriad php commands.
Nowadays, a github search is equally useful to find working examples (which often contain inline comments mentioning the same particular"gotcha" you're wrestling with).
Another useful"find working examples" site is phpclasses.org (object classes, not online classroom classes)
Without knowing your age, nor your motivation(s) for learning php, I'll mention that although php+mysql served well across the past decade,
I've noticed that, as a platform, it has become a red-headed bastard stepchild. php-gtk bindings never materialized (so, it's a no-go for desktop GUI apps)...
and it doesn't scale well, compared to alternative platforms, so it's becoming increasingly unattractive to web developers.
Asking because php and extra libraries/modules, similar to python, can be installed standalone.
xampp provides a tidy installer, bundling installation of php+mysql+myphpadmin plus some extraneous stuff (tomcat? mailserver?) that you won't need.
Once installed, it provides a"start here" webpage where you can centrally command the start/stop/restart of the various servers (services).
That's all it is, that's all it does. The rest (starting with setting sane/desirable ini configs) is on your shoulders. Said differently: xampp is preconfigured
with attention toward ease-of-use, not toward security. For that reason, I would not advise installing xampp to a"desktop system" that is connected to the internet.
I recommend installing (you're behind a NAT router, right?) it to a separate box on your LAN. That way, you can"connect to" it and learn to work"remotely", same as you
will later do in a production environment. In this scenario, aside from locking down which IPs (LAN subnet only) can connect to its services, you don't need to
immediately fuss with"whatall" the security-related considerations of the http server, the db server, the mailserver, etc.
FWIW, I've never installed xampp under debian, only under WindowXP (so, I'm not fit to"coach"). There may be (probably are) some
xampp quirks specific to debian, but if you install from debian package, hopefully all the bundled xampp services will at least install/start correctly.
Under XP, xampp support stops at php5.3 (php5.43?)... and that's where I stopped. I'm not up-to-speed on php's latest, greatest, more-is-gooder stuffs
nor the new darling"frameworks" that reinvent existing functionality and assign cutesy (um,"expressive") names like"oilcan" (seriously).
ps: I just re-checked. It was either"Laravel" or"FuelPHP" framework (where, from memory, I grabbed the oilcan example).
Plenty of online resources exist for learning php ~~ courses, videos, podcasts. It's hard to recommend"what's good" because I believe that depends on one's learning style.
I learn better from dissecting working applications to see what makes 'em tick than from {yawn} reading/watching"see spot. see spot run.. Yay! you made spot run!".
Back in the day, downloading interesting (to me) php apps from
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://php.resourceindex.com"
linktext was:"http://php.resourceindex.com"
====================================
and studying/modifying them was very enlightening...
...always had a browser tab (window, back then) or ten of 'em containing various php.net command-specific documentation pages.
The user-submitted comments on those pages are priceless -- they flesh out the many friggin"gotchas" that exist in syntax/usage of the myriad php commands.
Nowadays, a github search is equally useful to find working examples (which often contain inline comments mentioning the same particular"gotcha" you're wrestling with).
Another useful"find working examples" site is phpclasses.org (object classes, not online classroom classes)
Without knowing your age, nor your motivation(s) for learning php, I'll mention that although php+mysql served well across the past decade,
I've noticed that, as a platform, it has become a red-headed bastard stepchild. php-gtk bindings never materialized (so, it's a no-go for desktop GUI apps)...
and it doesn't scale well, compared to alternative platforms, so it's becoming increasingly unattractive to web developers.
-
Posts: 1,062
- Joined: 20 Jan 2010
#4
Apt-get update && apt-get -f install php5 apache2 mysql php5-mysql.
Default directly for Web server should be /var/www.
So put your website /php script there.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.w3schools.com/php/"
linktext was:"http://www.w3schools.com/php/"
====================================
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.tizag.com/phpT/"
linktext was:"http://www.tizag.com/phpT/"
====================================
For tutorials...
Should get you started.
Edit:
You will probably want to install webmin. It should make it easier for you to configure your services like apache2 and mysql
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.webmin.com/deb.html"
linktext was:"http://www.webmin.com/deb.html"
====================================
Default directly for Web server should be /var/www.
So put your website /php script there.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.w3schools.com/php/"
linktext was:"http://www.w3schools.com/php/"
====================================
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.tizag.com/phpT/"
linktext was:"http://www.tizag.com/phpT/"
====================================
For tutorials...
Should get you started.
Edit:
You will probably want to install webmin. It should make it easier for you to configure your services like apache2 and mysql
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.webmin.com/deb.html"
linktext was:"http://www.webmin.com/deb.html"
====================================
-
Posts: 23
- Joined: 29 Sep 2015
#5
I am proficient using html5 + CSS3 and would like to take it a step further if possible?