You are here: Re: [PHP] Tomcat and php in Suse 9.2 « PHP « IT news, forums, messages
Re: [PHP] Tomcat and php in Suse 9.2

Posted by Richard Lynch on 04/19/05 07:53

On Thu, April 14, 2005 2:30 am, Andreas Persson said:
> I have installed tomcat and added php-support with help of the php-servlet
> but it seem like php cant find any of the extensions installed. Like
> mysql. I have the php4-mysql package installed.
>
> If i run php -i from the commandline its telling me that I have
> mysql-support and a small php-script runned from the commandline verifies
> this.
>
> But if i run phpinfo() from a php-page under tomcat there is no support
> for mysql (or anyother extension). It tells me that its using /etc/php.ini
> and I have enabled the mysql extension in it.
>
> Anyone who knows why tomcat failes to find the php-extensions?

What I know about Tomcat could fit in a matchbook with room for all the
technological things Microsoft has done right over the years. :-)

WILD GUESSES:
#1.
What *user* does PHP report in <?php phpinfo();?>
Can that user read the extension .so files?

#2.
What path is set for extensions in etc/php.ini?

What path do you see when you do command line:
php -i | grep "php.ini"

Is that /etc/php.ini?

If not, what path is set for extensions in *THAT* php.ini file -- cuz that
works.

--
Like Music?
http://l-i-e.com/artists.htm

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация