View Full Version : server environment
purplemoon
1-30-06, 02:33 PM
Hello.
its been a long time since ive been on here and its been a long time since ive done any web design but im trying to set up a server environment at home. im using sokkit 2.0 and the mysql4 module (lazy i know) and i have a few questions i hope you can help me with.
mysql shuts down every time i turn my computer off but i want it to boot with windows. ive tried the mysqld-nt --install command but i get "the service already exists!" message
and the other thing is certain things dont work with php such as $PHP_SELF returns "" and it wont pass vars from forms and urls
can anyone help?
thanks
YvetteKuhns
1-30-06, 04:42 PM
http://sourceforge.net/projects/xampp/
You may want to try XAMPP. It is easy to install and remove.
purplemoon
1-31-06, 11:33 AM
ill give it a try
thanks
mysql should exist in your system services list. Not sure what O/S you're running...hopefully NT based (2k, XP or 2k3). Make sure the service is set to start automatically.
I'm using PHP 5, MySQL 4 and Apache on this computer for development use. It's a win2k box and everything starts up automatically.
As for your variable problems...I'm not sure what's wrong with that. Check your php.ini and make sure your configuration is correct. Are globals on or off? that's register_globals in the php.ini file. Personally on this box I have php.ini in my Winnt folder, but on my other box I have it in the php directory I have and just added it to my system path.
Anyway, XAMPP is very cool for the ease of use, but is (last I checked) a bit behind the times. I really need to upgrade MySQL to 5 so I can get the stored procedures and whatnot.
*edit* Nevermind, looks like it's all happy and up to date. Go knock yourself out. :p Personally I still prefer the dirty method, but I'm a masochist who likes command lines, too. */edit*
YvetteKuhns
1-31-06, 05:19 PM
Anyway, XAMPP is very cool for the ease of use, but is (last I checked) a bit behind the times. I really need to upgrade MySQL to 5 so I can get the stored procedures and whatnot.
*edit* Nevermind, looks like it's all happy and up to date. Go knock yourself out. Personally I still prefer the dirty method, but I'm a masochist who likes command lines, too. */edit*
I wouldn't have posted XAMPP, if they hadn't updated it. I figured the easy installation would be great for newbies or lazy people. The original method forces you to visit a few websites to download apache, php, mysql stuff. ;)
vBulletin v3.6.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.