LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Setting up apache with php and mysql (https://www.linuxquestions.org/questions/linux-networking-3/setting-up-apache-with-php-and-mysql-281084/)

meander 01-22-2005 11:40 PM

Setting up apache with php and mysql
 
ive got webmin now and i want to set up apache with php and mysql. i have a fresh install of rh9 and i tried to manually install mysql, but it didnt work.

Mega Man X 01-23-2005 12:24 AM

- How did you do that? Source? RPM's? Packages included with your CD's?.

- Why it did not work? Error messages? Which?

meander 01-23-2005 11:04 AM

Well, first i tried to do the binary that wasnt the rpm, just the .tar.gz. I uploaded it to the server and ran all of the commands in the installation instructions file that it said you had to do. I tried to configure it with webmin and it still gave the error:
Quote:

The MySQL admin program /usr/bin/mysqladmin was not found on your system. Maybe MySQL is not installed, or your module configuration is incorrect.
so then i tried to do the rpm, so i uploaded that and folowed the installation instructions but it still gives me the same error. i am thinkin about installing fedora core 3 on there before i get everything set up, would that benefit me any?

orioncrest 01-25-2005 11:39 AM

Have you installed both the "server" and "client" of mySql RPM?

twantrd 01-25-2005 01:36 PM

During the compile of mysql, did you get any errors? If so, please post.

-twantrd

meander 01-25-2005 02:30 PM

well, i didnt know that you had to install both the server _and_ client rpms of mysql, i did that and it works now. how about php? they dont have an rpm do they?

cidrolin 01-26-2005 04:10 AM

Quote:

Originally posted by meander
well, i didnt know that you had to install both the server _and_ client rpms of mysql, i did that and it works now. how about php? they dont have an rpm do they?
php mysql extensions uses MySQL client library.

I use Fedora C2, to my knowledge there is no php5 rpm yet, only php4. Lost some hair compiling php5, configure puts an extra reference to the mysql library in the makefile and make just doesn't like it. Perhaps I looked for trouble trying to get php5 working with both mysql *and* mysqli extensions, though. However, here's my hope message : it finally worked (after quite some googling around).


All times are GMT -5. The time now is 05:20 PM.