Apache, mod_perl, mod_ssl, php & Mysql, Can't find MySQL

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
edpatterson
Forum Newbie
Posts: 2
Joined: Fri Feb 11, 2005 12:11 pm

Apache, mod_perl, mod_ssl, php & Mysql, Can't find MySQL

Post by edpatterson »

Greetings,

I am attempting to set up Apache 1.3.33 to use mod_perl, mod_ssl, php & MySQL.

SuSE 9.2 Professional
Apaceh 1.3.33
imap-2004c1
mod_perl 1.0 (current)
mod_ssl 2.8.22-1.3.33
openssl 0.9.7e
php 4.3.10
mysql 4.1.9.0

The ./configure for php is complaining that it can not locate the header files for MySQL. I have verified that mysql*.h files are indeed in /usr/include/mysql

Progresss so far
Compiled OpenSSL
Patched Apache source with mod_ssl
Compiled and tested Apache with ssl
Compiled mod_perl
Compiled IMAP client for PHP

Left to do
Compile PHP

command I am using/trying to use
./configure --with-apxs=/opt/apache/bin/apxs
--with-config-file-path=/opt/apache/conf --with-mysql=/usr/include/mysql
--with-zlib --enable-ftp --with-gettext --with-imap=../imap-2004cl
--with-bz2 --with-gd --with-png-dir --with-jpeg-dir
--with-pear=/opt/apache/php-pear

I am using a post by someone who did the same thng on a Red Hat box as a guide.

So close....

Ed
Post Reply