php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3857 mysql.h not found
Submitted: 2000-03-17 08:47 UTC Modified: 2000-03-17 09:37 UTC
From: c dot germer at tu-bs dot de Assigned:
Status: Closed Package: Installation problem
PHP Version: 3.0.15 OS: Solaris 2.6
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: c dot germer at tu-bs dot de
New email:
PHP Version: OS:

 

 [2000-03-17 08:47 UTC] c dot germer at tu-bs dot de
configure --with-mysql=... --with-apache=...

functions/mysql.c error file not found mysql.h

and there is none

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-17 09:14 UTC] eschmid at cvs dot php dot net
Install MySQL first and apply the correct path.
 [2000-03-17 09:37 UTC] c dot germer at tu-bs dot de
I applied the correct path! MySQL is not installed in /usr/local, but in /home/manta/MySQL. That's the 
toplevel-dir of MySQL.
So I have configured the PHP with
-with-mysql=/home/manta/MySQL -with-apache=/home/manta/Apache1.3.9 -enable-track-vars
The location of PHP is /home/manta/PHP3 The owner of all relevant directories is germer - NOT root.
Error:
functions/mysql.c:66: mysql.h: No such file or directory

I also tried:
-with-mysql=/home/manta/MySQL/include -with-apache=/home/manta/Apache1.3.9 -enable-track-vars
because the /home/manta/MySQL/include-dir includes the mysql.h!!
Error:
Wrong MySQL directory - libs not found.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 16:00:02 2026 UTC