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
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
==================
>>
>> 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
I think that he asked to put mysql in path ....(not php which should
be in also)