Re: Re: Need some Linux/Apache help

From: Date: Mon, 31 Dec 2001 18:40:26 +0000
Subject: Re: Re: Need some Linux/Apache help
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-79141@lists.php.net to get a copy of this message
* Todd Cary (todd@aristesoftware.com) [Dec 31. 2001 13:15]: > Brian et al - Looks like you meant to send this to the list? :-)) I waited to see if one would roll on in, but it doesn't look like it will be, sooo... > This is starting to make some sense, however, there are still some areas > of confusion: > <<< > just use --with-apxs=/path/to/apxs/that/exists/on/your/system > >>> > What is the best way to determine where RH 7.2 put that? What am I > actually looking for? You are looking for an executable (a perl program actually) named apxs. At your shell prompt, try: which apxs If that returns nothing, try: locate apxs or locate apxs | grep bin > <<< > If you use --with-apxs when configuring PHP, you don't have to mess > around with your current Apache install. For the exception of making > sure httpd.conf is correct after you install PHP, you don't need to do > anything else to your existing apache install. > >>> > This makes sense now. Apache, and I am sure other application, use > modules, however, I am not sure of the mechanism at the application > level. In the Delphi/Windows environment, I can use packages at compile > time, but they do become part of the EXE file. Using --with-apache is the equivalent. But unless you've done this before and know exactly what configure arguments you need, you might want to use --with-apxs to build PHP as a loadable module so that you can easily re-configure PHP and build it all over again if you need to add support for something else (for example, if you decided a week from now you wanted MySQL support in PHP). Bottom line: If you use --with-apache you will have to build Apache *and* PHP and install them. If you use --with-apxs you only need to build PHP and install it. > <<< > Just download PHP tarball, unpack it somewhere. > ./configure --with-apxs=/path/to/your/apxs [rest of your options here] > make install > >>> > Again, I am not sure how to find the path. See the notes at the top. :) -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 Error:015 - Unable to exit Windows. Try the door.

« previous php.general (#79141) next »