php3-list | 2000051
Date: 05/15/00
- Next message: Marian Vasile: "[PHP3] No one want's to really help me !!! and is so easy..."
- Previous message: Doug Semig: "Re: [PHP3] SQL: count / limited group?"
- In reply to: David Loke: "[PHP3] Installing PHP"
- Next in thread: Mark Selby: "Re: [PHP3] Error Messages always say error on line 1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In article <NDBBIPIJKLMIADAOBJOHKEPHCKAA.dihuei <email protected>>,
dihuei <email protected> ("David Loke") wrote:
> I've already installed both Apache and MySQL into my linux mandrake system.
> Apache is preinstalled with the distribution and MySQL is installed using
> RPM. Now I am trying to install PHP. My question is.. How do I know which
> directory to key in when I do a ./configure?
You'll need to install the "DEV" RPMs corresponding to Apache and MySQL first.
> cd ../php-3.0.x
> ./configure -with-mysql=<dir> -with-apache=<dir> -enable-track-vars
> make
> make install
PHP can usually find them, if the RPM put them in the usual places...
> How do I know which link should I place in <dir>? How do I know whether its
> an apache base directory and MySQL base directory? How do I find the base
> directories? Please help.
Basically, it works like this:
After you install the DEV RPMs, there will be a directory structure for
both Apache and MySQL where there will be something like this:
/whichever
.
.
.
/include
.
.
.
/lib
.
.
.
The "whichever" directory above the "include" and "lib" directories is the
one you need to feed to PHP. PHP needs to find both the "include" and
"lib" directories, so the directory above those two is the one you want.
-- Richard Lynch | If this was worth $$$ to you, buy a CD US Customer Support Director | from one of the artists listed here: Zend Technologies USA | http://www.L-I-E.com/artists.htm http://www.zend.com | (this has nothing to do with Zend, duh!)-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Marian Vasile: "[PHP3] No one want's to really help me !!! and is so easy..."
- Previous message: Doug Semig: "Re: [PHP3] SQL: count / limited group?"
- In reply to: David Loke: "[PHP3] Installing PHP"
- Next in thread: Mark Selby: "Re: [PHP3] Error Messages always say error on line 1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

