need connection php mysql.. help
hi
i have been wondering how i can enable php with mysql i looked in the phpinfo() file and i noticed i am missing mysql my php was already installed when i installed slackware i searched here on linuxquestions.org on how i would be able to solve this i have found that people have gotten it to work by getting php-mysql-4.2.2-8.0.5 so i : rpm -i php-mysql-4.2.2-8.0.5 and restarted apache and see if that would work but it didnt how would go about uninstalling php so that i can: ./configure --with-mysql=shared,/usr any suggestions? thanks |
hrm....
am i installing the rpm wrong? it doesnt give me any error nor any output on the screen and bash gave me a prompt after 1 second of pressing enter... the file is like 10 megs though... any suggestions? thanks |
hrmm....
can i just reinstall php without getting rid of my old copy? like would it just overwrite my old stuff so i dont have to worry about deleting my current php stuff? |
ah! i need help please
|
I honestly don't know how the rpm was compiled, but you are probably better off getting the PHP source code and compiling yourself. Just be sure to remove the PHP rpm before you do so.
There is a decent set of installation documents on the Snort website that may be helpful. |
can i suggest the xampp project, its apache, php, perl, mysql, ftp all bundled into one tarball, its already compiled and configured, ive had no problems with it.
|
ah cool thanks guys
yeah i was thinking about recompiling php and enabling it with mysql but when i installed slackware it cam with php so i dont know how to uninstall it any suggestions? |
That would be pkgtool. Pretty much everything in Slackware is installed as a Slackware package, and pkgtool (as well as installpkg and removepkg) are the tools you use to manage them.
By the way, if you compile from source, you need to install checkinstall . It replaces the make install step of compiling and instead creates a Slackware package and then installs it. Basically it allows you manage your compiled programs as easily as a Slackware package. |
ah thanks alot hangdog42
yeah till now ive been using make install and i have alot of directories just laying around everywhere thanks for the advice |
All times are GMT -5. The time now is 03:56 PM. |