Hi Alan,
thanks for your idea. I tried it but it didn't work.
The code I used was:
I get the following output from that script:
Fatal error: Call to undefined function: extension_loaded() in
/var/www/links/content/test.php on line 2
I also checked the phpinfo() output, the mod_php4 module for
Hi Jon,
no I want to use MySQL and PHP says extension_loaded is an PHP built in
function.
Thanks and bye,
Sven
Hi Sven,
I just checked out the function extension_loaded() using the
following (pgsql.so is setup in the php ini file) ...
When you look under the Additional Modules section of the phpinfo
output - pgsql is listed. I get a null response otherwise (ie:
extension_loaded("gd")). It seems to
Sven Gaerner wrote:
> Hi,
>
> I installed Apache and PHP4 and several modules for PHP4.
> Everything works but I need to know if a special module is loaded. In the
> PHP4 Manual on the PHP website it says you can use the function
> bool extension_loaded(string module);
> When I tried this I rece
Hi Alan,
thanks for your idea. I will try it but why does the other function not exist.
In the PHP manual it says this function is available since version 3.0x.
I think this is a little bit strange...
Bye,
Sven
Hi Sven,
I have not come across the function you mentioned (haven't
checked the docs for a bit) ... What I tend to do is something like
...
if(!function_exists(imagecreate)) dl("gd.so");
Where "imagecreate" is a function in the gd module.
Hope this helps...
Alan
> Date: Wed, 26
I would just use the phpinfo() function in a php document to
check the php configuration. If you would like to see which
apache modules are loaded, try httpd -l.
Wes
Wesley A. Wannemacher
Instructor, Network Administrator
Northwestern College
[EMAIL PROTECTED]
7 matches
Mail list logo