Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-28-2009, 10:07 AM   #1
Registered: Aug 2003
Posts: 74

Rep: Reputation: 15
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!
Old 08-28-2009, 03:14 PM   #2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,461

Rep: Reputation: 1472Reputation: 1472Reputation: 1472Reputation: 1472Reputation: 1472Reputation: 1472Reputation: 1472Reputation: 1472Reputation: 1472Reputation: 1472
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Urgent PHP problem with "undefined function: domxml_open_mem()"! Recomplie php? Oskare100 Linux - Server 0 12-27-2006 12:28 PM
I need help on this PHP error -- "Call to undefined function: mysql_connect()" yzh999 Linux - Software 1 08-12-2006 03:14 AM
PHP header("Location: xxx.php") not working? baddah Programming 7 05-10-2006 09:00 AM
PHP / VideoLAN / Fedora Core Question - how can I get the PHP "exec" function to work gtrawoger Linux - Software 3 12-21-2005 06:51 AM
NVidia GeForce 4 on Mandrake 10.1 shows "Generic" module... SAFX Mandriva 12 10-16-2004 12:36 PM

All times are GMT -5. The time now is 01:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration