If your trying to compile the PHP binary instead of building it into PHP, you need to drop the --with-apache line and add something like:
--prefix=/usr/local/php Which will create an actual php executable in that directory, but this will not make it work with Apache. Adam Voigt [EMAIL PROTECTED] On Wed, 2002-10-23 at 02:04, M. Ben Nicolas wrote: > I am trying to do the install using the 'Static' method > > What I really don't understand is why after the attempted configure, make, > and make install nothing shows up in /usr/bin/php > and I can't use php from the command line it's like nothing gets installed, > I wipe config.status too before I try to re-install > > -----Original Message----- > From: John Coder [mailto:jcoder@;insightbb.com] > Sent: Tuesday, October 22, 2002 1:40 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP-INST] PHP install problem, engine not parsing php > files > > > On Mon, 2002-10-21 at 22:45, M. Ben Nicolas wrote: > > I have attempted to compile and install PHP using the 'Static' method > > described in the INSTALL file that comes with php > > > > php configured with: > > > ./configure --with-mysql --with-pgsql --with-apache=/usr/local/apache/apache > > _1.3.22/ > > > > php.ini was copied to: > > /usr/local/lib/php.ini > > > > I have un-commented in my httpd.conf file: > > AddType application/x-httpd-php .php > > > > apache installed in > > /usr/local/apache > > > > apache configured with > > > ./configure --prefix=/usr/local/apache/ --activate-module=src/modules/php4/l > > ibphp4.a > > > > Apache was already installed and working with mod perl, I just went into > > /usr/local/apache/apache_1.3.22 stopped the web server and ran the line > > above > > (and then make & make install of course) > > > > how can I check to make sure the libphp4 module was activated properly and > > that apache is using it? > > I see nothing about a php module when I do a httpd -l, it gives me this > > Compiled-in modules: > > http_core.c > > . > > . > > . > > mod_perl.c > > suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec > > do I need to install mod_php? It doesn't say anything about doing this in > > the INSTALL file? > > if I remeber correctly you need apache with mod.so also configured if > you ar doing it as a dynamic library. siince the response to you doing > httpd -l doesn't say anything about it being there that is probably the > culprit. > > John Coder > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php