[PHP-INSTALL] Re: Unknown(): Unable to load dynamic library 'c:\php\extensions\php_oci8.dll'- Acces is denied

2003-10-31 Thread David Marsh
Well its works but for some strange reason I still get the errors appearing
on the Windows console when I first connect to the webpages.  The webpages
wont appear until I acknowledge the error messages.  After that its ok for
the time that I'm connected until I close down the IE6 window and startg a
new one.  Although I'm still getting the errors the extensions are actually
working fine.  Its looks like some sort of security issue but, I've tried
all combinations of stuff to no avail.




"Dave Marsh" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I was using the ISAPI module.  I changed to using PHP as CGI and this
seems
> to work now.
> Must be a bug with ISAPI.
>
>
> "Dave Marsh" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > I just cannot seem to get PHP to load this library.  I get the error
> showing
> > up on the console.
> >
> > I'm running:
> >
> > Windows 2003 Server
> > IIS 6.0
> > PHP 4.3.3
> > Oracle 9.2
> > SQLServer 2000
> >
> > PHP is working and I'm also using php_mssql.dll which loads ok and works
> and
> > I can connect to a SQLServer.  ODBC connections also works.
> >
> > I am a Domain admin and have full rights and access to IIS is granted
> > through NT authentication.  There appears to be no reason why I should
be
> > getting this error.
> >
> > phpinfo() tells me everything is in the right places  i.e.
> c:\winows\php.ini
> > and the mssql module has loaded, but not the Oracle module.  The setup
for
> > mssql and oci8 are identical, they both live in the extensions directory
> and
> > they are both uncommented from php.ini.  I've been looking at this
probelm
> > for the last two days and I've checked all the obvious things like
typing
> > errors and the like.
> >
> > Can anyone help?


Re: [PHP-INSTALL] Re: Unknown(): Unable to load dynamic library 'c:\php\extensions\php_oci8.dll'- Acces is denied

2003-10-31 Thread Muralidhar R
Hi

 The same problem had with SQL server. I sorted out for different dll. The 
possible could be the extension specification in php.ini file.
Or read write permission for that folder. There could be a chance of for that user 
login has no permission.

Muralidhar

-- Original Message --
From: "David Marsh" <[EMAIL PROTECTED]>
Date:  Fri, 31 Oct 2003 11:06:12 -

Well its works but for some strange reason I still get the errors appearing
on the Windows console when I first connect to the webpages.  The webpages
wont appear until I acknowledge the error messages.  After that its ok for
the time that I'm connected until I close down the IE6 window and startg a
new one.  Although I'm still getting the errors the extensions are actually
working fine.  Its looks like some sort of security issue but, I've tried
all combinations of stuff to no avail.




"Dave Marsh" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I was using the ISAPI module.  I changed to using PHP as CGI and this
seems
> to work now.
> Must be a bug with ISAPI.
>
>
> "Dave Marsh" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > I just cannot seem to get PHP to load this library.  I get the error
> showing
> > up on the console.
> >
> > I'm running:
> >
> > Windows 2003 Server
> > IIS 6.0
> > PHP 4.3.3
> > Oracle 9.2
> > SQLServer 2000
> >
> > PHP is working and I'm also using php_mssql.dll which loads ok and works
> and
> > I can connect to a SQLServer.  ODBC connections also works.
> >
> > I am a Domain admin and have full rights and access to IIS is granted
> > through NT authentication.  There appears to be no reason why I should
be
> > getting this error.
> >
> > phpinfo() tells me everything is in the right places  i.e.
> c:\winows\php.ini
> > and the mssql module has loaded, but not the Oracle module.  The setup
for
> > mssql and oci8 are identical, they both live in the extensions directory
> and
> > they are both uncommented from php.ini.  I've been looking at this
probelm
> > for the last two days and I've checked all the obvious things like
typing
> > errors and the like.
> >
> > Can anyone help?


[PHP-INSTALL] PHP install problem

2003-10-31 Thread Dalela Ashish K-A16850

Hi,

I am trying to install PHP4.3.3 with Apache1.3.12 on Solaris8. I followed the below 
steps as given in the PHP manual on page 16.

Example 3.4. Quick Installation Instructions for PHP 4 (Apache Module Version)
1. gunzip apache_1.3.x.tar.gz
2. tar xvf apache_1.3.x.tar
3. gunzip php-x.x.x.tar.gz
4. tar xvf php-x.x.x.tar
5. cd apache_1.3.x
6. ./configure --prefix=/www
7. cd ../php-x.x.x
8. ./configure --with-mysql --with-apache=../apache_1.3.x --enable-track-vars
9. make
10. make install
11. cd ../apache_1.3.x
12. ./configure --activate-module=src/modules/php4/libphp4.a
13. make
14. make install
15. cd ../php-x.x.x
16. cp php.ini-dist /usr/local/lib/php.ini
17. Edit your httpd.conf or srm.conf file and add:
AddType application/x-httpd-php .php
18. Use your normal procedure for restarting the Apache server. (You must
stop and restart the server, not just cause the server to reload by
use a HUP or USR1 signal.)

The compilation and installation went fine. However, when I try to browse a .php file, 
the browser pops a window to save the file on some specified path. I appears like a 
very simple configuration issue, but I'm not able to figure out what it is. Can anyone 
help?

Thanks
Ashish
--


[PHP-INSTALL] php-4.3.4RC2 startup problems on Apache 1.3.28/Mac OS X 10.2.8

2003-10-31 Thread Andrew J. Erickson
Hello,

I'm attempting to get RequestTracker running on OS X. I've satisfied all of 
the dependencies, but now PHP and DBI conflict because Apple's PHP module 
uses the internal MySQL client code.



I've been trying to compile and install my own PHP module with the external 
MySQL libraries... The compilation process works fine, but when I attempt 
to start or restart Apache I get the following errors:

configure line:
./configure --with-mysql=/usr/local --with-gdbm --with-apxs=/usr/sbin/apxs 
--disable-pear

[iw2:/usr/libexec/httpd] root# apachectl configtest
Syntax OK
dyld: /usr/sbin/httpd Undefined symbols:
_getopt
_optarg
/usr/sbin/apachectl: line 184:  2662 Trace/BPT trap   $HTTPD -t
getopt and getarg are from libc if I am correct. I could not find any 
information on this issue via Google. Does anyone know how to fix this 
problem?

Thanks,
Andy
 
/  Andrew J. Erickson| [EMAIL PROTECTED]  \
\  http://eajconsulting.com/andrew/  | [EMAIL PROTECTED]   /
-


[PHP-INSTALL] Can't get SQLite installed with PHP

2003-10-31 Thread JR
I am trying to get the SQLite package to work with PHP and I am failing
miserably.

I have run: pear download http://pecl.php.net/get/SQLite-1.0.tgz, no
problem here.

Then I run: pear install SQLite-1.0.tgz and get a make error of:
/tmp/tmpACnhIu/SQLite-1.0/sqlite.c:29:17: php.h: No such file or
directory
/tmp/tmpACnhIu/SQLite-1.0/sqlite.c:30:21: php_ini.h: No such file or
directory
/tmp/tmpACnhIu/SQLite-1.0/sqlite.c:31:31: ext/standard/info.h: No such
file or directory
make: *** [sqlite.lo] Error 1
`make' failed

The entire output is below. 

I am running Red Hat ES 2.1 with PHP 4.3.3. The configure statement I
used to compile PHP is below.

Thank you in advance for any advice you can provide!

JR






./configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
--sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share  --include
dir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec
--localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --prefix=/usr --with-config-file-path=/etc
--enable-force-cgi-redirect --disable-debug --enable-pic --dis
able-rpath --enable-inline-optimization --with-bz2 --with-db3
--with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr 
--with-gd --enable-gd-native-ttf --with-ttf --with-gdbm --with-gettext
--with-ncurses --with-gmp --with-iconv --with-jpeg-dir=/usr - -with-mm
--with-openssl --with-png --with-regex=system --with-xml
--with-expat-dir=/usr --with-zlib --with-layout=GNU --enable-bcmat h
--enable-debugger --enable-exif --enable-ftp --with-pear=/usr/share/pear
--enable-magic-quotes --enable-safe-mode --enable-sockets
--enable-sysvsem --enable-sysvshm --enable-discard-path
--enable-track-vars --enable-trans-sid --enable-yp --enable-wddx
--without-
oci8 --with-mysql --enable-memory-limit --enable-bcmath --enable-shmop
--enable-versioning --enable-calendar --enable-dbx --enable-d io
--enable-mbstring --enable-mbstr-enc-trans --with-apxs=/usr/sbin/apxs
--with-sqlite=shared



[EMAIL PROTECTED] html]# pear install SQLite-1.0.tgz
48 source files, building
running: phpize
You should update your `aclocal.m4' by running aclocal. Configuring for:
  PHP Api Version:   20020918
  Zend Module Api No:   20020429
  Zend Extension Api No:   20021010
building in /var/tmp/pear-build-root/SQLite-1.0
running: /tmp/tmpACnhIu/SQLite-1.0/configure
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes checking whether gcc accepts
-g... yes checking whether gcc and cc understand -c and -o together...
yes checking if compiler supports -R... no checking if compiler supports
-Wl,-rpath,... yes checking for PHP prefix... /usr checking for PHP
includes... -Idir=/usr/include/php -Idir=/usr/include/php/main
-Idir=/usr/include/php/Zend -Idir=/usr/include/php/TSRM checking for PHP
extension directory... /usr/lib/20020429 checking how to run the C
preprocessor... gcc -E checking for gawk... gawk checking for sqlite
support... yes, shared checking size of char *... 4 checking for
lemon... no checking for usleep... yes checking for nanosleep... yes
checking for time.h... yes checking for Cygwin environment... no
checking for mingw32 environment... no checking build system type...
i686-pc-linux-gnu checking for ld used by GCC... /usr/bin/ld checking if
the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld
option to reload object files... -r checking for BSD-compatible nm...
/usr/bin/nm -B checking whether ln -s works... yes checking how to
recognise dependant libraries... pass_all checking for object suffix...
o checking for executable suffix... no checking command to parse
/usr/bin/nm -B output... ok checking for dlfcn.h... yes checking for
ranlib... ranlib checking for strip... strip checking for objdir...
.libs checking for gcc option to produce PIC... -fPIC checking if gcc
PIC flag -fPIC works... yes checking if gcc static flag -static works...
yes checking if gcc supports -c -o file.o... yes checking if gcc
supports -c -o file.lo... yes checking if gcc supports -fno-rtti
-fno-exceptions... yes checking whether the linker (/usr/bin/ld)
supports shared libraries... yes checking how to hardcode library paths
into programs... immediate checking whether stripping libraries is
possible... yes checking dynamic linker characteristics... GNU/Linux
ld.so checking if libtool supports shared libraries... yes checking
whether -lc should be explicitly linked in... no creating libtool
updating cache ./config.cache creating ./config.status creating config.h
running: make
sed -e s/--VERS--/2.8.3/ -e s/--ENCODING--/ISO8859/
/tmp/tmpACnhIu/SQLite-1.0/libsqlite/src/sqlite.h.in
>/tmp/tmpACnhIu/SQLite-1.0/libsqlite/src/sqlite.h
/bin/sh /var/tmp/pear-build-root/SQLite-1.0/libtool --mode=compile gcc
-I/tmp/tmpACnhIu/SQLite-1.0/libsqlite/src -I.