Hello, I am trying to run MySQL with PHP on my PC (Win XP with Apache server and PHPMyAdmin) and I am stuck at this point: I've learned that I'd need a PHP-MySQL package so I got this which can be downloaded from here (or you can see it on #1 on this page). But the problem now is: what do I do with that php-mysql-5.0.5-2.2.i386.rpm file? How and where do I run it, or how do I install it?
hi, i suggest you to use the WAMP server, not LAMP (linux). rpm it's for linux machine. And you want to install it on the windows. You can use a bundle WAMP (windows, apache, mysql and php) from here: http://www.wampserver.com/en/ or download PHP from php.net, then mysql, then configure the apache to use it. I suggest the previous link. Will solve your problems. and... the good part it's that you can enable disable on the fly, every setting/ extension of php you need. I'll heartily recommend it to you (using at home and it's perfect)
OK, I am just a few minutes away from uninstalling all what I've spent all the day installing and go with that link everyone keep giving me whenever I ask about something that has to do with PHP/MySQL installation But I guess I've found something that may be the source of the problem: When I display PHP configuration using phpinfo() it shows: Configuration File (php.ini) Path C:\WINDOWS Bu my php.ini file is in C:\web\PHP How do I change that?
If you're using php5, the apache must point the php folder. That's a new (kinda new) way of enabling multiple configurations on the same server from php and apache, as php4 constrains c:\windows\php.ini. Just change in your apache conf page the location for that php.ini, to point in the proper location. Good luck (Had such problems also, but then i choosed the easy way )
Thanks for your help, Free Directory! It seems like problems never end and whenever I solve one problem the other, waiting one jumps up and so on... Anyway, I've had it! I don't want to spend the rest of my life solving Apache/PHP/MySQL/PHPMyAdmin/Windows installation problems and issues. I just wanted to do it myself and learn. I gave that up. I've got WAMP5 and in a few seconds all services are running smoothly, at least until this moment. I hope nothing else pops up.
it's simple: if your web script require something, your systray (click on the wamp icon) will help you to finish it asap Glad to hear that my suggestions aided you
You can find ready made server kits here. All will run on windows. I love XAMPP These packs comes with - PHP 5 - Apache 2 - MySQL server - phpMyAdmin - Mercury Mail Server ALL IN ONE. You dont to configure just run setup.