New to PHP & MYSQL looking for mentors :)
I'm in the process of learning PHP along with MYSQL and well I cant ask the books questions so here I am I am more of a learn by doing person so the books I got aren't really being to helpful.
Question #1
I am going to be doing all my development on my Laptop computer for later upload to my website. Is there a reason why I would want to have a SSL powerd Apache on my laptop?
#2 Do I want to go through the headaches of installing this stuff myself or would you recommed using XAMPP?
Oh and Im on a windows platform and so is my website (I know shoulda went Linux)
Busy posted this at 10:32 — 6th August 2005.
He has: 6,151 posts
Joined: May 2001
go to somewhere like firepages.com.au and download a php/mysql/apache bundle - designed for windows (pick the version closest to your hosts version).
If you get the same version you should be able to create/design on your laptop and upload to your site without making any changes.
As for mentors, we have some gurus here, asking questions is always a great way to learn once you get stuck, but there is also php.net (and mysql and apache have their own manuals).
Word of warning, most books cover php3 or php 4, hosts are starting to upgrade to php 5 which has some great new features (sadly my web host is slow off the blocks).
Welcome to your new addiction
2020-Graphics posted this at 11:50 — 6th August 2005.
He has: 83 posts
Joined: Feb 2005
The books I got are for PHP 5
I downloaded XAMPP from ApacheFriends, comes with APACHE,PHP,MYSQL,PHPMYADMIN and all the other bells and whistles.
JeevesBond posted this at 12:36 — 6th August 2005.
He has: 3,956 posts
Joined: Jun 2002
I did install it all myself - probably because I didn't know any better
It's quite a useful experience to install it all yourself, but there's a bit of messing around, so if you want to jump straight into coding install that XAMPP thingamy.
SSL? Secure Socket Layers? You probably wont want to bother with this, especially not yet. You can worry about that when you start building e-commerce apps.
a Padded Cell our articles site!
2020-Graphics posted this at 00:00 — 7th August 2005.
He has: 83 posts
Joined: Feb 2005
Ok how do I find Apache's root folder? Its been a couple days and Im no further ahead than when I started learning this stuff LOL... ME = LOST Im not so sure this XAMPP bundle thing is helping me any. I dont know where anything is. Im tempted to get rid of it and install this stuff myself.
sogua posted this at 01:58 — 7th August 2005.
They have: 10 posts
Joined: Aug 2005
check out your httpd.conf file. do a search in your computer for httpd.conf file and open it with notepad and find for DocumentRoot. you will see your root folder there
MamakCorner.com - Your Online Freebies Guide ( Free hosting, free advertising, free url submission, free stat counter, etc ...)
2020-Graphics posted this at 12:27 — 7th August 2005.
He has: 83 posts
Joined: Feb 2005
I deleted the program and I'm installing the stuff myself.
2020-Graphics posted this at 13:14 — 7th August 2005.
He has: 83 posts
Joined: Feb 2005
Alright ran into a tiny problem installing PHP.
The book says to move the PHP.ini.recommended to my windows folder renaming it php.ini
then it tells me to uncomment the following 3 things. in the PHP.ini file
extension=php_mhash.dll
extension=php_mcrypt.dll
extension=php_curl.dll
after doing the rest of the setup up stuff it says to restart apache. I do and I get error messages saying it cannot load the 3 things I un-commented.
Any ideas?
Busy posted this at 11:36 — 8th August 2005.
He has: 6,151 posts
Joined: May 2001
In my php.ini the 3 you mentioned are commented.
if you want to run those 3 .dll's make sure you have them, do a gobal search or look in your php folder, under dll for them. If you can't find them, you'll have to try find and download them - try use without first.
You have to restart apache every time you 'edit' the php.ini file for changes to take effect
2020-Graphics posted this at 10:34 — 9th August 2005.
He has: 83 posts
Joined: Feb 2005
Im following the instructions in one of the books I am using, so I'm guessing they want me to uncomment them for some purpose in the book. So I'm not to worried about it I guess.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.