Re: Help please!!!!!!!!!!!!!!!!
| From: | Jim Thome | Date: | Fri, 09 Nov 2001 21:15:03 +0000 |
| Subject: | Re: Help please!!!!!!!!!!!!!!!! | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-4891@lists.php.net to get a copy of this message | ||
Ed-
Remove the entire PHP source tree, untar it again, and rebuild PHP. Removing config.cache or simply
rebuilding PHP never seems to force a reload of the PHP module within Apache. As far as the
undefined function, was an earlier build compiled with DB functions?
Regards,
Jim
>>> "Edward Harman" <edward.harman@ntlworld.com> 11/09 8:56 PM >>>
This is a repeat post but its driving me nuts, and seems at odds with what
is posted elswhere to this newsgroup -
I've installed PHP4.0.6 under Mandrake 7.2 with the following command -
./configure --with-mysql --with-apxs --with-config-file-path=/somedir
....and followed instructions in the INSTALL exactly.
However when I restart apache and access phpinfo() it loads the default -
Configure Command './configure' '--with-mysql' '--with-apxs'
Configuration File (php.ini) Path /usr/local/lib
Apart from ignoring the with-config... it is still looking in
/usr/local/lib.
I wouldn't really mind this 'feature' but I get what appear to be path
problems when I execute scripts -
Fatal error: Call to undefined function: setfetchmode() in ......
setfetchmode()
-appears to be defined in /usr/local/lib/php/DB/common.php
If I append this dir to the include_path (/usr/lib/php.ini), I end up with
errors from other libs in the php path.
Any views/solutions gladly accepted
Regards
Ed
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
For additional commands, e-mail: php-install-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net