php-install Digest 11 Mar 2002 03:33:24 -0000 Issue 738

Topics (messages 6308 through 6309):

Re: why is my php code showing up in my browser?
        6308 by: Chris Hewitt

How do I get GDBM to work?
        6309 by: Dan Delaney

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
If phpinfo() does not work either, then examing the AddType etc entries 
in httpd.conf (assuming you are using apache).

Regards

Chris

Timothy R. Robnett wrote:

>On Sat Mar 09, 2002 at 01:37:09PM -0500, Allen Smith wrote:
>
>>I just got a new server and php isnt doing something right.  I uploaded a
>>vbulletin to the server on a stie that I created there and it doesnt
>>show...what DOES show is all of the code that is in the hp file...can anyone
>>help?
>>
>
>What does phpinfo() show. Sounds to me like PHP isn't running on the new server.
>
>Tim
>



--- End Message ---
--- Begin Message ---
Hello all. I just switched all of my files over to a new server (new 
installation of FreeBSD 4.5) and installed PHP 4.1.2 on Apache 
1.3.23. Many of my sites use DBM files. In the past I never had to 
specify to install GDBM support with the configure command, it was 
just there. Now, apparently, it's not there by default. So I'm trying 
to put it in. I'm added "--with-gdbm" to the configure line, but I 
still get the following error:

    Fatal error: Call to undefined function: dbmopen()

What's going on here? Is there something special that one has to do 
to get DBM support in PHP? The documentation doesn't seem to have any 
explanation of this. Is there somewhere in the documentation that 
explains each of the configure options in detail?

The whole DBM/BerkDB support is a bit confusing anyway. There is 
"--with-gdbm", "--with-ndbm", "--with-db3", and "--with-dbm". I know 
what the first three are, but my question is, what is "--with-dbm" 
for, if not for one of the specific implelentations of DBM? I don't 
know of just "DBM". I know of Berkeley DB, GDBM, NDBM, "ODBM", and 
"SDBM", but I've never come across an implementation called just 
"DBM"? What's up?

Cheers.
--Dan

--- End Message ---

Reply via email to