RE: PHP Installation question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have zlib-1.2.1.1-i486-1. Whether that is zlib-devel or zlib-dev I have no
idea, and not sure how to find out.

Sort of figured out the MySQL problem, but now I get an error when I run
'make'. This is not a biggie, but the other problem I need to get resolved.

Thanks

-----Original Message-----
From: Chris [mailto:dmagick@xxxxxxxxx] 
Sent: December 6, 2006 7:35 PM
To: Beauford
Cc: php-general@xxxxxxxxxxxxx
Subject: Re:  PHP Installation question

Beauford wrote:
> Hi,
> 
> I am trying to install vBulletin and keep getting this error: Fatal error:
> Call to undefined function: gzinflate().
> 
> The only thing I can find on this is that zlib needs to be configured 
> with PHP at compile time. So I reinstalled PHP using the following:
> 
> ./configure --with-mysql --with-apache=../apache_1.3.36 --with-zlib 
> --with-gd make make install
> 
> The above finishes with no error.
> 
> I rebooted, but still get same error, and zlib or gd doesn't show up 
> in my phpinfo output. zlib is installed, and from my understanding gd 
> is included with PHP, all the other libraries for gd are also 
> installed. So what am I doing wrong?

Check if you have zlib-devel or zlib-dev package installed. You need this to
be able to compile support into other applications.

No idea how you do this on slackware.

Also try specifying the path to zlib:

--with-zlib=/usr for example.

> Also, how do I find out where something is installed? i.e. zlib. If I 
> do a search on it I get hundreds of hits...

No idea about slackware. Do a search or ask a slackware list/forum.

> Last. In the above ./configure line I get a message from PHP saying I 
> am using the built in version of MySQL - if I point it to the actual 
> MySQL source directory I get the following error.
> 
> configure: error: Cannot find libmysqlclient library under 
> ../mysql-5.0.22

Install the mysql-dev/devel &/or mysql-client packages most likely.

Or point it to the right directory. You need to point it to the base of the
mysql package. Eg if mysql is installed in /usr/local/mysql (so binaries are
under /usr/local/mysql/bin & libs are in
/usr/local/mysql/lib) then

--with-mysql=/usr/local/mysql

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux