← Back to team overview

sslug-teknik team mailing list archive

php , med support for oracle, msssql, mysql

 

Hej alle

jeg sidder og er igang med at lave et php4 DSO module til apache som
indholder support for oracle, mssql, mysql på database siden, alt
compiler også fint nok , men når jeg loader modulet i apache kommer
følgende fejl 

Loaded DSO modules/libphp4.so uses plain Apache 1.3 API, this module
might crash under EAPI! (please recompile it with -DEAPI)

jeg kan se hvis jeg tager en httpd -V så er apache compilet med -D EAPI

---output af httpd -V
Server compiled with....
 -D EAPI
 -D EAPI_MM
 -D EAPI_MM_CORE_PATH="/var/run/httpd.mm"
 -D HAVE_MMAP
 -D HAVE_SHMGET
 -D USE_SHMGET_SCOREBOARD
 -D USE_MMAP_FILES
 -D HAVE_FCNTL_SERIALIZED_ACCEPT
 -D HAVE_SYSVSEM_SERIALIZED_ACCEPT
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT

jeg har så prøvet at compile php med CCFLAGS=-DEAPI , men den kommer
stadivæk med samme bedkes om at "libphp4.so uses plain Apache 1.3 API,
this module might crash under EAPI! (please recompile it with -DEAPI)"

./configure '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin'
'--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share'
'--includedir=/usr/include' '--libdir=/usr/lib'
'--libexecdir=/usr/libexec' '--localstatedir=/var'
'--mandir=/usr/share/man' '--infodir=/usr/share/info' '--prefix=/usr'
'--with-config-file-path=/etc' '--enable-force-cgi-redirect'
'--disable-debug' '--enable-pic' '--disable-rpath' '--with-bz2'
'--with-dom=/usr' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr'
'--with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf' '--with-ttf'
'--with-gettext' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png'
'--with-regex=system' '--with-expat-dir=/usr' '--with-zlib'
'--enable-exif' '--enable-ftp' '--enable-sockets' '--enable-track-vars'
'--enable-trans-sid' '--with-oci8=/opt/oracle' '--with-imap'
'--with-imap-ssl' '--with-ldap' '--with-mysql' '--with-snmp'
'--enable-ucd-snmp-hack' '--enable-dbx'
'--with-apxs=/usr/local/apache/bin/apxs' '--with-mssql=/usr/local'
--with-kerberos

så hva gør jeg forkert ??

jeg ville nødigt ud i at også skulle compile apache om så den kun bruger
alm api , da jeg ikke ved hva forskellen er og da systemet jeg kører på
err 100% rpm baseret, og alene at skulle opgradere php fra rpm til ikke
rpm version ødelægger vel en masse depentices til de øverige rpm
installationenr.

/Per Jørgensen