php-install Digest 19 Jul 2001 00:06:00 -0000 Issue 369 Topics (messages 3600 through 3606): php 4.0.6 : configure warning 3600 by: jcelle.alternis.fr PSPELL hell 3601 by: Garth Dahlstrom Re: [PHP-DEV] PSPELL hell 3602 by: Vlad Krupin Re: php with java support 3603 by: Benjamin Heckmann Re: Browser wants to download .php file 3604 by: David Serrano Re: problems compiling php+imap with apache 3605 by: Yoda Re: php4isapi.dll "The specified procedure could not be found." 3606 by: Grey Randall Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
Hello, I get a warning when running 'configure'. I have no idea of what can be wrong. This was going rather well with version 4.0.5 I tried to remove mySQL by replacing the mySQL config.m4 file by an empty file : same warning. Hope it helps you find sthing wrong. Many thank's to all that contribute to PHP. Jérôme CELLE - Alternis
I compiled pspell into PHP 4.0.6, but when I go to execute the example I get unable to load aspell module... aspell 0.32 is on the box. Help! Output: ------- Warning: PSPELL couldn't open the dictionary. reason: Unable to load the "aspell" module. in /var/www/spell.php on line 2 Warning: 0 is not an PSPELL result index in /var/www/spell.php on line 4 Warning: 0 is not an PSPELL result index in /var/www/spell.php on line 5 Possible spelling: Input: ------ <?php $pspell_link = pspell_new ("en"); if (!pspell_check ($pspell_link, "testt")) { $suggestions = pspell_suggest ($pspell_link, "testt"); for ($i=0; $i < count ($suggestions); $i++) { echo "Possible spelling: " . $suggestions[$i] . "<br>"; } } ?> -Garth --- http://www.northern.ca
This is really a support question, not a development question, so please use php-general *only*, not php-dev list, do not cross-post. Now, that said, please reply privately to me so we take discussion off the list do not clutter the mailing list. By the way, these issues have been covered several times, so you could probably find an answer by looking through archives of php-dev. what's your: 1. Configure line for php? 2. Configure lines for aspell and pspell? 3. Which order did you install aspell and pspell in? 4. /etc/ld.so.conf if you have one? 5. Can you go to pspell/examples directory, do 'make example-c', then 'su nobody' (or use the user that php scripts are executed as, if not nobody), then do './example-c en' and check a spelling of a word, by, say, doing 's hullow'. pspell installation is unfortunately not always straight-forward, but it is not a rocket science either. Yet it is very easy to install them in a way that php will compile, but won't work with those libraries. Vlad Garth Dahlstrom wrote: >I compiled pspell into PHP 4.0.6, but when >I go to execute the example I get unable to >load aspell module... aspell 0.32 is on the >box. > >Help! > >Output: >------- >Warning: PSPELL couldn't open the dictionary. reason: Unable to load the >"aspell" module. in /var/www/spell.php on line 2 > >Warning: 0 is not an PSPELL result index in /var/www/spell.php on line 4 > >Warning: 0 is not an PSPELL result index in /var/www/spell.php on line 5 >Possible spelling: > >Input: >------ ><?php >$pspell_link = pspell_new ("en"); > >if (!pspell_check ($pspell_link, "testt")) { > $suggestions = pspell_suggest ($pspell_link, "testt"); > > for ($i=0; $i < count ($suggestions); $i++) { > echo "Possible spelling: " . $suggestions[$i] . "<br>"; > } >} >?> > >-Garth > >--- >http://www.northern.ca > > >
> Hi Benjamin! > > My name is Gerardo and I\'m triying to configure my php wit java support, > but I have some configuration errors, could you help me? > > When I want to open my php file, the browser display me this error: > > Fatal error: Unable to load Java Library libjava.so, error: undefined > symbol: jdk_sem_post in /usr/local/www/htdocs/php/java/phpJava.php on > line 2 Ok, I have never seen this error before, but as I tryed to work with php and java it was with 4.0.4 and there was a bug in the java implementation, so after I had it running the bug stopped further development. > > > On this moments I\'ve used the follows tools: > > 1) Red hat linux 7.0 > 2) php 4.0.5 > 3) Sun Microsystems JDK 1.3 > > and my php.ini file loks like this: > > (please see the attach file) I looked at the file and think you should correct it a little bit and try a different version: [Java] > java.class.path=/usr/local/lib/php_java.jar:/usr/local/jdk1.3/jre/lib/rt.jar How many of them do you think php could handle? Try: java.class.path=/usr/local/lib/php_java.jar java.home=/usr/local/jdk1.3 > java.library.path=/usr/local/lib/php:/usr/local/jdk1.3/jre/lib/i386/classic: /usr/local/jdk1.3/jre/lib/i386:/usr/local/jdk1.3/jre/lib/i386/native_threads :/usr/local/lib/php/extensions/no-debug-non-zts-20001222:/usr/local/lib/exte nsions:/usr/local/jdk1.3/jre IMO this should work, but is a bit offersized. In many of those directories is no needed content. Try, if all other changes worked: java.library.path=/usr/local/lib/php/extensions/no-debug-non-zts-20001222:/u sr/local/jdk1.2.2/jre/lib/i386:/usr/local/jdk1.2.2/jre/lib/i386/native_threa ds:/usr/local/jdk1.2.2/jre/lib/i386/classic java.library=libjava.so > extension_dir=/usr/local/php-4.0.5/modules I really don't think theres the file we are searching for? Try: extension_dir=/usr/local/lib/php/extensions/no-debug-non-zts-20001222 extension=libphp_java.so > > > Thanks a lot for your help > > Gerardo > Benjamin
This is what the AddType Should look like. AddType application/x-httpd-php .php .php3 .php4 .phtml .phps "Stuart Hunter" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I installed PHP 4.06 for Linux on my server and followed the > instructions for uncommenting the AddType in my APache httpd.conf file. > > However when I try and get to a .php file on the server my browser tries > to download it instead of displaying the contents generated by the php > file. > > What have I done wrong, and where should php.ini really live? > > Stuart
Just to add my name to the list of imap and PHP 4.0.6 with RedHat 7.1 users. I am having no success on getting this up and usable. As long as I do not include "--with-imap", everthing works find. -Keith "Ghz" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm having the same problem on Redhat 7.2 > > Ron > > "Piotr Szymanek" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi. > > > > I'm trying to install apache with php4 and imap (c-client) on RedHat7.1 > > . > > > > C-client compiles fine. > > PHP (4.0.6) always compiles fine (with --with-imap or without it). > > Apache (1.3.9) compiles (and works) fine only if PHP was compiled > > WITHOUT imap. If PHP was compiled with imap apache does not compile > > successfully (problems with imap libraries): > > > > .. > > modules/php4/libphp4.a(php_imap.o): In function `mail_close_it': > > /root/soft/php-4.0.6/ext/imap/php_imap.c:190: undefined reference to > > `mail_close_full' > > modules/php4/libphp4.a(php_imap.o): In function > > `mail_newfolderobjectlist': > > /root/soft/php-4.0.6/ext/imap/php_imap.c:250: undefined reference to > > `fs_get' > > modules/php4/libphp4.a(php_imap.o): In function `mail_free_foblist': > > /root/soft/php-4.0.6/ext/imap/php_imap.c:263: undefined reference to > > `fs_give' > > modules/php4/libphp4.a(php_imap.o): In function `mail_newerrorlist': > > /root/soft/php-4.0.6/ext/imap/php_imap.c:277: undefined reference to > > `fs_get' > > modules/php4/libphp4.a(php_imap.o): In function `mail_free_errorlist': > > /root/soft/php-4.0.6/ext/imap/php_imap.c:288: undefined reference to > > `fs_give' > > modules/php4/libphp4.a(php_imap.o): In function `php_rshutdown_imap': > > /root/soft/php-4.0.6/ext/imap/php_imap.c:330: undefined reference to > > `mail_free_stringlist' > > modules/php4/libphp4.a(php_imap.o): In function `mail_newmessagelist': > > /root/soft/php-4.0.6/ext/imap/php_imap.c:356: undefined reference to > > `fs_get' > > modules/php4/libphp4.a(php_imap.o): In function `php_minit_imap': > > /root/soft/php-4.0.6/ext/imap/php_imap.c:437: undefined reference to > > `unixdriver' > > /root/soft/php-4.0.6/ext/imap/php_imap.c:437: undefined reference to > > `mail_link' > > /root/soft/php-4.0.6/ext/imap/php_imap.c:439: undefined reference to > > `imapdriver' > > .. > > > > Any suggestions are welcome. > > > > - Piotr Szymanek > >
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Rob Dias) wrote: > I installed everything as described in the installation notes and readme > files. When I add a script mapping to "php.exe" everything works fine. > When I add a script mapping to "php4isapi.dll" I get a message that > says: > > The specified procedure could not be found. > > Everything works great when using the CGI module but it won't work at > all using the ISAPI module. > I'm using WinNT 4.0 SP 5, IIS 4 with PHP4.04 Patch Level 1. > > Thanks for any help. > > jer At least you can get it to work. I get that same message whether I use the .exe file or the DLL Followed those installation instructions to the letter I even have removed and reinstalled IIS 4 on my NT 4 server but I keep getting "Specified Procedure Cannot be Found" What really ticks me off is that when I try to run php scripts from the command promp, they don't work either. HELP!!!