Installing SAPRFC PHP
Greetings,
I have seen the other post about the same subject but still finding it difficult to install SAPRFC, I have seen posts on project home page as well ( about the same problem ) which are still unanswered.
I am trying to install version 1.3.3 (latest), my PC has SAP GUI 6.40 and librfc32.dll in in c:\windows\system32. My extension directory on php.ini is correct because mysql extension is loading from there. But when I add the line extension=php_saprfc.dll I get error "Unable to load dynamic link library c:\php\ext\php_saprfc.dll". I have tried it on Windows XP and WINDOWS 2000 Server.
Craig others please share your experience or the platform used for installing saprfc.
Regards,
Sanjeev
Hi,
I too am facing a similar problem.
I have <i>SAP GUI 640 for windows</i> installed.
I have Installed <i>Apache/2.0.54</i> (Win32)
I have <i>PHP/5.0.4</i>
I am trying to install <i>SAPRFC 1.3-4.3.2</i>
I have added the the extension in the directory 'ext' under PHP directory, which is specified as the extension directory.
I have added '<i>extension=php_saprfc.dll</i>' in php.ini file
But when I start Apache server I get the message
'<b>PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_saprfc.dll' - The specified module could not be found</b>.
This popup appears twice.
But the file php_saprfc.dll exists under that directory !!
Similar Messages
-
SAPRFC / PHP 5.3.0 / MacOSX Snow Leopard
<pre>(seems message parsing is not working..) Hello gurus !
I've read with a great interrest almost all posts on this forum, and I must say it helped me a lot sorting
out a nearly functional solution for installing SAPRFC PHP extension on a MacOSX Snow Leopard system.
It seems i'm just having a problem with the RFCSDK from SAP not being of the appropriate architecture.
Let me describe my installation process (maybe it can help other people willing to install SAPRFC on
Macintosh plateform equally !)
1. Installation of Macintosh developpement tools (Xcode)
First step was to install XCode Package, from http://developer.apple.com/tools/xcode/ it's a 650Mb
disk-image, that once installed is 2.5Gb on harddrive. This provided me with all php headers that I
needed for the next steps.
I made sure my Apache/PHP was functionnal on the Macintosh, this page helped me :
http://www.mac4ever.com/articles/creation/1153/php_mysql_sous_snow_leopard_et_xdebug_eclipse/ (it's in french)
2. Download of RFCSDK from SAP
I was not totally sure which version to install on my system since no "MacOsX version", so I picked
the "Linux on x86_64 64bit" package.
3. Extracting files from the SAR archive
As the binary of SAPCAR was not willing to execute properly, I downloaded a Windows version and
extracted my files on a Windows system.
4. Installing RFCSDK files on the system
I created a folder "sap" in folder "/usr" :
$> sudo mkdir /usr/sap
I created a folder "rfcsdk" in folder "/usr/sap"
$> sudo mkdir /usr/sap/rfcsdk
I copied all files i extracted from the SAR archive into the "/usr/sap/rfcsdk folder" :
$> sudo cp -R ~/Desktop/Linux\ on\ x86_64\ 64bit/ /usr/sap/rfcsdk/*
After this in "/usr/sap/rfcsdk" i have now : 4 folders : bin, include, lib and text
I changed access rights for all the files in sap directory:
$> sudo chmod -R 755 /usr/sap
5. Compiling SAPRFC extension for PHP
I downloaded SAPRFC 1.4.1 from http://saprfc.sourceforge.net/
I created a folder module under "/usr/sap" :
$> sudo mkdir "/usr/sap/module"
I unpacked the files from the saprfc-1.4.1.tar.gz archive into "/usr/sap/module/"
I ran phpize while in folder "/usr/sap/module/"
$> cd /usr/sap/module
$> sudo phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
(I made sure the phpize which was called was the one corresponding to the php version i was
running with apache, "locate phpize" helped me to sort out if there was serveral phpize that could
potentially be executed)
I ran then the configuration script
$> sudo ./configure
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for cc... cc
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged
Then i ran the compilation :
$> sudo make
/bin/sh /usr/sap/module/libtool --mode=compile cc -I. -I/usr/sap/module -DPHP_ATOM_INC
-I/usr/sap/module/include -I/usr/sap/module/main -I/usr/sap/module -I/usr/include/php
-I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext
-I/usr/include/php/ext/date/lib -I/usr/sap/rfcsdk/include -DHAVE_CONFIG_H -g -O2
-c /usr/sap/module/saprfc.c -o saprfc.lo
mkdir .libs
cc -I. -I/usr/sap/module -DPHP_ATOM_INC -I/usr/sap/module/include -I/usr/sap/module/main
-I/usr/sap/module -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend
-I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/sap/rfcsdk/include -DHAVE_CONFIG_H -g -O2 -
c /usr/sap/module/saprfc.c -fno-common -DPIC -o .libs/saprfc.o
/usr/sap/module/saprfc.c: In function '__callback_dispatch':
/usr/sap/module/saprfc.c:263: warning: format not a string literal and no format arguments
/bin/sh /usr/sap/module/libtool --mode=compile cc -I. -I/usr/sap/module -DPHP_ATOM_INC
-I/usr/sap/module/include -I/usr/sap/module/main -I/usr/sap/module -I/usr/include/php
-I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext
-I/usr/include/php/ext/date/lib -I/usr/sap/rfcsdk/include -DHAVE_CONFIG_H -g -O2
-c /usr/sap/module/rfccal.c -o rfccal.lo
cc -I. -I/usr/sap/module -DPHP_ATOM_INC -I/usr/sap/module/include -I/usr/sap/module/main
-I/usr/sap/module -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM
-I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/sap/rfcsdk/include
-DHAVE_CONFIG_H -g -O2 -c /usr/sap/module/rfccal.c -fno-common -DPIC -o .libs/rfccal.o
/usr/sap/module/rfccal.c: In function 'cal_allocate':
/usr/sap/module/rfccal.c:36: warning: format '%d' expects type 'int', but argument 2 has type 'long unsigned int'
/usr/sap/module/rfccal.c:50: warning: format '%d' expects type 'int', but argument 2 has type 'long unsigned int'
/bin/sh /usr/sap/module/libtool --mode=link cc -DPHP_ATOM_INC -I/usr/sap/module/include -I/usr/sap/module/main -
I/usr/sap/module -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend
-I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/sap/rfcsdk/include -DHAVE_CONFIG_H -g -O2
-o saprfc.la -export-dynamic -avoid-version -prefer-pic -module -rpath /usr/sap/module/modules
saprfc.lo rfccal.lo -Wl,-rpath,/usr/sap/rfcsdk/lib -L/usr/sap/rfcsdk/lib -lrfccm
cc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/saprfc.so -bundle
.libs/saprfc.o .libs/rfccal.o -L/usr/sap/rfcsdk/lib -lrfccm -Wl,-rpath -Wl,/usr/sap/rfcsdk/lib
+ld: warning: in /usr/sap/rfcsdk/lib/librfccm.so, file is not of required architecture+
creating saprfc.la
(cd .libs && rm -f saprfc.la && ln -s ../saprfc.la saprfc.la)
/bin/sh /usr/sap/module/libtool --mode=install cp ./saprfc.la /usr/sap/module/modules
cp ./.libs/saprfc.so /usr/sap/module/modules/saprfc.so
cp ./.libs/saprfc.lai /usr/sap/module/modules/saprfc.la
Libraries have been installed in:
/usr/sap/module/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable
during execution
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
Build complete.
Don't forget to run 'make test'.
And here seems the problem to be :
ld: warning: in /usr/sap/rfcsdk/lib/librfccm.so, file is not of required architecture
I continued anyway :
$> sudo make install
Installing shared extensions: /usr/lib/php/extensions/no-debug-non-zts-20090626/
6. Installing the PHP extension in the PHP.ini
I went to /etc and stated editing php.ini :
$> sudo vi /etc/php.ini
I went to the extensions part and added the line :
extension = "/usr/lib/php/extensions/no-debug-non-zts-20090626/saprfc.so"
+(for some reason, when setting extension = saprfc.so, i had some errors, while the
extension folder was defined to extensions/no-debug-non-zts-20090626 ... no clue
why, nevermind, works better with full path...)+
; extension=/path/to/extension/msql.so
; If you only provide the name of the extension, PHP will look for it in its
; default extension directory.
extension = "/usr/lib/php/extensions/no-debug-non-zts-20090626/saprfc.so"
; Windows Extensions
; Note that ODBC support is built in, so no dll is needed for it.
; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
; extension folders as well as the separate PECL DLL download (PHP 5).
; Be sure to appropriately set the extension_dir directive.
;extension=php_bz2.dll
;extension=php_curl.dll
I saved my php.ini file forcing write of the read only file (Esc, ":wq!", enter)
7. Testing the installation
I restarted my apache server, and checked /var/log/apache2/error_log; at this time no
error shows here yet.
I put the saprfc_test.php file in my Sites/ folder to test it with http://localhost// and the page
just load fine, and the php script seems to not fail on the test : if (! extension_loaded ("saprfc")),
so.. normally the extension is loaded by php.
After viewing the saprfc_test.php page, some errors appears in the /var/log/apache2/error_log :
dyld: lazy symbol binding failed: Symbol not found: _RfcGetAllLibVersions
Referenced from: /usr/lib/php/extensions/no-debug-non-zts-20090626/saprfc.so
Expected in: flat namespace
dyld: Symbol not found: _RfcGetAllLibVersions
Referenced from: /usr/lib/php/extensions/no-debug-non-zts-20090626/saprfc.so
Expected in: flat namespace
8. Trying to find out the issue
I wanted to run LDD tool on saprfc.so to find out if the linking was correctly done with the library
"/usr/sap/rfcsdk/lib/librfccm.so" but it appears that ldd is not available on MacOSX and Apple
recommand using "otool -L" instead.
Here we go :
*$> cd /usr/lib/php/extensions/no-debug-non-zts-20090626
*$> otool -L saprfc.so"
saprfc.so:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.0.0)
Not very "verbose".. i tried the otool -l (minus L) to view any better info :
*$> otool -l saprfc.so"
saprfc.so:
Load command 0
cmd LC_SEGMENT_64
cmdsize 552
segname __TEXT
vmaddr 0x0000000000000000
vmsize 0x0000000000011000
fileoff 0
filesize 69632
vmaddr 0x0000000000013000
vmsize 0x0000000000006000
fileoff 73728
filesize 22088
maxprot 0x00000007
initprot 0x00000001
nsects 0
flags 0x0
Load command 3
cmd LC_UUID
cmdsize 24
uuid 0x21 0xea 0x9e 0x15 0xca 0x1c 0xd8 0xe8
0x35 0x3e 0x54 0x86 0x3e 0x58 0xa1 0x8a
Load command 4
cmd LC_DYLD_INFO_ONLY
cmdsize 48
rebase_off 73728
rebase_size 16
bind_off 73744
bind_size 1272
weak_bind_off 0
weak_bind_size 0
lazy_bind_off 75016
lazy_bind_size 2992
export_off 78008
export_size 1560
Load command 5
cmd LC_SYMTAB
cmdsize 24
symoff 79568
nsyms 575
stroff 89760
strsize 6056
Load command 6
cmd LC_DYSYMTAB
cmdsize 80
ilocalsym 0
nlocalsym 405
iextdefsym 405
nextdefsym 75
iundefsym 480
nundefsym 95
tocoff 0
ntoc 0
modtaboff 0
nmodtab 0
extrefsymoff 0
nextrefsyms 0
indirectsymoff 88768
nindirectsyms 247
extreloff 0
nextrel 0
locreloff 0
nlocrel 0
Load command 7
cmd LC_LOAD_DYLIB
cmdsize 56
name /usr/lib/libSystem.B.dylib (offset 24)
time stamp 2 Thu Jan 1 01:00:02 1970
current version 125.0.0
compatibility version 1.0.0
Load command 8
cmd LC_RPATH
cmdsize 32
path /usr/sap/rfcsdk/lib (offset 12)
OK this time, seems there is at least 1 mention of my RFCSDK in the last line, but .. just a path to the
lib folder, no mention to the library file it self.. i'm just a bit confused now !
Thank you for reading all this, now, maybe you if already managed to have a MacOSX SAPRFC
working or have any clue where I can find a RFCSDK library (or compilable sources) that would
just work on a Mac OSX system.. Thanks for your kind advices
Edited by: Lemmus on Dec 22, 2009 1:59 PM
Edited by: Julius Bussche on Dec 22, 2009 4:05 PM
Fixed formating a bit </pre>Hey that is one crazy message Lemmus. If you want people to respond a little human parsing and indenting maybe required.
I have one thought.
What version on SAP are you connecting to? If it is ECC6 or a netweaver system I would get hold of the sapnwrfc library. (Google is your friend)
It is designed to work with the new netweaver rfc interface.
Cheers,
Nigel -
Saprfc - Php 5.3 - Ecc 6
Hi all
Can anyone pls tell me the version of saprfc to be installed for php version 5.3 in order to work with Sap Ecc 6.0.
Thanks in advanceWell the problem is that unfortunately despite being the language that powers the web, SAP doesn't support PHP very well. It is a problem that I work behind the sceens to try to address and as you are moving to ECC6 if you are calling RFC's with deep structures then the SAPRFC won't work at all because it doesn't work with the new NW RFC SDK.
Oh that a C guru would pick this problem up and write a new RFC driver. Oh that SAP would hire one or Zend or iBuildings or another company that feels strongly about enterprise php.
Oh that I was a C guru and had oooodles of time available.
I digress....
There is no PAM for the SAPRFC because it is an open source solution.
Sorry ... that's all there is to it.
You may get the current version running with the new set up but beware of the new NW REFSDK issues.
Feel free to write a blog to describe how useful you find having PHP as an interface to SAP. The more voices the better.
regards,
Nigel -
Hello together,
here is another question ! How can i install ffmpeg-php as an extension to the installed PHP version of OSX Server 10.5.5 ?
Does anyone has a solution or a hint for me.
Greets from Germany
JanI´ve done everything like you said. But i got the error below. What is re2c ? What i´ve done wrong ?
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc and cc understand -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... powerpc-apple-darwin9.5.0
checking host system type... powerpc-apple-darwin9.5.0
checking target system type... powerpc-apple-darwin9.5.0
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib/php/extensions/no-debug-non-zts-20060613
checking for PHP installed headers prefix... /usr/include/php
checking for re2c... no
configure: WARNING: You will need re2c 0.12.0 or later if you want to regenerate PHP parsers.
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking for ffmpeg support... yes, shared
checking for ffmpeg headers... configure: error: ffmpeg headers not found. Make sure you've built ffmpeg as shared libs using the --enable-shared option
Greets from Germany
Jan -
FF keeps appending "install/index.php" to url
I am trying to install phpBB, and set it up with MySQL and apache on Windows XP. I downloaded a troubleshooting SDK from phpBB.com to troubleshoot the installation, but every time I try to enter the folder ('''''c:\servername\phpbb3\sdk''''') Firefox keeps appending "install/index.php" so it becomes c:\servername\phpbb3\sdk\'''install\index.php''' EVERY time I try to enter the URL in parentheses. There is no "install/index.php" in the folder I am trying to access via Firefox. No matter what I do, it keeps doing it - it won't let me access the correct folder!
I am trying to install phpBB, and set it up with MySQL and apache on Windows XP. I downloaded a troubleshooting SDK from phpBB.com to troubleshoot the installation, but every time I try to enter the folder ('''''c:\servername\phpbb3\sdk''''') Firefox keeps appending "install/index.php" so it becomes c:\servername\phpbb3\sdk\'''install\index.php''' EVERY time I try to enter the URL in parentheses. There is no "install/index.php" in the folder I am trying to access via Firefox. No matter what I do, it keeps doing it - it won't let me access the correct folder!
-
Hi all,
To install Apache, MySQL & PHP, i would like use MAMP Pro (Macintosh, Apache, MySQL ans PHP).
MAMP Pro allows easy installation and administration of the
development environment under MAC OS X. But somebody knows if the installation process is the same
on Mac OS X Server (10.6 in my case) that on Mac OS X?
Cordialy!The installation of OS X Server and MAMP are completely and totally different, and the software versions involved are different.
As you're probably aware, OS X Server 10.6 already contains MySQL, php, Apache and related, and (for this part of the OS X Server environment) administrative interface known as Server Admin.app.
If you want to use MAMP, you'll have to shut down those parts of OS X Server, if that's what you're using. Only one application can be active on a port, such as Apache on TCP port 80. In particular, you'll have to launch Server Admin.app and shut down the services you want to use from MAMP. Once you have these components of OS X Server shut down, then you can install MAMP as you would on OS X client.
If you don't want to shut everything down, you can use MAMP on non-standard ports; I haven't tried that with OS X Server, but it works with OS X client. (OS X client also includes Apache, and can have that active on TCP port 80.)
FWIW, MAMP is generally not recommended for use on production sites and on Internet-exposed sites. It's set up for use during development. OS X Server versions are set up for use in production sites, though 10.6 itself is getting old. -
Installing Apache2/PHP/MySQL on MacBook
I want to install and run Apache 2, PHP and MySQL on my MacBook. I tried using the binary packages available on the serverlogistics.com site mentioned in the Apple KB article I found, but, they are outdated and don't seem to work with Tiger. When I try adding the Apache PrefPane provided, for example, OSX tells me it can't open it and to contact the developer for a newer version (which isn't available).
Is it possible to install this software on a MacBook running Tiger? Is there something else I need to do first to make this work?
Thanks.To use PHP then you will need to enable the PHP module by changing the httpd.conf file. To do this open Terminal and then type sudo pico /etc/httpd/httpd.conf and press enter (if it is the first time you use sudo then you will get a warning about this). Enter your administrator's password. Search for the line #LoadModule php4_module (about line 240) and remove #. Then look for the line #AddModule mod_php4.c (about line 284) and remove the #.
If you want the index.php file to have precedence over index.html search for <IfModule mod_php4.c> (it should be about line 1079) and change DirectoryIndex index.html index.php to DirectoryIndex index.php index.html.
<hr>
Could you give me some more background information on this? The command "LoadModule php4_module libexec/httpd/libphp4.so" - where is this libphp4.so located? Is it a file located somewhere on the hard disk? What about AddModule mod_php4.c?
The reason I'm asking is because I've recently installed PHP 5.1.6 which seems to have gotten installed in /usr/local but I am curious as to where the PHP 4 installation is and to make sure that I've not corrupted version 4 whilst installing version 5.
Mac mini Mac OS X (10.4.7) core duo (early 2006) -
Your server does not have PHP installed, or PHP is turned off error.
I am trying to install WordPress from a download and keep on getting this error message Error: PHP is not running. What can I do.
Its your Server Error, Not firefox issue.
If your trying to install the wordpress locally, use WAMP server
If your installing in your server or hosted server, contact the admin -
Cannot install the PHP extension
After running buildall.sh trying to compile the php extension leads to:
ivan:/home/ivan/software/dbxml-2.4.13/dbxml/src/php# make
/bin/sh /home/ivan/software/dbxml-2.4.13/dbxml/src/php/libtool --mode=link g++ -DPHP_ATOM_INC -I/home/ivan/software/dbxml-2.4.13/dbxml/src/php/include -I/home/ivan/software/dbxml-2.4.13/dbxml/src/php/main -I/home/ivan/software/dbxml-2.4.13/dbxml/src/php -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/ivan/software/dbxml-2.4.13/install/include -I/home/ivan/software/dbxml-2.4.13/db-4.6.21/php_db4 -DHAVE_CONFIG_H -g -O2 -o dbxml.la -export-dynamic -avoid-version -prefer-pic -module -rpath /home/ivan/software/dbxml-2.4.13/dbxml/src/php/modules php_dbxml.lo php_dbxml_manager.lo php_dbxml_resolver.lo php_dbxml_container.lo php_dbxml_eventreader.lo php_dbxml_eventwriter.lo php_dbxml_eventreadertowriter.lo php_dbxml_exception.lo php_dbxml_inputstream.lo php_dbxml_transaction.lo php_dbxml_results.lo php_dbxml_value.lo php_dbxml_queryexpression.lo php_dbxml_querycontext.lo php_dbxml_updatecontext.lo php_dbxml_modify.lo php_dbxml_indexspecification.lo php_dbxml_data.lo php_dbxml_document.lo php_dbxml_statistics.lo php_dbxml_indexlookup.lo -Wl,-rpath,/lib -L/lib -lxqilla -Wl,-rpath,/lib -L/lib -lxerces-c -Wl,-rpath,/home/ivan/software/dbxml-2.4.13/install/lib -L/home/ivan/software/dbxml-2.4.13/install/lib -ldbxml-2 -Wl,-rpath,/home/ivan/software/dbxml-2.4.13/install/lib -L/home/ivan/software/dbxml-2.4.13/install/lib -ldb_cxx -lstdc++
g++ -shared .libs/php_dbxml.o .libs/php_dbxml_manager.o .libs/php_dbxml_resolver.o .libs/php_dbxml_container.o .libs/php_dbxml_eventreader.o .libs/php_dbxml_eventwriter.o .libs/php_dbxml_eventreadertowriter.o .libs/php_dbxml_exception.o .libs/php_dbxml_inputstream.o .libs/php_dbxml_transaction.o .libs/php_dbxml_results.o .libs/php_dbxml_value.o .libs/php_dbxml_queryexpression.o .libs/php_dbxml_querycontext.o .libs/php_dbxml_updatecontext.o .libs/php_dbxml_modify.o .libs/php_dbxml_indexspecification.o .libs/php_dbxml_data.o .libs/php_dbxml_document.o .libs/php_dbxml_statistics.o .libs/php_dbxml_indexlookup.o -Wl,--rpath -Wl,/home/ivan/software/dbxml-2.4.13/install/lib -Wl,--rpath -Wl,/home/ivan/software/dbxml-2.4.13/install/lib -L/lib /home/ivan/software/dbxml-2.4.13/install/lib/libxqilla.so -lxerces-c -L/home/ivan/software/dbxml-2.4.13/install/lib -ldbxml-2 -ldb_cxx -lstdc++ -Wl,-rpath -Wl,/lib -Wl,-rpath -Wl,/lib -Wl,-rpath -Wl,/home/ivan/software/dbxml-2.4.13/install/lib -Wl,-rpath -Wl,/home/ivan/software/dbxml-2.4.13/install/lib -Wl,-soname -Wl,dbxml.so -o .libs/dbxml.so
*/usr/bin/ld: cannot find -ldbxml-2*
collect2: ld returned 1 exit status
make: *** [dbxml.la] Error 1
Here is a list of /home/ivan/software/dbxml-2.4.13/install/lib:
libdb-4.6.a libdb-4.so libdb_cxx-4.6.la libdb_cxx.a libdbxml-2.4.a libdbxml.a libxerces-c.so.28 libxqilla.la libxqilla.so.4.0.1
libdb-4.6.la libdb.a libdb_cxx-4.6.so libdb_cxx.so libdbxml-2.4.la libdbxml.so libxerces-c.so.28.0 libxqilla.so
libdb-4.6.so libdb_cxx-4.6.a libdb_cxx-4.so libdb.so libdbxml-2.4.so libxerces-c.so libxqilla.a libxqilla.so.4
So it looks ok, but still doesn't find what it needs.
Any ideas?
Edited by: user7286143 on Sep 5, 2008 3:17 AMTry going to file dbxml/src/php/config.m4 and change the line
PHP_ADD_LIBRARY_WITH_PATH(dbxml-2, $PHP_DBXML/lib, DBXML_SHARED_LIBADD)to
PHP_ADD_LIBRARY_WITH_PATH(dbxml, $PHP_DBXML/lib, DBXML_SHARED_LIBADD)Then re-configure and rebuild the PHP src.
Lauren Foutz -
SOLVED - Cant install normal PHP package
trying to install php with command
pacman -S php
Response
resolving dependencies...
looking for inter-conflicts...
Targets (1): php-5.3.3-3
Total Download Size: 2.82 MB
Total Installed Size: 14.28 MB
Proceed with installation? [Y/n]
:: Retrieving packages from extra...
error: failed retrieving file 'php-5.3.3-3-x86_64.pkg.tar.xz' from gd.tuwien.ac.at : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'php-5.3.3-3-x86_64.pkg.tar.xz' from mirrors.kernel.org : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'php-5.3.3-3-x86_64.pkg.tar.xz' from gd.tuwien.ac.at : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'php-5.3.3-3-x86_64.pkg.tar.xz' from mirrors.kernel.org : Not Found
error: failed retrieving file 'php-5.3.3-3-x86_64.pkg.tar.xz' from gd.tuwien.ac.at : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'php-5.3.3-3-x86_64.pkg.tar.xz' from gd.tuwien.ac.at : Not Found
warning: failed to retrieve some files from extra
error: failed to commit transaction (Not Found)
Errors occurred, no packages were upgraded.
I'm also wondering.. isn't php-5.3.5 the newest?
Thanks for any advice in advance!
Last edited by dershodan (2011-03-12 10:38:27)5.3.5-2 is the latest. Your mirrors are not up-to-date. Switch to new mirrors which are current then refresh and do a full system update (pacman -Syyu).
-
I dont know, if this is placed under the right category, but I really am a dummie about this!
please if anyone could provide a simple answer.
thank you!That file might have moved to a different location on the server. I think you'll need to check with RefWorks support or your local IT department on why the install page links do not work.
-
Full Oracle install for PHP?
Hi,
Can sombody tell what needs to be installed before I can start
compiling oracle support into PHP3? I don't want to do a full
install....
Or are the libraries and header files available as a separate
package somewhere?
Thanks in advance
Ronald van Kuijk
nullRonald van Kuijk (guest) wrote:
: Can sombody tell what needs to be installed before I can start
: compiling oracle support into PHP3? I don't want to do a full
: install....
You can only install Oracle with a full RDBMS.
: Or are the libraries and header files available as a separate
: package somewhere?
Install it and take out what you need.
Thats the only way (I guess).
Maybe you can find a hint here
http://www.schou.dk/oracle/install.html
http://www.schou.dk/oracle/demo/
best regards
hans
null -
Hi Everybody,
I am trying to install this sap connector.
It's easy but no simple to find the good version running together.
My configuration below :
Windows XP Pro SP2
IIS 5.1 on port 80
Apache 2.054 on port 8080
Php 5.12
Saprfc 1.4.1 for php 5.1.1
I use the binaries distributions for each product.
I have no issue, i hope, to load php_saprfc.dll module: i have no error message when Apache is starting.
The test file index.php is running nice and display the environment to screen, BUT I DON'T FIND SAPRFC MODULE.
If some of you have a idea, thanks for your help.
If its usefull i have no issue to send us my files httpd.conf and php.ini.
Best Regards
Georges FREROTHi Everybody,
I want test the connector saprfc with php on two technical environments bellow:
- Windows XP SP2 Professional, IIS 5.1, php 5.11 or 512
- Windows XP SP2 Professional, Apache 2.054, php 5.11 or 512
Windows XP is running on C: .
IIS 5.1 is running on port 80, and Apache 2.054 on port 8080.
I have build a development workspace on H: .
The directory tree has this structure:
H
Apache2054
Apache2
Php511
ext
sessions
includes
Php512
ext
sessions
includes
saprfc141-511
WebDev
Sessions
I have downloaded binaries of Apache 2.054, Php 5.11 and 512 and his Pecl 5.11 and 512 and Saprfc 141 511.
I have uncompressed :
Php 5.11 under H:\php511,
Pecl 5.11 under H:\php511\ext,
Php 5.12 under H:\php512,
Pecl 5.12 under H:\php512\ext,
Apache 2.054 under H:\Apache2054,
SapRfc 1.4.1 5.1.1 under H:\saprfc141-511
My first step is run php on IIS in isapi mode. Its successful.
The command localhost:80//Index.php display correctly echo phpinfo().
My second step is install saprfc requirements:
Copy:
php_saprfc.dll in H:\Php511\ext
php_saprfc.dll in H:\Php512\ext
librfc32.dll up to date in C:\Windows\System32
Verify msvcp60.dll up to date is in C:\Windows\System32.
Modify php.ini:
Include_path = .;H:\Php511\includes;H:\Php511\pear
Extension_dir =H:\Php511\ext
Include_path = .;H:\Php512\includes;H:\Php512\pear
Extension_dir =H:\Php512\ext
Extension=php_mbstring.dll
Extension=php_gd2.dll
Extension= php_saprfc.dll
Extension=php_soap.dll
Extension=php_mysql.dll
To run php 5.11 or php 5.12 I modify the system path and configuration in WebServer
The results with php 5.11 are :
With IIS 5.1 no loading error message, echo phpinfo() running nice, but no display the saprfc module.
With APACHe 2.054 loading error message the same twice for php_saprfc.dll
The results with php 5.12 are :
With IIS 5.1 no loading error message, echo phpinfo() running nice, but no display the saprfc module.
With APACHe 2.054 no loading error message, echo phpinfo() running nice, but no display the saprfc module
If some of you have an idea what is wrong or forget at this point, thanks to help me.
Bests Regards
Georges FREROT -
Saprfc version for php 5.2.1
Hi all
Can anyone pls tell me the version of saprfc to be installed for php version 5.2.1
Thanks in advanceThe lastest version
on the SAPRFC How to
I assume you are using windows. If you are having hassles with getting it to work download a utility called <a href="http://www.dependencywalker.com/">dependency walker</a>.
You can use this to check if the php_saprfc.dll is missing a dependency.
I have been getting a dependency on DRVADODB.DLL on one particular machine and have had no joy resolving that yet.
The other option is to grab a copy of Visual Studio Express Edition 2005 and compile it for yourself. Not for the fainthearted but I believe the force is strong with you.
Hope this is useful,
Nigel -
Problem with PHP 5 installed using FMS Apache 2.2.
Hi There,
To keep things "simple" on my server, I made the decision to install PHP using the Apache 2.2 install that ships with Adobe FMS 4.5. After manually installing PHP, and seeing how it changed the httpd.conf in the Apache 2.2 conf/ directory, my browser just hangs or tells me that a connection cannot be made when I point it to a PHP script. The site will server up .html pages just fine.
Here are the lines that the PHP installer added to the httpd.conf file:
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:/PHP/"
LoadModule php5_module "C:/PHP/php5apache2_2.dll"
AddHandler application/x-httpd-php .php
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
One would think that is all that is needed, but seems like it is not. I have double checked that the .dll file is, in fact, at C:\PHP, and it is. What's the deal Adobe? Can I use your bundled install of Apache 2.2 and a manual install of PHP together?Hi,
There must be many previous posts regarding issues with FMS and PHP. I am noting whatever I found:
http://forums.adobe.com/message/4023436#4023436
http://forums.adobe.com/message/3775076#3775076
http://forums.adobe.com/message/2869206#2869206
http://forums.adobe.com/message/2585206#2585206
http://forums.adobe.com/message/2566584#2566584
http://code.google.com/p/php-rtmp-client/
Thank you !
Maybe you are looking for
-
Recovering my music from a Zen Mi
Hey all, I have a first generation Zen micro with the non plays-for-sure firmware on it. I recently lost my music library and i was wondering if there was any way that i could get the songs on my mp3 player back onto my computer? Opening the device i
-
Switch the sequence of Primary Key Columns
Hi MaxDB experts, As part of our product upgrade we've made a schema change to 10 of our database tables. Typically these tables contain about 5 million rows in them. The change involves switching the order of columns in the primary key (original ord
-
please help me ? ):
-
Calculating Julian Easter date
Hello, I need to calculate the day of the of the Julian Easter The Algorithm is e.g for year 2000: 1)Subtract 2: 2000-2=1998 2)MOD(1998, 19) = 3 3)Multiply *11: 3*11=33 4)MOD(33, 30) = 3 5)SUBTRACT FROM 44: 44-3=41 6)We start counting from March, so
-
Frame content displays in new windows
I have created a site with frames. The frameset is the opening page (index.html). The site works perfectly in Safari (Mac OS) but in Internet Explorer (Mac & PC) it does not load the links into the specified frames, instead it opens a new window to d