#16288 [Opn->Bgs]: Timeout while checking on a string

From: Date: Sat, 24 Aug 2002 00:30:33 +0000
Subject: #16288 [Opn->Bgs]: Timeout while checking on a string
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17705@lists.php.net to get a copy of this message
ID: 16288 Updated by: iliaa@php.net Reported By: loginx@linkadmin.org -Status: Open +Status: Bogus Bug Type: Pspell related Operating System: RedHat 7.2 PHP Version: 4.1.2 Assigned To: vlad New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately you are not using a current version of PHP -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. If you still have the problem make sure that the pspell library your php is linked against and not the one you've compiled. Redhat's known for store libraries in 'unique' paths, it is likely that you have 2 seperate libspell libraries and your php is being linked against the wrong one. Previous Comments: ------------------------------------------------------------------------ [2002-04-09 15:39:24] loginx@linkadmin.org I tried again everything, first compile pspell, then aspell (from the author's website), then went back on aspell, made the modules, recompiled and installed pspell, tryed the example (it worked), recompiled php, still timeout of 30 seconds... no error in /var/log/messages in /var/log/httpd/error_log no error except the obvious "/var/www/html/spellcheck.php(4) : Fatal error - Maximum execution time of 30 seconds exceeded" one, I'm clueless... Vlad, would you like to check it out for yourself ? I could set you up a guest account to see if there's any problem that I wouldn't have detected... Thanks. ------------------------------------------------------------------------ [2002-04-03 17:30:53] loginx@linkadmin.org Yes, as before, it still works fine and I do get a list of suggestions for the word helllo. ------------------------------------------------------------------------ [2002-04-03 13:47:18] vlad@php.net Ok. Back to the question I asked earlier then. Could you go into the directory where pspell source is and from there to examples, and try to compile and run an example: cd pspell/examples make example-c ./example-c en s helllo and please tell if it gives you a list of suggestions for the misspelled word 'helllo'. ------------------------------------------------------------------------ [2002-04-03 10:08:18] loginx@linkadmin.org Okay well unfortunately, I just tried this and it didn't work so I tried again from scratch... pspell: ./configure make ; make clean install aspell ./configure make ; make clean install pspell again: ./add-modules cd .. ; make ; make install php: ./configure --with-apxs=/usr/sbin/apxs --with-sybase=/usr/local/freetds/ --with-pdflib --enable-debug --enable-trans-sid --with-pspell make make install /etc/rc.d/init.d/httpd restart still the same timeout... ------------------------------------------------------------------------ [2002-04-02 21:21:53] vlad@php.net Sorry, took me a while to reply After you do: ./add-modules did you remember to do rebuild pspell? that is, ./add-modules cd .. make make install ??? That should fix the problem. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/16288 -- Edit this bug report at http://bugs.php.net/?id=16288&edit=1

« previous php.bugs (#17705) next »