Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I installed debian and selected the webserver option. The problem is that php is installed without mysql. I installed mysql but it did not reconfigure php with mysql. In phpinfo() it shows this configure string:
How can I reinstall it but change the --without-mysql part to with-mysql? I can't seem to find anything with this in the documentation. It simply states that everything should be working and all I have left to do is set the root password. But that's not the case since mysql_connect() and other sql functions are not even reconized.
Originally posted by Red Squirrel How do I do that with apt-get? And if I install the php4-mysql package will it conflict with the current php4-common one? or will it automaticly just reconfigure it?
It should be automatically configured and the package depends on php4-common being installed so there will be no conflict.
>$ apt-cache show php4-mysql
Maintainer: Adam Conrad <email@example.com>
Depends: libc6 (>= 2.3.2.ds1-21), libmysqlclient12, debconf (>= 0.5) | debconf-2.0, phpapi-20020918, php4-common (= 4:4.3.10-13)
Description: MySQL module for php4
This package provides a module for MySQL database connections directly from
PHP4 is an HTML-embedded scripting language. Much of its syntax is borrowed
from C, Java and Perl with a couple of unique PHP-specific features thrown
in. The goal of the language is to allow web developers to write
dynamically generated pages quickly.
Yeah that's what I figured but for php it must of been different, since I was restarting apache and it was not working. Unless I had to restart mysql too. Either way it works now so that's good. Moving on to email, which is the harder part.