Jump to content

configure PHP extension


Recommended Posts

Friend ....i just install the php 5.0 from the installer in my c: drive.

But the installation file just have a few files only. It is not have the

folder extension. Why this happen.so how to configure the extension

in php.ini file.

 

php.ini

; Directory in which the loadable extensions (modules) reside.

extension_dir = "./"

Link to comment
https://forums.phpfreaks.com/topic/71002-configure-php-extension/
Share on other sites

Friend ....i just install the php 5.0 from the installer in my c: drive.

But the installation file just have a few files only. It is not have the

folder extension. Why this happen.so how to configure the extension

in php.ini file.

 

php.ini

; Directory in which the loadable extensions (modules) reside.

extension_dir = "./"

Do you just have those two lines in your php.ini or is that just an excerpt from the php.ini? If its an excerpt than just change ./ to the full path of your php extension folder, eg if you installed PHP in C:/PHP then set extension_dir to:

extension_dir = "C:/php/ext"

 

Save the php.ini and PHP will now look for extensions located in C:/php/ext when you uncomment them in the php.ini.

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.