External .dll file
Moderator: General Moderators
-
deshmukh999
- Forum Commoner
- Posts: 32
- Joined: Mon Mar 15, 2010 2:01 am
External .dll file
Hi,
I need to include .dll file which is not in php/ext folder.
i cant access the any file in php/ext as i dont have proper permission.
Is there any other way to use (include) external .dll file.
can I create a php.ini file and keep in public_html folder,
can I specify the path of this dll in my php.ini file which I kept in public_html folder
Suggest me to get it done.
Thanks
I need to include .dll file which is not in php/ext folder.
i cant access the any file in php/ext as i dont have proper permission.
Is there any other way to use (include) external .dll file.
can I create a php.ini file and keep in public_html folder,
can I specify the path of this dll in my php.ini file which I kept in public_html folder
Suggest me to get it done.
Thanks
Re: External .dll file
Are you on shared hosting?
-
deshmukh999
- Forum Commoner
- Posts: 32
- Joined: Mon Mar 15, 2010 2:01 am
Re: External .dll file
I have cPanle login access.
But as we do in localhost, first inclide such .dll file in php/ext folder,then set the path for that dll in php.ini file.
Here I am not getting how to use that .dll file.
But as we do in localhost, first inclide such .dll file in php/ext folder,then set the path for that dll in php.ini file.
Here I am not getting how to use that .dll file.
Re: External .dll file
Are you on shared hosting?
-
deshmukh999
- Forum Commoner
- Posts: 32
- Joined: Mon Mar 15, 2010 2:01 am
Re: External .dll file
Its is dedicated hosting.
-
deshmukh999
- Forum Commoner
- Posts: 32
- Joined: Mon Mar 15, 2010 2:01 am
Re: External .dll file
Hi Guys,
I already have a dll which is created using C++.
I need to call a function within this dll from php
but where to keep this file and how to call.
I know extension in php can help , but can someone give a detailed explanation?
Can someone help me out...
I already have a dll which is created using C++.
I need to call a function within this dll from php
but where to keep this file and how to call.
I know extension in php can help , but can someone give a detailed explanation?
Can someone help me out...
Re: External .dll file
Since you're not the server administrator, ask whoever that is for how to do it.
They may ask for it so they can install it themselves.
They may tell you to put it in your home directory and add an extension= line to a per-user php.ini.
They may tell you it's not allowed.
They may ask for it so they can install it themselves.
They may tell you to put it in your home directory and add an extension= line to a per-user php.ini.
They may tell you it's not allowed.
-
deshmukh999
- Forum Commoner
- Posts: 32
- Joined: Mon Mar 15, 2010 2:01 am
Re: External .dll file
I am trying to do in localhost, even then its not working.
dl() itself is not defined.
dl() itself is not defined.
-
deshmukh999
- Forum Commoner
- Posts: 32
- Joined: Mon Mar 15, 2010 2:01 am
Re: External .dll file
This is the reply I received from my webhoster, what does this mean?
Can some help me out in this??
The testing.so module is not compatible with your version of PHP. I'm receiving the following error when I attempt to load that module into the php.ini:
[29-Apr-2010 18:03:24] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/testing.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/testing.so: invalid ELF header in Unknown on line 0
You have PHP 5.2.9 installed on this server. Is that module fully compatible with this version?
Can some help me out in this??
The testing.so module is not compatible with your version of PHP. I'm receiving the following error when I attempt to load that module into the php.ini:
[29-Apr-2010 18:03:24] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/testing.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/testing.so: invalid ELF header in Unknown on line 0
You have PHP 5.2.9 installed on this server. Is that module fully compatible with this version?
Re: External .dll file
Well? Is it compatible?deshmukh999 wrote:You have PHP 5.2.9 installed on this server. Is that module fully compatible with this version?
Doesn't sound like it. That means you can't use that particular file with that particular version of PHP.
-
deshmukh999
- Forum Commoner
- Posts: 32
- Joined: Mon Mar 15, 2010 2:01 am
Re: External .dll file
thanks for your reply.
Its helpfull.
I request to my client for the compatible version of that .dll file.
Its helpfull.
I request to my client for the compatible version of that .dll file.