Re: Can you help me about apache connect with php ?

From: Date: Sun, 04 Nov 2001 09:14:25 +0000
Subject: Re: Can you help me about apache connect with php ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-73384@lists.php.net to get a copy of this message
Hi Edward, @ 3:43:51 AM on 11/4/2001, edward@ita.org.mo wrote: > the installation packages : > apache_1.3.20.tar.gz Why not 1.3.22? > 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 \ Use: --with-mysql=/usr/local > --with-apxs=/usr/local/apache/bin/apxs \ > --with-imap \ You probably need a path to imap too. > --enable-versioning \ You don't need this if you're only running 4.0.6 > --enable-track-vars > make > make install > cp php.ini-dist /usr/local/lib/php.ini Did you restart Apache? /usr/local/apache/bin/apachectl stop /usr/local/apache/bin/apachectl start If that doesn't fix it, make sure you have these lines (uncommented) in /usr/local/apache/conf/httpd.conf: DirectoryIndex index.htm index.html index.php index.php3 index.php4 AddType application/x-httpd-php .php .php3 .php4 AddType application/x-httpd-php-source .phps Then: /usr/local/apache/bin/apachectl stop /usr/local/apache/bin/apachectl start -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies.

« previous php.general (#73384) next »