Hello..
I am trying to get PHP 4.3.9 working on my client's Solaris server. They use Sun One Web Server 6.0 (or Netscape Server, iPlanet, etc.), and Sybase 12.5 for DB.
I successfully installed PHP 4.3.9 with:
./configure --with-nsapi=/netscape/servers6 --with-pear --with-sybase-ct=/webpages/sybase/OCS-12_5 --enable-libgcc
I was so happy when I got phpinfo(); screen on my browser. =)
However, unfortunately I can't get it connect to sybase database. Weird thing is that it works well when I run it with CLI binary, run it from console with 'php index.php' but never works with NSAPI module.
First I thought it was environment variables problem, but LD_LIBRARY_PATH is specified well, so I am thinking it could be NSAPI module problem. I would love to use CGI mode if I can get it working, but from what I read in Sun documents, I don't think it's possible with Sun One Web Server.
Any help would be really appreciated. I always worked in a lovely environment of Linux/Apache/Mysql, and I've never used Netscape server or Sybase before. It's really driving me crazy..
Thanks..