LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   weird PHP compile issue- module shows in "php -m" but not in phpinfo call (http://www.linuxquestions.org/questions/linux-software-2/weird-php-compile-issue-module-shows-in-php-m-but-not-in-phpinfo-call-750883/)

hbbtstar 08-28-2009 10:07 AM

weird PHP compile issue- module shows in "php -m" but not in phpinfo call
 
Hey all-

I have a really weird error that I was hoping someone might be able to help me resolve. My developers asked me to compile php 5.2.8 on their RHEL system, and so I did so happily- they required mysqli and gd support. I ran it with the configure switch "--with-mysqli" and "--with-gd" and it configured fine and make'd and make install'd fine. I ran "php -m", saw both mysqli and gd in the output, and went on my merry way.

The developers just called me complaining that it does not appear in phpinfo(); when they run it. gd, however, does appear in phpinfo() so I don't really know how to resolve this. Thanks in advance for any input!

bathory 08-28-2009 03:14 PM

What is that it doesn't show in phpinfo()?
If it's mysqli, you have to use "--with-mysqli=/path/to/mysql_config" pointing to mysql_config binary.


All times are GMT -5. The time now is 10:20 AM.