I am trying to install PHP on my SunOne, v6 (iPlanet, Netscape...whatever the real name is) web server. I am running Solaris 8. I am also trying to install PHP with mySQL. I have already installed mySQL (v 4.013) and it works.

I have been following the instructions on the PHP.net site.After I have installed the utilities listed here and I have completed steps 2-5 I run into a problem when runing the configure line.

Here is what I am runing at the prompt : (step 6)
./configure --with-mysql=/usr/local/mysql --with-nsapi=/local/apps/websrvr/app --enable-track-vars --enable-libgcc

After I have run that the error that I get is:
configure: error: Try adding --with-zlib-dir=<DIR>. Please check config.log for more information.
(This is during the Configuring extensions part of the configure step) I have attempted to look at the log file but I really have no idea what to look for.

I am new to the UNIX environment and maybe this is something very simple but I would greatly appreciate any help in this matter.

Thanks

    Took out the --with-mysql part of the configure line and it configured just fine. I read somewhere that the mysql part is a default anyways so that must have been what was tripping it up.

      Write a Reply...