RE: [PHP-INST] Can you help me about apache connect with php ?
| From: | Boyack, Kurt | Date: | Sun, 04 Nov 2001 13:38:47 +0000 |
| Subject: | RE: [PHP-INST] Can you help me about apache connect with php ? | ||
| Groups: | php.general php.install | ||
| Request: | Send a blank email to php-general+get-73394@lists.php.net to get a copy of this message | ||
Sounds like you need to uncomment the following line in your httpd.conf:
AddType application/x-httpd-php .php
> -----Original Message-----
> From: edward@ita.org.mo [mailto:edward@ita.org.mo]
> Sent: Sunday, November 04, 2001 12:44 AM
> To: php-install@lists.php.net; php-general@lists.php.net
> Subject: [PHP-INST] Can you help me about apache connect with php ?
>
>
> 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.
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>