Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MySQL routines not found

2 views
Skip to first unread message

Geert-Jan van Leeuwen

unread,
Aug 28, 2010, 11:00:04 AM8/28/10
to
Hi,

I installed apache2.2, php5 and mysql5.1 on windows 7.
Everything went well.

php is in map c:\php5

PHP works just when i try to use mysql routines i get the errormess.:
Fatal error: Call to undefined function mysql_connect() in
D:\webpages\localhost\rpg\includes\koppel_db.php on line 4

In php.ini i activated:
extension=php_mysql.dll
extension=php_mysqli.dll

I am overlooking something simple. Pls can somebody give me a tip.

Thnx in advance,

Geert-Jan

Jerry Stuckle

unread,
Aug 28, 2010, 12:46:28 PM8/28/10
to

Ensure your mysql client library is in your PATH statement or otherwise
accessible to PHP.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstu...@attglobal.net
==================

Geert-Jan van Leeuwen

unread,
Aug 29, 2010, 5:05:25 AM8/29/10
to
Op 28-8-2010 18:46, Jerry Stuckle schreef:

> On 8/28/2010 11:00 AM, Geert-Jan van Leeuwen wrote:


>>
>> I am overlooking something simple. Pls can somebody give me a tip.
>>
>> Thnx in advance,
>>
>> Geert-Jan
>
> Ensure your mysql client library is in your PATH statement or otherwise
> accessible to PHP.


I did that. I opened dos-prompt and added the php-path to the path.
Didn't work. After your mail i added the path in windows 7 to make it
permanent. Now it DOES work. :)
Knew it was simple. Now i have some other problems but will work it out.

Thanks for your answer.

Geert-Jan

Raymond Schmit

unread,
Sep 9, 2010, 6:08:00 PM9/9/10
to

I think that he asked to put mysql in path ....(not php which should
be in also)

0 new messages