From: Glenn H. <thr...@ma...> - 2005-10-06 01:44:58
|
This still sounds line the command line PHP and the one linked to the web server are different. On the machine hosting CVS, can you test to see if php -v (get the version) will work? Can you test "php -i" (to get the loaded modules and other information)? ... Glenn On 5-Oct-05, at 3:59 AM, Krishan Rathi wrote: > Hi Glenn > > The problem i am getting is that the command which i have to issue > into the > loginfo file of cvs that is > /usr/bin/php /path_to_mantis/core/checkin.php is niether able to > run php > and not able to load the mysql libraries actually i have tried by > creating a > test page "test.php" and when i run it through web browser it run > perfectly > but when i try through command line that is using /usr/local/bin/php > test.php > i am getting the error which i have mentioned in the previous mail. > also when i tried php -v option on the command line i have got the > following > error > PHP Warning: Unknown(): Invalid library (maybe not a PHP library) > 'mysql.so' in Unknown on line 0 > PHP 4.4.0 (cgi) (built: Jun 4 2005 22:17:33) > Copyright (c) 1997-2004 The PHP Group > Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies > > > please help me i am stuck over this issue. > > thanks regards. > > krishan rathi > > > -----Original Message----- > From: Glenn Henshaw <thr...@ma...> > To: man...@li... > Date: Mon, 3 Oct 2005 17:24:25 -0400 > Subject: Re: [Mantisbt-help] Cvs integration with mantis > > >> It looks like the command line php module is not compiled >> properly, or is not loading the mysql shared library. What platform >> is the CVS server running on? Is mysql installed there (to access the >> libraries)? >> >> >> On 3-Oct-05, at 6:23 AM, Krishan Rathi wrote: >> >> >> >>> hi List >>> >>> i am a new user to mantis. I am trying to integrate it with CVS. I >>> have just followed the changes specified in the attached notes. >>> But when i tried to commit through WINCVs client from a different >>> machine to the CVS Server repository. CVS server repository and >>> mantis are installed on the same machine. i am getting following >>> errors : >>> >>> cvs commit -m "no message" ACPLPaymentDBQueryStore.java (in >>> directory D:\newtest\TestCVS\) >>> PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/ >>> php4/mysql.so' - /usr/lib/php4/mysql.so: undefined symbol: >>> Perl_Iperl_destruct_level_ptr in Unknown on line 0 >>> Content-type: text/html >>> X-Powered-By: PHP/4.3.2 >>> >>> >>> <br /> >>> <b>Fatal error</b>: Call to undefined function: mysql_connect() in >>> <b>/usr/local/apache2/htdocs/mantis/core/adodb/drivers/adodb- >>> mysql.inc.php</b> on line <b>339</b><br /> >>> cvs [server aborted]: Message verification failed >>> >>> >>> I have checked the mysql settings by creating a test page in htdocs >>> folder and find the settings >>> allcoreect. >>> >>> could u plz help me in this matter. >>> >>> thanks >>> >>> >> >> -- >> Glenn Henshaw Ottawa, Canada >> Email: thr...@ma... >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: >> Power Architecture Resource Center: Free content, downloads, >> discussions, >> and more. http://solutions.newsforge.com/ibmarch.tmpl >> _______________________________________________ >> Mantisbt-help mailing list >> Man...@li... >> https://lists.sourceforge.net/lists/listinfo/mantisbt-help >> > > > -- Glenn Henshaw Ottawa, Canada Email: thr...@ma... |