/    Sign up×
Community /Pin to ProfileBookmark

Please help me out

hey all. i want to install php on my pc. i have a hosted server, i do not know how to use this thing but i want it for means to practise and get better. i downloaded mysql but i dunno what to do with it. where does it connect too? can you please tell me which PHP version to download? do i skip the binary download? after the download how do i connect both php and mysql to my server? the official sites doesn’t walk you through the connection part, if its too much trouble to explain, can you please just point me to a good site that explains how to connect these applications to a server.

thanks

to post a comment
PHP

10 Comments(s)

Copy linkTweet thisAlerts:
@NoEffinWayJul 24.2012 — I recommend XAMPP. Is is a package of Apache, MySQL, FileZilla and Murcurey.


http://www.apachefriends.org/en/xampp.html
Copy linkTweet thisAlerts:
@jedaisoulJul 24.2012 — If you are on an MS Windows platform, I'd suggest WAMP server. Like XAMPP it's everything you need rolled up into one. You just download it, click to install it and it does the rest. Dead easy.
Copy linkTweet thisAlerts:
@NoEffinWayJul 24.2012 — Yeah, WAMP is good too, if you are using it mainly for learning, and you are on a windows machine, I would go with WAMP, it has easier to read debug dumps.
Copy linkTweet thisAlerts:
@FoollyauthorJul 24.2012 — hey thanks guys. when i click on localhost or phpMYAdmin it returns nothing. how can i set them to my server?
Copy linkTweet thisAlerts:
@jedaisoulJul 24.2012 — What package are you using, and have you installed it on the same machine you use as a workstation, or on a separate server? If you have installed it on a separate server it will NOT be localhost.

Oh, and what OS are you running?
Copy linkTweet thisAlerts:
@FoollyauthorJul 24.2012 — What package are you using, and have you installed it on the same machine you use as a workstation, or on a separate server? If you have installed it on a separate server it will NOT be localhost.

Oh, and what OS are you running?[/QUOTE]


windows vista. i installed it via wamp on my laptop. im using a hosted server(not my laptop). i want to know how to connect it to the server.. i was prompted at the start to type in my email server etc.. but i didnt think and continued on to just finish the installation. now i cant see any options to correct this?
Copy linkTweet thisAlerts:
@jedaisoulJul 24.2012 — Right, first, it's easiest to forget the server, and just run WAMP as a localhost on the laptop. That's the way it is designed to be used. There should be a WAMP icon on the desktop. If so:

  • 1. Use Explorer to copy your site to the www folder inside the wamp directory. I.e. C:wampwwww acts like public_html/


  • 2. Click on the wamp icon on the desktop to launch it, and wait till the wamp icon in the task bar turns green.


  • 3. Set up an icon target "http://localhost/index.php" and you should be working.


  • To set up wamp on a separate server is slightly more complicated, so try the above first...
    Copy linkTweet thisAlerts:
    @FoollyauthorJul 24.2012 — i hope not too complicated?. what you said worked, i got it working on my laptop. scared of intrusions though ?
    Copy linkTweet thisAlerts:
    @jedaisoulJul 24.2012 — As far as I'm aware (though I'm no expert) there is little risk of intrusion because it is blocked by your firewall. YOU DO HAVE A FIREWALL??? If not, download and install MS Security Essentials. It's free and works. It may not be as good as a paid-for security package, but is a lot better than nothing!!!

    Anyway, to set up wamp on a server:

  • 1. Install wamp just as you did in the workstation. Then:

    _a) Open access to wamp for other PCs on your network. I forget how to do that but it must be pretty obvious if I worked out how to do it.


  • _b) Check the network address of the server. You can do that on your nethub, or on the server itself.

    _c) Amend the shortcut that launches your site to point to the server.
    Copy linkTweet thisAlerts:
    @FoollyauthorJul 24.2012 — thank you jedaisoul. I'll try this tomorrow. I'm sure i'll get it right, i just want to thank you in advance?
    ×

    Success!

    Help @Foolly spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.4,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,

    tipper: @Samric24,
    tipped: article
    amount: 1000 SATS,
    )...