Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199908

Re: SV: [PHP3] mysql not working with php & apache From: Matt Corddry (mcorddry <email protected>)
Date: 08/02/99

If you're compiling php/apache yourself, double check the obvious stuff:

-- mysql is installed, including header and library files
-- you specified --with-mysql=[path-to-mysql-tree] on the php
./configure line

then make a web page with only:

<? phpinfo(); ?>

and see if it shows mysql installed.

I'm sure there are more details ... anyone?

matt

Patrik Lindgren wrote:
>
> >I have installed php under apache on a linux system. The php works fine, but
> >mysql functions do not work. I have looked in the php3.ini and found that
> >mysql is enabled. Also, mysql works from the command line, so I know that
> >has been installed properly.
> >
> >Does anyone have any ideas about what may be the problem?
>
> I experienced the same problem and had to reinstall linux a couple of times before I solved it. =) What I did (I think) was to put the file named "my.cnf" in the /usr/local/etc/my.cnf directory (at least I think that's what solved my problem)
>
> /Patrik
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe <email protected>
> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin <email protected>

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>