PDA

View Full Version : Need Help With Setting Up A Server On My Computer


EnIgMa1234
04-01-2007, 02:23 PM
Which is the best program to use to set up Php and MySQL on my computer. i want to set up a vbulletin board on localhost, but every program i use hasnt got the right versions or it has errors.

im trying 3.6.5 btw

wLTD
04-01-2007, 03:12 PM
I assume you are using linux? I dont believe you can install PHP well on windows (correct me if I am wrong)

If not, use CGYWIN and install it the linux way.

Linux Installation:

There is a package called XAMPP that comes with MySQL/Apache/PHP at apache friends (google it) or install it the manual way:


apt-get install apache
NOTE THAT THIS STEP IS NOT REQUIRED IF YOU HAVE APACHE ALREADY
apt-get install mysql
apt-get install php
/etc/init.d/mysqld start
/etc/init.d/apache start
/etc/init.d/php start

IF you used XAMPP:

/etc/init.d/xampp start

EnIgMa1234
04-01-2007, 03:22 PM
yea im installing on windows (on my computer. localhost) :(

calorie
04-01-2007, 03:31 PM
Perhaps try http://www.easyphp.org/
EasyPHP is a complete software package allowing to use all the power and the flexibility that offers the dynamic language PHP and the effecient use of databases under Windows. Package includes an Apache server, a MySQL database, a fully PHP execution, as well as easy development tools for your web site or your applications.

EnIgMa1234
04-01-2007, 03:40 PM
thanks thats what im looking for. thanks a lot :D

Michael Biddle
04-01-2007, 05:46 PM
I would try www.wampserver.com

Great program. Very easy to use. Allows you to enable/disable php and apache modules with 1 click.

EnIgMa1234
04-01-2007, 05:56 PM
i tryed it but it didnt work. the one i have now works fine

Marco van Herwaarden
04-01-2007, 06:50 PM
I personally don't like any of the packaged solutions. Just go to php.net and mysql.com, and download the version you want, both offer a Windows Installer version.

bluesoul
04-02-2007, 04:54 AM
You'll also need to use Apache or IIS to actually serve the pages, I prefer apache but to each their own.

EnIgMa1234
04-02-2007, 02:06 PM
yea i got it setup. works great :D

TECK
04-02-2007, 05:04 PM
I personally don't like any of the packaged solutions. Just go to php.net and mysql.com, and download the version you want, both offer a Windows Installer version.

Totally agree, packaged all-in-one lazy software should be avoided at all cost.
What if you decide one day to upgrade your PHP version, but the crap all-in-one pack is not available?
Just read and learn, don't be lazy. Installing PHP, MySQL and IIS (for example) should take you not less then 20min, once you know what you are doing... especially that Google has one milllion sites out there who can guide how to install everything step by step.

Personally, I use Windows only to connect (through network) to my Unix machine, where I have set everything on CentOS. I find that this is the best setup, you breath a Linux environment through Samba, connected to your Windows box. In other words, you can work either in Windows or Linux, the way you like it, with the same web results.

Having this setup made me gain a lot of knowledge on Linux, I strongly recommend you to start looking into it also. Unless you are rich, this will save you a ton of money on dedicated server support and colocation.
Using vBulletin into a shared host environment will last you few weeks/months, until your little underpowered shared resources will be exhausted in seconds.