Reply to Re: HELP "Cannot load mysql extension"

Your name:

Reply:


Posted by Tom on 03/27/07 17:18

On 20 Mar 2007 03:20:58 GMT, John Oliver wrote...
>
>Fedora Core 2 server with httpd-2.0.54-10.2 php-4.3.10-2.4
>php-mysql-4.3.10-2.4 It had MySQL 3.23.58.something on it, but the PHP
>websites were using a 4.something MySQL on another machine. I updated
>the MySQL on this machine to mysql-4.1.20-1.FC4.1 and now no PHP sites
>come up. But mysql.so is right where it's always been:
>
>[root@web1 abtech]# ls -l /usr/lib/php4/mysql.so
>-rwxr-xr-x 1 root root 44364 Dec 21 2004 /usr/lib/php4/mysql.so
>
>And the extension line has been commented out of /etc/php.ini and Apache
>restarted.
>
>How do I make PHP work again?
>


Are you able to run a simple "php_info()" to confirm if it's a PHP problem?
Sometimes if you have a big update on other software (e.g. MySQL v3.* to v4.*)
there may be an issue with that upgrade preventing PHP from working right.

If you had compiled your PHP with v3, you may need to redo your PHP installation
with v4.

Tom
--
Newsguy.com - Basic Accounts $39.95 / 12 months

[Back to original 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

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