Re: phpmyadmin,php4.06 and apache 1.3.22
| From: | Chris | Date: | Wed, 21 Nov 2001 20:56:43 +0000 |
| Subject: | Re: phpmyadmin,php4.06 and apache 1.3.22 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-5061@lists.php.net to get a copy of this message | ||
Greetings,
See below...
> Hello,
> I am not sure what I missed.
> I am trying to run PHP4.06 on Freebsd 4.3 with mysql. I installed
> phpMyAdmin thru the /stand/sysinstall.
>
> When I try to run the phpMyAdmin the file directory comes up.
> and when I click on the index.php3 I get this error.
>
> Parse error: parse error in
> /usr/local/www/htdocs/phpMyAdmin/config.inc.php3 on line 11
>
> Warning: Variable passed to reset() is not an array or object in
> /usr/local/www/htdocs/phpMyAdmin/lib.inc.php3 on line 102
>
> Warning: Variable passed to each() is not an array or object in
> /usr/local/www/htdocs/phpMyAdmin/lib.inc.php3 on line 103
>
> In the apache httpd.conf I have
> #LoadModule php3_module libexec/apache/libphp3.so
> LoadModule perl_module libexec/apache/libperl.so
> LoadModule php4_module libexec/apache/libphp4.so
>
> #AddModule mod_php3.c
> AddModule mod_perl.c
> AddModule mod_php4.c
>
> <IfModule mod_php3.c>
> # AddType application/x-httpd-php3 .php3
> # AddType application/x-httpd-php3-source .php3s
> </IfModule>
> #
> # And for PHP 4.x, use:
> #
> <IfModule mod_php4.c>
> AddType application/x-httpd-php .php .php3
> AddType application/x-httpd-php-source .phps .php3s
> </IfModule>
>
> I was told that I did not need the php3 modules cuz the php4 modules
> would do it.
PHP can do it and Apache will do it. But *needs* to be told. eg;
remove the # from the Addtype line for your .php3 *and* the
LoadModule and AddModule lines as well. Heed Apache's advice and
*do not* change the order or you will find you have Even More
troubles.
Best Wishes,
Chris
>
> Any help is greatly appreciated.
>
> thanks
> bd
>
> --
> 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
--
Chris out...
_________ __________ __________ _____________
/ _____/\ / ____ \ / ______/\ /____ ____/\
/ /\____\/ / /\_ / /\ / / \____\/ \___/ /\___\/
/ /_/__ / /_/_/ / / / /__/_ / / /
/ _____/\ / ____ / / \_____ \ / / /
/ /\____\/ / /\_ / / / \____\ /\ / / /
/ / / / / / / / / _________/ / / / / /
/___/ / /___/ / /___/ / /___________/ / /___/ /
\___\/ \___\/ \___\/ \___________\/ \___\/.dnswatch.com
They that can give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety.
- Benjamin Franklin
..
............................................
This email was sent using DNSWATCH WebMail.
"Get an account today!"
http://www.dnswatch.com/dnswm112/