[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PHP with MySQL



John Pearson wrote:

> You shouldn't need to.
> 
> If you have php3 (not php3-cgi) installed:
>   - Install php3-mysql;
>   - Ensure that the line
>     extension=mysql.so
>     appears in /etc/php3/apache/php3.ini
>   - Stop & re-start apache.
> 
> If you're using php3-cgi:
>   - Install php3-cgi-mysql;
>   - Ensure that the line
>     extension=mysql.so
>     appears in /etc/php3/cgi/php3.ini

As an alternative:

Try adding dl(mysql.so) to your php files *before* any MySQL commands
are called.

If that doesn't do the trick, you're missing some debs.

MfG Viktor
-- 
Viktor Rosenfeld
E-Mail:         mailto:rosenfel@gmx.de
or:             mailto:rosenfel@informatik.hu-berlin.de
HertzSCHLAG:    http://www.informatik.hu-berlin.de/~rosenfel/hs/



Reply to: