On Sun, 07 Dec 2003 01:26, you wrote:
> Am having a problem with trying to get a PHP package going on a
> Mandrake install. As far as I can tell the PHP setup on Mandrake is
> *seriously* sub-par.
> There doesn't appear to be *any* libraries installed for it with no php
> ini stuff.
> That is when any calls to a library from PHP gets a "call to a undefined
> function" error.
>
> If anybody can help here I would be grateful.
> I do not want to recompile PHP and get it going with Apache from scratch
> and trashing Mandrake for Redhat is probably a backwards step.
Go to;
http://127.0.0.1/server-status
This should bring up an information page about your web server
Mine has the following key content
"Apache-AdvancedExtranetServer/2.0.44 (Mandrake Linux/11mdk) mod_perl/1.99_08
Perl/v5.8.0 mod_ssl/2.0.44 OpenSSL/0.9.7a PHP/4.3.1 Server at 127.0.0.1 Port
80."
If the string PHP/* is not present then PHP is not present or configured
wrong.
Another tip;
In your web server root directory create the following file with a '.php'
extension;
------------------------------------------------------------------
<?php
phpinfo();
?>
----------------------------------------------------------------
point your browser at this file and if PHP is installed and configured
correctly it will tell you more then you need to know.
Hope that helps
Cheers Ross Drummond