Page 1 of 1
Urgent: Help!!! PHP.ini settings
Posted: Thu Jul 22, 2004 9:38 am
by NewfieBilko
Hey guys.. i think some idiot here at the shop went and edited my php.ini file. I am running PHP 4.3.7 or something around there. He tells me he changed the EXTENSION_DIR..
what is the best way to find out , where my extension_dir is located , or what I shouldput in my php.ini for EXTENSION_DIR.. i am on Linux.
WHATS THE BEST WAY TO FIND MY MODULE EXTENSIONS???? HELP>????

Posted: Thu Jul 22, 2004 9:41 am
by markl999
It will tell you on there (search for extension_dir)
Posted: Thu Jul 22, 2004 9:45 am
by liljester
if you're running windows, copy the extensions you have loaded in php.ini to /windows/system32 (may be /winnt/system32). then you dont have to worry about the extensions dir.
Posted: Thu Jul 22, 2004 9:49 am
by NewfieBilko
IM ON LINUX
Posted: Thu Jul 22, 2004 9:53 am
by NewfieBilko
i did phpinfo
it gives me
/usr/lib/php2
for it
to let u know, there are a fewe virtual hosts on this.. I just tested the phpinfo on php2.domain.com
Posted: Thu Jul 22, 2004 9:58 am
by NewfieBilko
i look in my /usr/lib/ directory and all i see is /usr/lib/php4 wtf...
it has 3 files, mysql.so, imap.so, idap.so
so in my php.ini file i put /usr/lib/php4.. but it still no go
maybe ill try /usr/lib
Posted: Thu Jul 22, 2004 10:01 am
by NewfieBilko
what should my include_path be then?
Posted: Thu Jul 22, 2004 10:05 am
by NewfieBilko
nevermind
its just so weird though.. i got everything put back to what it was supposed ot be now.. but i get this weird thing happen. my php application cannot connect with the database for some reason.. my navicat can! but my application says it can't!?!?!?