PHP, APache and Mysql on Redhat linux 7.3
| From: | Peter Goggin | Date: | Tue, 01 Oct 2002 06:46:23 +0000 |
| Subject: | PHP, APache and Mysql on Redhat linux 7.3 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-8618@lists.php.net to get a copy of this message | ||
I am trying to move a web application from a win98 machine to a linux
(redhat 7.3). This application works as designed on the win98 box. I cannot
get it to work properly on the linux box.
It appears that despite php, apache and mysql being installed on linux they
are not correctly integrated.
I have made the php.ini file look the same as the one on the win 98 box.
I do not know how do do this for the apache config file. The default file
which is on the linux system has a number of </IfDefine HAVE_PHP>
</IfDefine> and similar sections. It would appear that somewhere these
variables have to be defined . Can anyone advise on on what I need to do to
get the php working with Apache etc?
Currently the web site is partially working with a lot of php code being
displayed as source.
How do I check php is working independently of Apache?
I installed the rpms for mysql :
MySQL-MAX -3.23.52-1
MySQL--3.23.52-1
MySQL-Client-3.23.52-1
MySQL-Shared--3.23.52-1
For Apache the rpms are:
apache-1.3.23-1
apacheconf-0.2.2-2
For PHP the rpms are
php-msql-4.1.2-7
Are there any more rpms I should install?
What configurations steps are required to make sure they work together?
Any help gratefully accepted.
Regards
Peter Goggin