TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compiling php4 for mysql and apache
Hey,
I'm trying to get Apache // php4 // MySQL working on a Debian/Woody box, but
get the following msg from the php-powered page:
Fatal error: Call to undefined function: mysql_connect() ...
The fix is suppose to be to recompile PHP as such: $ ./configure --with-mysql
--with-apxs ..., but I get:
apxs: command not found
I've done a search of my system and the 'apxs' script is not there. Doing some
more searches on Deja, someone said that 'apxs' is part of the 'apache-devel'
package; there's an RPM but Debian apparently doesn't have one.
Any help? It sort of suprises me that with the popularity of MySQL, that PHP
package doesn't come with support for it included. I downloaded apache-1.3.12
and ran ./configure, but that didn't install apxs either.
TIA.
--
John Hawley
Network Administrator
IT Services // BGEA
612.335.1334 <=> jhawley@bgea.org