I tried to search for a solution to this, but I couldn't find one.
Maybe I didn't look in the right place, but whatever....
Here is the problem - I have an extension "Myextensio n" created using
SWIG from C++ code. I put this in my c:\php5\ext directory and pointed
php.ini to load extensions from that directory. This is fine.
However this extension depends upon some other custom DLLs I have
coded in C++. The only way that the original extension loads is if
these custom DLLs are in the C:\Windows\Syst em32 folder. This is not
an ideal solution for distribution however.
So I've tried changing my System Path to include a custom directory
where these DLLs can be stored. That doesn't work. PHP has to know
where to find these DLLs that the extension depends on. I just don't
know how to give it that information. Am I missing something in
php.ini?
Any help appreciated, thanks...
John 2 1834
On 13 Aug 2004 09:55:44 -0700, jc****@gmail.co m (John) wrote: I tried to search for a solution to this, but I couldn't find one. Maybe I didn't look in the right place, but whatever....
Here is the problem - I have an extension "Myextensio n" created using SWIG from C++ code. I put this in my c:\php5\ext directory and pointed php.ini to load extensions from that directory. This is fine.
However this extension depends upon some other custom DLLs I have coded in C++. The only way that the original extension loads is if these custom DLLs are in the C:\Windows\Syst em32 folder. This is not an ideal solution for distribution however.
So I've tried changing my System Path to include a custom directory where these DLLs can be stored. That doesn't work. PHP has to know where to find these DLLs that the extension depends on. I just don't know how to give it that information. Am I missing something in php.ini?
Adding to PATH /is/ the correct way. Is your webserver seeing the environment
you expect? e.g. check it in phpinfo().
--
Andy Hassall / <an**@andyh.co. uk> / <http://www.andyh.co.uk >
<http://www.andyhsoftwa re.co.uk/space> Space: disk usage analysis tool
I had tried adding it to my path, but it didn't work. Then I realized
I needed to reboot after making my change, so that PHP would recognize
the new path! Silly of me!
Thanks Andy
John
Andy Hassall <an**@andyh.co. uk> wrote in message news:<8f******* *************** **********@4ax. com>... On 13 Aug 2004 09:55:44 -0700, jc****@gmail.co m (John) wrote:
I tried to search for a solution to this, but I couldn't find one. Maybe I didn't look in the right place, but whatever....
Here is the problem - I have an extension "Myextensio n" created using SWIG from C++ code. I put this in my c:\php5\ext directory and pointed php.ini to load extensions from that directory. This is fine.
However this extension depends upon some other custom DLLs I have coded in C++. The only way that the original extension loads is if these custom DLLs are in the C:\Windows\Syst em32 folder. This is not an ideal solution for distribution however.
So I've tried changing my System Path to include a custom directory where these DLLs can be stored. That doesn't work. PHP has to know where to find these DLLs that the extension depends on. I just don't know how to give it that information. Am I missing something in php.ini?
Adding to PATH /is/ the correct way. Is your webserver seeing the environment you expect? e.g. check it in phpinfo(). This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Gyger |
last post by:
Hello,
Three weeks ago, I have started to develop a binding extension for Qt and
PHP 5.
Now, I can display a dialog box containing some widgets like label, buttons
and edit line. I have just implemented some Qt classes (not completly) like
QApplication, QObject, QWidget, Qlabel, QLineEdit and QGrid just to test
some very simple application. The mecanisme of the SLOT and SIGNAL is
working but only for the existing slot and signal.
|
by: Peter Sparago |
last post by:
(Sorry in advance for the long post.)
Hi,
I'm having a great deal of difficulty buiding a Python COM extension.
I am using the MSHTML ActiveX control in my application but I need to
interact with and implement some Custom COM interfaces. All is well
with the basic operation of the control using Python.
Basically, I want to take over the right-click (context) menu from
|
by: man-in-nature |
last post by:
Hello,
I have already read several existing posts about xsd:extension, but do not
find something useful to my test case. I have one xml file and one xsd file.
I can use a simple command line (C#) program to validate the xml file against
the xsd file without any error. The problem is that when I validate the same
xml file within VisualStudio 2003, I got five errors, which are all related
to xsd:extension. It seems that those "problem"...
|
by: Jeffry van de Vuurst |
last post by:
Hi,
I'm working on an xml schema and I'm running into some problems
relating substitutionGroups and extensions.
This xsd validates fine:
There are three elements and three complex types and every element has
the type of some complexType.
<?xml version="1.0" encoding="UTF-8"?>
|
by: Adam |
last post by:
Im trying to add an httphandler for all *.sgf file extensions. I have
developed the handler,
1. installed it into the gac
2. added it to the machine.config:
<httpHandlers>
<add verb="*" path="*.sgf" type="CustomExtensionHandler,
Extenders.CustomExtensionHandler, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=d831d925597c1031" validate="True"/>
</httpHandlers>
| |
by: pepcag |
last post by:
I used
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconalteringsoapmessageusingsoapextensions.asp
as a template to create a very simple web method with soap extension.
The code like this:
public string HelloWorld()
{
return "Hello World.";
|
by: J.P. |
last post by:
I've developed a com extension for explorer and another dll linked to
the com extension which provides the actual functionality. The
extension does nothing more than create an object and pass selected
files to the object for further processing. The problem I'm running
into is with a few cases resources do not seem to be properly
released. For example, I can remove all of the files in the given
folder where the shell extension was used but...
|
by: Chuck Anderson |
last post by:
I run Apache 2.0.55, and Php (both 4.4.1 and 5.2.5) on my home PC
(Windows XP). One of the scripts that I run daily needs to access a
secure URL (https://..............). When I am running Php4, it can
open the file.
However, when I run Php5 I (now) get this error message:
"Unable to find the wrapper "https" - did you forget to enable it when
you configured PHP?"
This is new. Last time I messed with this, I merely got:
|
by: tommybiegs |
last post by:
I'm having a weird problem. I can't seem to force php to load an
extension using php.ini, but it loads perfectly if I use dl() at the
beginning of a test script.
In php.ini I've got:
extension_dir = "/correct/verified/path/to/extension/dir/"
extension=imagick.so
Apache will not restart if both those lines are present in php.ini
|
by: Ron |
last post by:
I am building a dynamic image loading class. I have a list of properties
that have associated images in a specified directory. The problem they are
multiple formats which are not known at runtime...and to make matters worse
users are allowed to use images in any format...so long as they have the
filename that matches the property name.
My problem stems from the fact that I dont know the extension of the
file...only the filename...so...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |