Re: Newbie: Can't find function error.
| From: | php3 at developersdesk dot com | Date: | Tue, 06 Mar 2001 08:56:51 +0000 |
| Subject: | Re: Newbie: Can't find function error. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-42726@lists.php.net to get a copy of this message | ||
Addressed to: Darren Ward <darren.ward@davnet.com.au>
php-general@lists.php.net
** Reply to note from Darren Ward <darren.ward@davnet.com.au> 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