my Question.
first i had a rpm install of the apache 1.3 and php 4.2.1
problems i had -> mysql_connect undefined
answer -> do a ./configure --with-mysql=ect.
however with the rpm this should already been done if i am not mistaken.
Now i am trying to reinstall everthing exept de apache.
when trying to configure --with-mysql --with-apache=/usr/include/apache ( sinds this is where the httpd.h is..
however on ./configuration with the apache command it will say that it can not find the httpd.h
locate httpd.h -> /usr/include/apache/httpd.h
I am kinda stuck here
Help would be very welcome
reinstalling php
Moderator: General Moderators
yea i know that one does come with a mysql 3.23...
however the default httpd / php that came with the red hat didnt configure it well.. ( or not at all.. )
however i will give it a try with the php-mysql
( just for now, sinds it will need to work with php 4.3.4 and apache2 aswell for certen fixes in security and all that.
Dont think that installing the php-mysql is the best option here..
however the default httpd / php that came with the red hat didnt configure it well.. ( or not at all.. )
however i will give it a try with the php-mysql
( just for now, sinds it will need to work with php 4.3.4 and apache2 aswell for certen fixes in security and all that.
Dont think that installing the php-mysql is the best option here..
Actually, Jason is correct here. If you are using the standard stuff that came with Red Hat (the rpm packages) you SHOULD BE using the php-mysql rpm.
Otherwise, what you should REALLY be doing is using Apache 1.3.x and compiling PHP to work with it. The reason being that PHP with Apache 2.0 is not a good idea due to Apache 2 having a very different execution model (threads as opposed to forks).
Follow the instructions carefully in the PHP source download. They'll help you through it. It may be a little tough the first couple of times, but it will help you in the long run.
Cheers,
BDKR
Otherwise, what you should REALLY be doing is using Apache 1.3.x and compiling PHP to work with it. The reason being that PHP with Apache 2.0 is not a good idea due to Apache 2 having a very different execution model (threads as opposed to forks).
Follow the instructions carefully in the PHP source download. They'll help you through it. It may be a little tough the first couple of times, but it will help you in the long run.
Cheers,
BDKR