Re: Plz help quick - mysql/php/web server undefined function all of a sudden

From: Date: Mon, 03 May 2004 22:15:12 +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-185262@lists.php.net to get a copy of this message
John Nichel <john@kegworks.com> wrote on 05/03/2004 02:01:47 PM: > 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 forgive me if this is a stupid question, but I don't know what the source directory is (unless it is /usr/ports/www/mod_php4). This wasn't installed from source, it was installed from the port or the package. The package file is in /usr/ports/distfiles, can I just reinstall the package with the appropriate --with options? -- Chip

« previous php.general (#185262) next »