Where are the extensions?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I've built PHP 5 on Solaris, and included --with-pgsql=<dir> when i
configured it.  my test script seems to work, but extension_dir is
pointing to an odd place (a directory that does not exist, in fact).
I never made a php.ini file, so I assume it's getting set to some
default.  My question is, did the compile process actually make a
php_pgsql.so file?  or is support bundled into the executable?

Re: Where are the extensions?

Reacher wrote:
Quoted text here. Click to load it

If your test script works, then the extension is compiled into PHP.  But  
if you would have had a problem compiling with --with-pgsql=<dir>,  
config (or make) would have told you about it and you wouldn't have been  
able to continue.

Check phpinfo() and see where it thinks your php.ini file should be.  
There are default values used if you don't have one, but generally you  
want to specify your own values for some of the defaults.

Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.

Site Timeline