Can you help me about apache connect with php ?
| From: | edward at ita dot org dot mo | Date: | Sun, 04 Nov 2001 08:43:51 +0000 |
| Subject: | Can you help me about apache connect with php ? | ||
| Groups: | php.general php.install | ||
| Request: | Send a blank email to php-install+get-4841@lists.php.net to get a copy of this message | ||
Dear All,
My System is Red Hat Linux 6.2...
When I finished the installation ( Apache , MySQL , Php ) , then the Web
Server ( Apache ) can't be good for working ( can't auto detect php
format ) with php3 ( *.php3 ) and php4 ( *.php )...
So, can you help me to solve the problem ?
the installation packages :
apache_1.3.20.tar.gz
mysql-3.23.41.tar.gz
php-4.0.6.tar.gz
installation steps :
Apache :
./configure --prefix=/usr/local/apache \
--enable-shared=max
make
make install
/usr/local/apache/bin/apachectl start
MySQL :
groupadd mysql
useradd -g mysql mysql
./configure --with-charset=big5
make
make install
scripts/mysql_install_db
chown -R root /usr/local/share/mysql
chown -R mysql /usr/local/var
chgrp -R mysql /usr/local/share/mysql
cp /usr/local/share/mysql/mysql.server /etc/rc.d/init.d/mysql
/etc/rc.d/init.d/mysql start
php ( php + apache ) :
./configure \
--with-mysql \
--with-apxs=/usr/local/apache/bin/apxs \
--with-imap \
--enable-versioning \
--enable-track-vars
make
make install
cp php.ini-dist /usr/local/lib/php.ini
Thank for your help !
Edward.