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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 06:01:32 2024 UTC