Re: Plz help quick - mysql/php/web server undefined function all of a sudden
| From: | John Nichel | Date: | Mon, 03 May 2004 21:01:47 +0000 |
| Subject: | Re: Plz help quick - mysql/php/web server undefined function all of a sudden | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-185257@lists.php.net to get a copy of this message | ||
Chip Wiegand wrote:
It is compiled with apxs2. Does recompile mean running make ; install; clean in the ports? Do I have to specify all the --with stuff listed below if I have to do that? -- Chip ----------------- './configure' '--enable-versioning' '--enable-memory-limit' '--with-layout=GNU' '--with-zlib-dir=/usr' '--disable-all' '--with-regex=php' '--with-pear' '--with-bz2=/usr' '--enable-ctype' '--with-gd' '--enable-gd-native-ttf' '--enable-gd-jis-conv' '--with-freetype-dir=/usr/local' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--with-xpm-dir=/usr/local' '--with-iconv-dir=/usr/local' '--enable-overload' '--with-pcre-regex=yes' '--enable-posix' '--enable-session' '--enable-tokenizer' '--with-expat-dir=/usr/local' '--enable-xml' '--with-xmlrpc' '--with-zlib=yes' '--with-apxs2=/usr/local/sbin/apxs' '--prefix=/usr/local' 'i386-portbld-freebsd5.1'Yep. In your php source directory, use that configure string (and add --with-mysql). You can copy/paste that to a shell, but remove the single quotes from around everything. If it configures fine, run make, and then make install if the make goes well. Once that is done, just restart your webserver. -- John C. Nichel KegWorks.com 716.856.9675 john@kegworks.com