[PHP] upgrade installation
Hi everyone.. When i installed php 4.0.4pl1 i install it with --with-mysql --with-apxs arguments. Now... i wanna put --with-db2... It goes alright.. all... configure, make and make instal.. but.. it doesn't upgrade php.. in phpinfo() it have only --with-mysql --with-apxs arguments. What i need to do to upgrade it... I even try to purge config.cache but doesn't change nothing ANyone can help me? Tks... Sorry for the english - From brazil Scratched -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Php Database
Muito obrigado pela ajuda Michael! Hi everyone! To use de DBA database format, first i had to configurate php with --with-db2 option. All works (configure, make and make install). But the php script still not works. The line of the script that has a problem is: $id = dba_open ("/home/httpd/html/testes/test.db", "n", "db2"); Fatal error: Call to undefined function: dba_open() in /home/httpd/html/testes/teste.php on line 5 That's the error. But, when i looks at phpinfo(), it shows that the php wasn't configurated with --with-db2. I wanna know, how to upgrate the configurations of php... I already tried to delete the config.cache file, but still not working. Anyone knows it? Tks, Sorry for the English... /me from Brazil Scratch -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Php database
HI... I always have to work with databases in .txt file. But its very slow... To find something in the text, i use exec(grep...)... to get all the text i work with .. while(!eof)... Anyone know how to optimize this search and how to optimize all the database use using .txt files? Sorry for the english... I'm from Brazil... Tks.. Scratch -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]