Thanks to all who replied, that works fine although only as extenmsion php
and not php3 but I'll sort that out.

A second follow up question is where I should place the ini file to change
environment variables?

What I've read doesn't work :(

Darren

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 06, 2001 7:57 PM
To: Darren Ward; [EMAIL PROTECTED]
Subject: Re: [PHP] Newbie: Can't find function error.


Addressed to: Darren Ward <[EMAIL PROTECTED]>
              [EMAIL PROTECTED]

** Reply to note from Darren Ward <[EMAIL PROTECTED]> Tue, 6 Mar
2001 18:17:11 +1100 
>   
> Hi Guys,
>   
> Newbie to the list and the world of PHP.
>   
> I'm having a LOT of trouble getting PHP to work.
>   
> The PHP and Apache installs have gone well as evidenced by:
>   
> # ./httpd -l
> Compiled-in modules:
>   http_core.c
>   mod_env.c
>   mod_log_config.c
>   mod_mime.c
>   mod_negotiation.c
>   mod_status.c
>   mod_info.c
>   mod_include.c
>   mod_autoindex.c
>   mod_dir.c
>   mod_cgi.c
>   mod_asis.c
>   mod_imap.c
>   mod_actions.c
>   mod_userdir.c
>   mod_alias.c
>   mod_access.c
>   mod_auth.c
>   mod_so.c
>   mod_setenvif.c
>   mod_ssl.c
>   mod_php4.c
>   mod_perl.c
>   
> And httpd.conf has the handlers for php3 and php but whenever I browse to
a
> test php3 file it says:
>   
>  Fatal error: Call to undefined function: php_info() in test.php3 on line
1
>   
> The file looks like:
>   
> <?php php_info() ?>



Try:

<?php phpinfo() ?>




Rick Widmer
Internet Marketing Specialists
http://www.developersdesk.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to