Question:
Php and MySQL Installation and connect?
MUHAMMAD B
2008-06-20 07:23:13 UTC
I want to compile and execute .php files? for this i m using phptaid software? although i run some .php simple program i.e arrays ,varialbe but i did not know how i would connect Mysql with Php files as i were using Phptaid software kindly anyone help me? would it necessary to install MySql and php if yes kindly give me link where i would easily download php and Mysql both software link which make me able to execute my php pages as below //localhost/example/filename.php
Five answers:
oracle128au
2008-06-20 07:42:34 UTC
Well since I've never heard of "phptaid" and apparently neither has Google, I'm guessing you don't have the correct software installed. In order to have a PHP and MySQL environment, you will need to install PHP and MySQL using the downloads from their respective websites. If you wish to run a web server, you will also need a server like Apache. If you're unable to get the correct links yourself, you should probably not even bother trying, as PHP and SQL programming is immeasurably more difficult than finding a website with a search engine.
RightBehindYou
2008-06-20 14:30:17 UTC
Just download XAMPPlite. It's a set-and-go web server that includes Apache, MySQL and PHP. It doesn't require any configuration, you just have to extract it and launch its control panel.



http://www.apachefriends.org/en/xampp-windows.html
breezer
2008-06-20 14:34:05 UTC
well u could use wamp to set up mysql and php



and to connect to mysql with php

u simple write



mysql_connect('localhost', 'mysql_username', 'mysql_password');











wamp can be found at

http://www.en.wampserver.com/download.php



this program is only good if your gonna test stuff on your own computer and is in my oppenion not stable or secure enough for online usage same goes for xamp
Ghostface
2008-06-20 14:30:12 UTC
in order to run php, you should install apache server on your system



http://www.apache.org/dyn/closer.cgi
jonathanlauweijie
2008-06-20 14:35:38 UTC
yes, mysql.net


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...