You really are not reading the instructions carefully enough. Or perhaps my writing is horrible. It says:
=== A popular choice is to build the Apache module version. In order to build PHP as a dynamic module for Apache-1.3.x you have to first have Apache installed. Assuming Apache is already installed, make sure the shared object module is enabled. To check this, type: httpd -l You should see something like: Compiled-in modules: http_core.c mod_so.c You will most likely have a lot more modules than what is shown here. As long as mod_so.c shows up in the list, PHP should be happy. Now, type: ./configure --with-mysql --with-apxs If you get an error telling you that the apxs script could not be found, look for it on your system and if you find it, provide the full path to it as: --with-apxs=/path/to/apxs You might also want other flags on this configure line. --with-mysql is just an example. === Now why would you assume that you could build the Apache module version without the --with-apxs flag? -Rasmus On Thu, 25 Apr 2002, Larry Brown wrote: > I ended up using a port which eventually worked. I parsed the INSTALL file > and it didn't mention anything about specifically adding libphp4.so. It > mentioned checking the flags available with ./configure -help which I ran. > But I had no way of knowing what apxs means. It mentioned -with-apxs in the > INSTALL description but stated that if I got an error to physically locate > apxs and tell configure where it is. I did a search for apxs* with no > results. Anyway, I did get it going. Thank you for the input. > > Larry S. Brown MCSE > Dimension Networks, Inc. > Member ICCA > (727) 723-8388 > > -----Original Message----- > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 25, 2002 12:40 AM > To: Larry Brown > Cc: PHP List > Subject: RE: [PHP] compiling on freebsd > > Please read the INSTALL file. The default is to make the command line php > binary if you do not provide any ./configure flags, so simply typing > ./configure && make && make install should have installed > /usr/local/bin/php and it would not have built a libphp4.so. For that you > need to add --with-apxs > > -Rasmus > > On Thu, 25 Apr 2002, Larry Brown wrote: > > > I don't mean to be rude but as I mentioned in my post "After running > > ./configure make and make install...". Please review my post for the > actual > > problem. > > > > Larry S. Brown MCSE > > Dimension Networks, Inc. > > Member ICCA > > (727) 723-8388 > > > > -----Original Message----- > > From: Evan Nemerson [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, April 25, 2002 1:25 AM > > To: Larry Brown; [EMAIL PROTECTED] > > Subject: Re: [PHP] compiling on freebsd > > > > ./configure > > make > > make install > > > > > > > > On Wednesday 24 April 2002 22:08 pm, you wrote: > > > I am trying to get php installed and working on a freebsd server and I'm > > > used to using linux where it hasn't failed me before. After running > > > ./configure make and make install there is no libphp4.so anywhere on the > > > server. I ran just ./configure and make and then checked the current > > > directories for the file with no positive results. > > > > > > Larry S. Brown MCSE > > > Dimension Networks, Inc. > > > Member ICCA > > > (727) 723-8388 > > > > -- > > Common sense is not so common. > > > > Voltaire > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php