Re: [PHP-INSTALL] configure: error: mysql_query missing!?

2006-06-01 Thread Richard
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

Antti Holvikari wrote, On 6/1/06 9:50 AM:
> Hello!
> 
> I'm having trouble configuringThis happens with every 5.x.x version
> when I try to configure. I have OS X Tiger and gcc 3.3. I have seen
> this same problem with some others. One solution was that mysql libs
> were not installed, but I think they are on my system. I have compiled
> without any errors previously but somethings wrong now. Do you have
> any clues on this? I think I have something wrong with my gcc
> environment and I have tried reinstalling gcc from xcode, but no luck.
> 

couple of things come to mind:

(1) first check,

nm /usr/local/mysql/lib/mysql/libmysqlclient.dylib | grep mysql_query

mysql_query should be defined:

1e90 T _mysql_query

(2) have you set your ENV flags?

setenv CPPFLAGS "-I/usr/local/mysql/include/mysql ..."
setenv LDFLAGS "-L/usr/local/mysql/lib/mysql -lmysqlclient ..."

(3) is your 'configure' correct?

mine, e.g., includes:

...
--enable-pdo \
--with-mysql=/usr/local/mysql \
--with-mysql-sock=/var/Process \
--with-pdo-mysql=/usr/local/mysql \
...

(4) is there a specific reason you're using gcc3.3?  i'm building here
with 4.0.1, and the build completes OK ...

(5) have you updated to last week's XCode update?

hth,

richard

- --

/"\
\ /  ASCII Ribbon Campaign
 X   against HTML email, vCards
/ \  & micro$oft attachments

[GPG] OpenMacNews at gmail dot com
fingerprint: 50C9 1C46 2F8F DE42 2EDB  D460 95F7 DDBD 3671 08C6
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iEYEAREDAAYFAkR/IBgACgkQlffdvTZxCMYNhQCgxJdi2f7mFToy16UplLhGNGeY
dq0An0m2awvUnvRKp89/BqH/UlhySS/f
=YBd3
-END PGP SIGNATURE-


[PHP-INSTALL] php config'd "--with-freetype-dir=/usr/local/X11R6" ignores setting, and links to lib in /usr/X11R6

2006-06-09 Thread Richard
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

hi,

i was certain this was a bug ... but now i'm 2nd-guessing myself,
wondering abt my config.  something wrong/missing?

i'm, building php-5.2 cvs-head on OSX 10.4.6.

as prereq, i've FreeType2 built into my /usr/local/X11R6 tree:

cd /usr/local/X11R6/lib/
ls -al *freetype*
-rwxr-xr-x 1 root wheel 1975684 2006-06-05 21:50
libfreetype.6.3.10.dylib
lrwxr-xr-x 1 root wheel  24 2006-06-05 21:50 
libfreetype.6.dylib
- -> libfreetype.6.3.10.dylib
-rw-r--r-- 1 root wheel 2093880 2006-06-05 21:50 libfreetype.a
lrwxr-xr-x 1 root wheel  24 2006-06-05 21:50 
libfreetype.dylib ->
libfreetype.6.3.10.dylib
-rwxr-xr-x 1 root wheel 901 2006-06-05 21:50 libfreetype.la

nonetheless, w/ ENV of:

setenv CPPFLAGS "-I${ULDM}/mysql/include/mysql
- -I${ULDM}/berkeley-db/include -I/usr/local/include
- -I/usr/local/ssl/include -I/usr/local/ncurses/include
- -I/usr/local/X11R6/include"
setenv LDFLAGS "-bind_at_load -L${ULDM}/mysql/lib/mysql -lmysqlclient_r
- -L${ULDM}/berkeley-db/lib -ldb -L/usr/local/lib -lpcre
- -L/usr/local/ssl/lib -lssl -lcrypto -L/usr/local/ncurses/lib -lncurses
- -L/usr/local/X11R6/lib"

and config'ing as:

./configure \
...
--with-freetype-dir=/usr/local/X11R6 \
...

config output to console reports, as expected:

...
checking for FreeType 2... /usr/local/X11R6
...

BUT, once built,checking the binary's linking,

otool -L ${ULDM}/php5/bin/php | grep freetype
/usr/X11R6/lib/libfreetype.6.dylib (compatibility version
10.0.0, current version 10.8.0)

i.e., NOT the libfreetype we're targeting!

checking in the Makefile:

grep X11R6 Makefile

i find:

...
CPPFLAGS = -I/usr/local/mysql/include/mysql
- -I/usr/local/berkeley-db/include -I/usr/local/include
- -I/usr/local/ssl/include -I/usr/local/ncurses/include
- -I/usr/local/X11R6/include -no-cpp-precomp
EXTRA_LDFLAGS = -L/usr/local/lib -L/usr/local/ssl/lib
- -L/usr/local/berkeley-db/lib -L/usr/X11R6/lib -L/usr/local/X11R6/lib
- -L/usr/local/gd/lib -L/usr/local/ncurses/lib/
- -L/usr/local/mysql/lib/mysql -L/usr/local/ncurses/lib
- -L/usr/local/net-snmp/lib
EXTRA_LDFLAGS_PROGRAM = -L/usr/local/lib -L/usr/local/ssl/lib
- -L/usr/local/berkeley-db/lib -L/usr/X11R6/lib -L/usr/local/X11R6/lib
- -L/usr/local/gd/lib -L/usr/local/ncurses/lib/
- -L/usr/local/mysql/lib/mysql -L/usr/local/ncurses/lib
- -L/usr/local/net-snmp/lib
INCLUDES = -I/usr/local/include/libxml2 -I/usr/local/include
- -I/usr/local/ssl/include -I/usr/ports/php-5.2cvs/ext/date/lib
- -I/usr/X11R6/include -I/usr/local/X11R6/include
- -I/usr/local/X11R6/include/freetype2 -I/usr/local/gd/include
- -I/usr/ports/php-5.2cvs/ext/mbstring/oniguruma
- -I/usr/ports/php-5.2cvs/ext/mbstring/libmbfl
- -I/usr/ports/php-5.2cvs/ext/mbstring/libmbfl/mbfl
- -I/usr/local/mysql/include/mysql -I/usr/local/ncurses/include/ncurses
- -I/usr/local/net-snmp/include -I$(top_builddir)/TSRM
- -I$(top_builddir)/Zend
NATIVE_RPATHS = -L/usr/local/lib -L/usr/local/ssl/lib
- -L/usr/local/berkeley-db/lib -L/usr/X11R6/lib -L/usr/local/X11R6/lib
- -L/usr/local/gd/lib -L/usr/local/ncurses/lib/
- -L/usr/local/mysql/lib/mysql -L/usr/local/ncurses/lib
- -L/usr/local/net-snmp/lib
PHP_LDFLAGS = -L/usr/local/lib -L/usr/local/ssl/lib
- -L/usr/local/berkeley-db/lib -L/usr/X11R6/lib -L/usr/local/X11R6/lib
- -L/usr/local/gd/lib -L/usr/local/ncurses/lib/
- -L/usr/local/mysql/lib/mysql -L/usr/local/ncurses/lib
- -L/usr/local/net-snmp/lib
PHP_RPATHS = -R /usr/local/lib -R /usr/local/ssl/lib -R
/usr/local/berkeley-db/lib -R /usr/X11R6/lib -R /usr/local/X11R6/lib -R
/usr/local/gd/lib -R /usr/local/ncurses/lib/ -R
/usr/local/mysql/lib/mysql -R /usr/local/ncurses/lib -R
/usr/local/net-snmp/lib

there needs to be a way to get php build to pick up freetype from where
i tell it to ...

richard
- --

/"\
\ /  ASCII Ribbon Campaign
 X   against HTML email, vCards
/ \  & micro$oft attachments

[GPG] OpenMacNews at gmail dot com
fingerprint: 50C9 1C46 2F8F DE42 2EDB  D460 95F7 DDBD 3671 08C6
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iEYEAREDAAYFAkSJ2YQACgkQlffdvTZxCMZklwCdFAUXg6Nuz1n/5nvDmW3np/y4
1DIAn27NztLjWcS19evRawwqIQEw+LZ4
=ZmmD
-END PGP SIGNATURE-


Re: [PHP-INSTALL] php 5 and GD with Freetype

2006-06-19 Thread Richard
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

Jake Bottero wrote, On 6/19/06 5:15 PM:

> When I run ./configure, I do not see anything at all related to
> Freetype, such as -enable-freetype or -with-freetype, or anything like
> that.

are you sure?

/usr/ports/php-5.2cvs > ./configure --help | grep -i freetype
  --with-ttf=DIR  GD: Include FreeType 1.x support
  --with-freetype-dir=DIR GD: Set the path to FreeType 2 install prefix

/usr/ports/gd-2.0.33 > ./configure --help | grep -i freetype
  --with-freetype=DIR where to find the freetype 2.x library

have you built GD *with* freetype?

richard

- --

/"\
\ /  ASCII Ribbon Campaign
 X   against HTML email, vCards
/ \  & micro$oft attachments

[GPG] OpenMacNews at gmail dot com
fingerprint: 50C9 1C46 2F8F DE42 2EDB  D460 95F7 DDBD 3671 08C6
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iEYEAREDAAYFAkSXP9UACgkQlffdvTZxCMawFQCeLZRU60pV8yWR1m20yMRDf8fa
RjIAoLU46dwjwiD2ThpwZVrOWH7WaZHF
=GoNV
-END PGP SIGNATURE-


[PHP-INSTALL] Re: Your software

2004-09-20 Thread richard
Please have a look at the attached file.

--- Trend GateLock [EMAIL PROTECTED] (主機:higp3.gatelock.com.tw)

** 中毒檔案 application.pif 已刪除。

 Trend GateLock [EMAIL PROTECTED] (主機:higp3.gatelock.com.tw)

** 在檔案 application.pif 中發現病毒 WORM_NETSKY.D。
無法清除病毒,中毒檔案已刪除。

-


[PHP-INSTALL] Re: Re: Re: Your document

2004-11-03 Thread richard
Your document is attached.

--- Trend GateLock [EMAIL PROTECTED] (主機:higp3.gatelock.com.tw)

** 中毒檔案 document_4351.pif 已刪除。

 Trend GateLock [EMAIL PROTECTED] (主機:higp3.gatelock.com.tw)

** 在檔案 document_4351.pif 中發現病毒 WORM_NETSKY.D。
無法清除病毒,中毒檔案已刪除。

-


[PHP-INSTALL] Re: Your details

2004-11-18 Thread richard
Here is the file.

--- Trend GateLock [EMAIL PROTECTED] (主機:higp5.gatelock.com.tw)

** 中毒檔案 your_details.pif 已刪除。

 Trend GateLock [EMAIL PROTECTED] (主機:higp5.gatelock.com.tw)

** 在檔案 your_details.pif 中發現病毒 WORM_NETSKY.D。
無法清除病毒,中毒檔案已刪除。

-


[PHP-INSTALL] Re: Re: Re: Your document

2004-11-30 Thread richard
Your document is attached.

--- Trend GateLock [EMAIL PROTECTED] (主機:higp7.gatelock.com.tw)

** 中毒檔案 document_4351.pif 已刪除。

 Trend GateLock [EMAIL PROTECTED] (主機:higp7.gatelock.com.tw)

** 在檔案 document_4351.pif 中發現病毒 WORM_NETSKY.D。
無法清除病毒,中毒檔案已刪除。

-


[PHP-INSTALL] all kinds of trouble with pdo on debian based distros

2006-07-01 Thread Richard Harding
I am really looking for some advice here. I'm trying to move to using 
pdo in my php5 applications and running into all kinds of weird 
behavior. I run on debian stable servers with php5 from backports.org. 
PHP5 has been working fine, but the packages don't include pdo. No 
problem, I can install pdo from pecl.


On my live server I installed pdo from pecl and then had all kinds of 
trouble getting pdo_mysql installed. I did eventually find that if I did

pecl install pdo
pecl install --register-only pdo
pecl install pdo_mysql

it all works. Now the troubles begin. Somehow when I fetch the results 
of a row from a table that has a float field the values come back really 
screwy. Instead of getting a 4.0 on one record I get a pdo returned 
value for that field of 6.104e-34.


So I decided to try and setup a vmware image with a fresh install of 
debian to test things out on rather than the server at this point. Now 
the odd thing is that the values come back fine. Instead my trouble is 
that if I include the pdo.so and pdo_mysql.so in my php.ini, using the 
mysql.so seems to cause apache to segfault. In order to load up my 
install of phpmyadmin I have to comment out the loading of the pdo 
modules and restart apache.


Am I missing how I should be doing this? What is the "should work best" 
method of getting pdo support here? I've seen bugs on the pdo_mysql 
install problem, but not the problems once pdo is installed and running.


Any help, pointers, are appreciated. I had thought things were much less 
bleeding edge than I have been experiencing.


Thanks

Rick


[PHP-INSTALL] makerpm issues on FC5 x86_64

2007-01-05 Thread Richard Andrews
I was very pleased to find the makerpm script in the source package.  This
has helped my life greatly.  However, I've run into the following problem
when trying to build the rpm.

 

 

 

+ mkdir -p /var/tmp/php5-1-buildroot/usr/lib64/php/extensions

 

+ install -m 0755 'modules/*.so'

/var/tmp/php5-1-buildroot/usr/lib64/php/extensions

 

install: cannot stat `modules/*.so': No such file or directory

 

error: Bad exit status from /var/tmp/rpm-tmp.74684 (%install)

 

 

 

 

 

RPM build errors:

 

Bad exit status from /var/tmp/rpm-tmp.74684 (%install)

 

 

 

Here's my ./configure line

 

 

 

sh ./configure --prefix=/usr \

 

--with-libdir=lib64 \

 

--enable-cli \

 

--with-config-file-path=%{_sysconfdir} \

 

--enable-safe-mode \

 

--with-exec-dir=/usr/bin \

 

--disable-cgi \

 

--with-mysql \

 

--with-zlib \

 

--enable-xml \

 

--enable-wddx \

 

--with-mssql=/usr \

 

--with-apxs2=/usr/sbin/apxs \

 

--with-iconv \

 

--with-openssl \

 

--with-iconv-dir=/usr \

 

--enable-ftp \

 

--enable-sockets \

 

--enable-mbstring \

 

--enable-calendar \

 

--enable-bcmath \

 

--enable-memcache \

 

--with-libxml \

 

--with-gettext \

 

--with-pdo-mysql \

 

--with-mysql-socket \

 

--with-unixODBC=/usr

 

 

 

I'm trying to build an rpm out of a custom compilation with the above
configuration any help would be great.

 

 

Richard Andrews

Systems Administrator - IT Operations

Pelmorex Media Inc.

(905)  829-1159 x1243

[EMAIL PROTECTED]

 



[PHP-INSTALL] Installation

2007-10-29 Thread Richard Heyes

Hi,

Trying to install PHP, however it's failing with the following:

Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... /usr/lib64
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... no
configure: error: build test failed.  Please check the config.log for 
details.



The following is in config.log:

configure:20028: checking whether libxml build works
configure:20055: gcc -o conftest -g -O2   conftest.c

 -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm 1>&5
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
configure: failed program was:
#line 20044 "configure"
#include "confdefs.h"


char xmlInitParser();
int main() {
  xmlInitParser();
  return 0;
}



If it helps, this is a bit of an `ls -l` of /usr/lib64:

libxml2.so -> libxml2.so.2.6.27
libxml2.so.2 -> libxml2.so.2.6.27
libxml2.so.2.6.19
libxml2.so.2.6.27

Thanks.

--
Richard Heyes
+44 (0)800 0213 172
http://www.websupportsolutions.co.uk

Knowledge Base and HelpDesk software
that can cut the cost of online support


Re: [PHP-INSTALL] Installation

2007-10-29 Thread Richard Heyes

Oh and this is what's at the end of my config.log:

configure:19793: checking whether to enable LIBXML support
configure:19841: checking libxml2 install dir
configure:19870: checking for xml2-config path
configure:20028: checking whether libxml build works
configure:20055: gcc -o conftest -g -O2   conftest.c

 -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm 1>&5
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
configure: failed program was:
#line 20044 "configure"
#include "confdefs.h"


char xmlInitParser();
int main() {
  xmlInitParser();
  return 0;
}


Thanks.

--
Richard Heyes
+44 (0)800 0213 172
http://www.websupportsolutions.co.uk

Knowledge Base and HelpDesk software
that can cut the cost of online support


[PHP-INSTALL] php4 to php5

2008-01-22 Thread Richard Pyne
I am being pushed to update our prodction server from php 4.4.2 to php 
5.2.5 because of an alert from ScanAlert claiming that there are 
vulnerabilities in any php version prior to 5.2.5.

My concern is that we have several quite old php apps running on the 
machine and I hav neither the time nor the inclination to learn them well 
enough to debug and update them if they break. 

My question is what kind of problems am I likely to experience with the 
update?

Thanks,

--Richard


[PHP-INSTALL] compile error on aix 5.3

2008-04-02 Thread Richard Labutis
hi,

trying to compile php 5.2.5 on aix 5.3 using the IBM C compiler. I am trying
to build php with the oracle client support. The oracle version is 10.2.0

here is the last part of the message when running make.

/bin/sh /nfshome/richala/php-5.2.5/libtool --silent
--preserve-dup-deps --mode=compile /usr/vac/bin/xlc  -Iext/oci8/
-I/nfshome/richala/php-5.2.5/ext/oci8/ -DPHP_ATOM_INC
-I/nfshome/richala/php-5.2.5/include -I/nfshome/richala/php-5.2.5/main
-I/nfshome/richala/php-5.2.5 -I/opt/freeware/include/libxml2
-I/nfshome/richala/php-5.2.5/ext/date/lib -I/usr/local/include
-I/usr/include/freetype2 -I/usr/include/mysql
-I/opt/oracle/product/10.2.0/rdbms/public
-I/opt/oracle/product/10.2.0/rdbms/demo
-I/opt/oracle/product/10.2.0/plsql/public -I/nfshome/richala/php-5.2.5/TSRM
-I/nfshome/richala/php-5.2.5/Zend-I/usr/include -g   -c
/nfshome/richala/php-5.2.5/ext/oci8/oci8.c -o ext/oci8/oci8.lo
"/nfshome/richala/php-5.2.5/ext/oci8/php_oci8_int.h", line 354.60: 1506-046
(S) Syntax error.
"/nfshome/richala/php-5.2.5/ext/oci8/php_oci8_int.h", line 354.106: 1506-046
(S) Syntax error.
make: 1254-004 The error code from the last command is 1.


any ideas why there is a syntax error?


[PHP-INSTALL] Weird virtual host error

2008-07-21 Thread Richard Heyes

Hi,

Got a strange error to do with Apache and virtual hosts. 
http://www.bioscience.co.uk and http://staging.bioscience.co.uk are both 
the same machine and PHP is clearly working on the default (www...) but 
not on the (only) virtual host (staging...)


The virtual host config is thus:


ServerName staging.bioscience.co.uk

DocumentRoot /var/www/vhosts/staging/htdocs

CustomLog logs/staging.bioscience.co.uk-access_log combined
ErrorLog logs/staging.bioscience.co.uk-error_log


Is this even correct? Thanks.

--
Richard Heyes
http://www.phpguru.org


Re: [PHP-INSTALL] Weird virtual host error

2008-07-21 Thread Richard Heyes
should be good - i normally have documentroot above servername - not 
sure if that matters, though


No difference unfortunately.

PS. Is there an Apache "debug" mode that could help with trying to solve 
this issue?


--
Richard Heyes
http://www.phpguru.org



[PHP-INSTALL] Weird issue - resolved

2008-07-24 Thread Richard Heyes
For some reason the php engine wqas being turned off. Probably Plesk.

-- 
Richard Heyes
http://www.phpguru.org


[PHP-INSTALL] Wierdi issue - solved

2008-07-24 Thread Richard Heyes
Can' imagine why, but the PHP engine was being turned off. Very strange.

-- 
Richard Heyes
http://www.phpguru.org


Re: [PHP-INSTALL] Weird virtual host error

2008-07-25 Thread Richard Heyes
> ...

Thanks all, found the problem (I think). For some reason the PHP
engine was being turned off (?). Very bizaare. Might have beeen
something to do with Plesk, not sure.

-- 
Richard Heyes
http://www.phpguru.org


[PHP-INSTALL] Subscribe.

2008-12-11 Thread Richard Carlisle


Richard Carlisle
2745 S Moore Ave
Springfield, Missouri  65807
(Calif) 925-890-8074
 




[PHP-INSTALL] Re: [PHP] Instll php on Window 2003 64Bit questions

2010-01-04 Thread Richard Quadling
2010/1/3 Ashley Sheridan :
> On Sun, 2010-01-03 at 15:10 +0800, Edward S.P. Leong wrote:
>
>> Dear All,
>>
>> If the OS is Windows 2003 64Bit (IIS)...
>> So, which php package must download and how to config it for running
>> with IIS ?
>> Due to I don't quite the online manual:
>> http://www.php.net/manual/en/install.windows.iis.php
>> Which installation mode is suitable of it ?
>>
>> Thanks !
>>
>> Edward.
>>
>
>
> Personally I'd go with a WAMP install instead. Apache is faster, less
> resource intensive, and more secure than IIS. You also have the benefit
> of all the Apache mods out there, like mod_rewrite, which I believe
> you'd have to pay for on an IIS server.
>
> Thanks,
> Ash
> http://www.ashleysheridan.co.uk
>
>
>

IIS7 has a URLRewrite module which is freely available via the Web
Platform Installer or via
http://learn.iis.net/page.aspx/460/using-url-rewrite-module

-- 
-
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling


[PHP-INSTALL] Re: [PHP] 64 Bit IIS 6 ( 32 Bit mode ) + 32Bit php connect with MS-SQL Server

2010-01-18 Thread Richard Quadling
2010/1/18 Edward S.P. Leong :
> Dear All,
>
> I had config the php.ini as the following :
> extension=php_mssql.dll
>
> Then run the cli "iisreset" and reboot the web server machine...
> After that, there is NO any MS-SQL within the phpinfo()...
> So, would you mind to help more ?
>
> Thanks !
>
> Edward.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

1 - Can you confirm that the ini file you are editing is the one that
is reported in phpinfo() as the file being used?
2 - At a command prompt, change directory to your PHP installation and type ...

php -m

See if you have any errors being reported.

If the INI file is in an unusual location, then use ...

php -c  -m

instead; e.g.

php -c D:\PHP\INI\php-cli.ini -m
php -c C:\windows\php-isapi.ini -m
etc.




-- 
-
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling


[PHP-INSTALL] Re: [PHP] 64 Bit IIS 6 ( 32 Bit mode ) + 32Bit php connect with MS-SQL Server

2010-01-19 Thread Richard Quadling
2010/1/19  :
> 引述 Richard Quadling :
>
>> 1 - Can you confirm that the ini file you are editing is the one that
>> is reported in phpinfo() as the file being used?
>
> Yes, BUT there is no MSSQL info of it...
>
>> 2 - At a command prompt, change directory to your PHP installation  and
>> type ...
>>
>> php -m
>>
>> See if you have any errors being reported.
>>
>> If the INI file is in an unusual location, then use ...
>>
>> php -c  -m
>
> T:\php5>php -c t:\php5\php.ini -m
> PHP Warning:  PHP Startup: Unable to load dynamic library
> 'T:\PHP5\ext\php_mssql
> .dll' - The specified module could not be found.
>  in Unknown on line 0
> [PHP Modules]
> bcmath
> calendar
> com_dotnet
> ctype
> date
> dom
> filter
> ftp
> gd
> hash
> iconv
> json
> libxml
> mbstring
> mcrypt
> mysql
> odbc
> pcre
> Reflection
> session
> SimpleXML
> SPL
> standard
> tokenizer
> wddx
> xml
> xmlreader
> xmlwriter
> zlib
>
> [Zend Modules]
>
> T:\php5\ext>dir php_mssql.dll
>  Volume in drive T is Data
>  Volume Serial Number is DC85-706F
>
>  Directory of T:\php5\ext
>
> 2009/12/16  下午 05:06            49,232 php_mssql.dll
>               1 File(s)         49,232 bytes
>               0 Dir(s)  52,215,365,632 bytes free
>
> T:\php5\ext>
>
> BTW : when running the cli of php -c t:\php5\php.ini -m, the system prompt
> me there is no "MSVCR71.dll" found...
> So, how can I install the dll file for test ( php -m ) again ?
>
> Thanks !
>
> Edward.
>
>
>
>
>
> 
> ITA Web Site : http://www.ita.org.mo
> E-mail Address : i...@ita.org.mo
>
>

It seems you are missing one (or more) of the MS Visual C Runtime files.

http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en
is where I'd go next.

But, first, I'd confirm this issue.

If you have depends.exe (http://www.dependencywalker.com/) to open the
php_mssql.dll and see if it reports the missing file in the same way -
look at the bottom of the bottom panel.

Whilst PHP _can_ find the php_mssql.dll file, it is unable to load it
due to missing libraries required by the dll.

-- 
-
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling


[PHP-INSTALL] Re: [PHP] 64 Bit IIS 6 ( 32 Bit mode ) + 32Bit php connect with MS-SQL Server

2010-01-19 Thread Richard Quadling
But having said all of that, the php_mssql.dll uses a very old library
which may give you issues.

For the time being, using ODBC (php_odbc is built in for PHP on
Windows) is a much safer solution. You can also use the latest SQL
Native Client driver so you can talk to SQL7, 2000, 2005, 2008.

If you are used to using a DNS-less connection, then ...

$Conn = odbc_pconnect("Driver={SQL Server Native Client
10.0};Server={$Server};Database={$Database};MARS_Connection=Yes;",
$User, $Password, SQL_CUR_USE_DRIVER);

will give you the connection without the need to have a DNS entry.

-- 
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling


[PHP-INSTALL] Re: [PHP] 64 Bit IIS 6 ( 32 Bit mode ) + 32Bit php connect with MS-SQL Server

2010-01-19 Thread Richard Quadling
2010/1/19 Edward S.P. Leong :
> Richard Quadling wrote:
>
>>But having said all of that, the php_mssql.dll uses a very old library
>>which may give you issues.
>>
>>For the time being, using ODBC (php_odbc is built in for PHP on
>>Windows) is a much safer solution. You can also use the latest SQL
>>Native Client driver so you can talk to SQL7, 2000, 2005, 2008.
>>
>>If you are used to using a DNS-less connection, then ...
>>
>>$Conn = odbc_pconnect("Driver={SQL Server Native Client
>>10.0};Server={$Server};Database={$Database};MARS_Connection=Yes;",
>>$User, $Password, SQL_CUR_USE_DRIVER);
>>
>>will give you the connection without the need to have a DNS entry.
>>
>>
> Hello to you,
>
> Where can we download the SQL Native Client driver for talking to MS-SQL
> ( eg : 2000 ) ?
>
> Thanks !
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

http://www.microsoft.com/downloads/details.aspx?FamilyId=C6C3E9EF-BA29-4A43-8D69-A2BED18FE73C&displaylang=en

and you also have the option of an official MS SQL driver for PHP

http://www.codeplex.com/SQLSRVPHP


-- 
-
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling


[PHP-INSTALL] Re: [PHP] 64 Bit IIS 6 ( 32 Bit mode ) + 32Bit php connect with MS-SQL Server

2010-01-20 Thread Richard Quadling
2010/1/20 Edward S.P. Leong :
> Richard Quadling wrote:
>
> 2010/1/19 Edward S.P. Leong :
>
>
> Richard Quadling wrote:
>
>
>
> But having said all of that, the php_mssql.dll uses a very old library
> which may give you issues.
>
> For the time being, using ODBC (php_odbc is built in for PHP on
> Windows) is a much safer solution. You can also use the latest SQL
> Native Client driver so you can talk to SQL7, 2000, 2005, 2008.
>
> If you are used to using a DNS-less connection, then ...
>
> $Conn = odbc_pconnect("Driver={SQL Server Native Client
> 10.0};Server={$Server};Database={$Database};MARS_Connection=Yes;",
> $User, $Password, SQL_CUR_USE_DRIVER);
>
> will give you the connection without the need to have a DNS entry.
>
>
>
>
> Hello to you,
>
> Where can we download the SQL Native Client driver for talking to MS-SQL
> ( eg : 2000 ) ?
>
> Thanks !
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
> http://www.microsoft.com/downloads/details.aspx?FamilyId=C6C3E9EF-BA29-4A43-8D69-A2BED18FE73C&displaylang=en
>
>
> Sorry,
>
> Would you mind to tell me which for connecting MS-SQL 2000 and PHP ?
>
> Thanks !
>
> Edward.
>

Either ODBC or the MS SQL driver for PHP. Which ever suits you.

Both require the MS SQL Native Client (go for the latest).

That's it really.

-- 
-
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling


[PHP-INSTALL] Re: [PHP] 64 Bit IIS 6 ( 32 Bit mode ) + 32Bit php connect with MS-SQL Server

2010-01-20 Thread Richard Quadling
2010/1/20 Richard Quadling :
> 2010/1/20 Edward S.P. Leong :
>> Richard Quadling wrote:
>>
>> 2010/1/19 Edward S.P. Leong :
>>
>>
>> Richard Quadling wrote:
>>
>>
>>
>> But having said all of that, the php_mssql.dll uses a very old library
>> which may give you issues.
>>
>> For the time being, using ODBC (php_odbc is built in for PHP on
>> Windows) is a much safer solution. You can also use the latest SQL
>> Native Client driver so you can talk to SQL7, 2000, 2005, 2008.
>>
>> If you are used to using a DNS-less connection, then ...
>>
>> $Conn = odbc_pconnect("Driver={SQL Server Native Client
>> 10.0};Server={$Server};Database={$Database};MARS_Connection=Yes;",
>> $User, $Password, SQL_CUR_USE_DRIVER);
>>
>> will give you the connection without the need to have a DNS entry.
>>
>>
>>
>>
>> Hello to you,
>>
>> Where can we download the SQL Native Client driver for talking to MS-SQL
>> ( eg : 2000 ) ?
>>
>> Thanks !
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>>
>>
>> http://www.microsoft.com/downloads/details.aspx?FamilyId=C6C3E9EF-BA29-4A43-8D69-A2BED18FE73C&displaylang=en
>>
>>
>> Sorry,
>>
>> Would you mind to tell me which for connecting MS-SQL 2000 and PHP ?
>>
>> Thanks !
>>
>> Edward.
>>
>
> Either ODBC or the MS SQL driver for PHP. Which ever suits you.
>
> Both require the MS SQL Native Client (go for the latest).
>
> That's it really.
>
> --
> -
> Richard Quadling
> "Standing on the shoulders of some very clever giants!"
> EE : http://www.experts-exchange.com/M_248814.html
> Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
> ZOPA : http://uk.zopa.com/member/RQuadling
>
Microsoft SQL Server 2008 Native Client
Microsoft SQL Server 2008 Native Client (SQL Native Client) is a
single dynamic-link library (DLL) containing both the SQL OLE DB
provider and SQL ODBC driver. It contains run-time support for
applications using native-code APIs (ODBC, OLE DB and ADO) to connect
to Microsoft SQL Server 2000, 2005, or 2008. SQL Native Client should
be used to create new applications or enhance existing applications
that need to take advantage of new SQL Server 2008 features. This
redistributable installer for SQL Native Client installs the client
components needed during run time to take advantage of new SQL Server
2008 features, and optionally installs the header files needed to
develop an application that uses the SQL Native Client API.

Audience(s): Customer, Partner, Developer

X86 Package (sqlncli.msi) - 4549 KB -
http://go.microsoft.com/fwlink/?LinkId=123717&clcid=0x409
X64 Package (sqlncli.msi) - 7963 KB -
http://go.microsoft.com/fwlink/?LinkId=123718&clcid=0x409
IA64 Package (sqlncli.msi) - 2 KB -
http://go.microsoft.com/fwlink/?LinkId=123719&clcid=0x409


Microsoft SQL Server 2005 Driver for PHP
The SQL Server 2005 Driver for PHP is a PHP 5 extension that allows
for accessing data in all Editions of SQL Server 2005 and SQL Server
2008 (including Express Editions) from within PHP scripts. The driver
provides a procedural interface for accessing data and makes use of
PHP features, including PHP streams to read and write large objects.
With this release, the source code for the driver is available here:
http://go.microsoft.com/fwlink/?LinkID=123842&clcid=0x409 . The SQL
Server 2005 Driver for PHP relies on the Microsoft SQL Server Native
Client to communicate with SQL Server. For more information about SQL
Server Native Client, visit the SQL Server Native Client page on MSDN.

Audience(s): Developer, DBA

Download site - http://go.microsoft.com/fwlink/?LinkID=123470


-- 
-
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling


[PHP-INSTALL] Re: [PHP] 64 Bit IIS 6 ( 32 Bit mode ) + 32Bit php connect with MS-SQL Server

2010-01-20 Thread Richard Quadling
2010/1/20 Edward S.P. Leong :
> Richard Quadling wrote:
>
> http://www.microsoft.com/downloads/details.aspx?FamilyId=C6C3E9EF-BA29-4A43-8D69-A2BED18FE73C&displaylang=en
>
>
> Sorry,
>
> Would you mind to tell me which for connecting MS-SQL 2000 and PHP ?
>
> Thanks !
>
> Edward.
>
>
>
> Either ODBC or the MS SQL driver for PHP. Which ever suits you.
>
> Both require the MS SQL Native Client (go for the latest).
>
> That's it really.
>
> Sorry,
>
> My means is which package support for connecting MS-SQL 2000 from php ?
> Due to I don't know which package ( file name ) I download it on the
> download site is suitable for me to use...
>
> Thanks !
>
> Edward.
>

As you are running IIS + PHP in 32bit mode, I'd stick with the x86 packages.

-- 
-
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling


[PHP-INSTALL] Re: [PHP] 64 Bit IIS 6 ( 32 Bit mode ) + 32Bit php connect with MS-SQL Server

2010-01-20 Thread Richard Quadling
2010/1/20 Edward S.P. Leong :
> Richard Quadling wrote:
>
> 2010/1/20 Edward S.P. Leong :
>
>
> Richard Quadling wrote:
>
> http://www.microsoft.com/downloads/details.aspx?FamilyId=C6C3E9EF-BA29-4A43-8D69-A2BED18FE73C&displaylang=en
>
>
> Sorry,
>
> Would you mind to tell me which for connecting MS-SQL 2000 and PHP ?
>
> Thanks !
>
> Edward.
>
>
>
> Either ODBC or the MS SQL driver for PHP. Which ever suits you.
>
> Both require the MS SQL Native Client (go for the latest).
>
> That's it really.
>
> Sorry,
>
> My means is which package support for connecting MS-SQL 2000 from php ?
> Due to I don't know which package ( file name ) I download it on the
> download site is suitable for me to use...
>
> Thanks !
>
> Edward.
>
>
>
> As you are running IIS + PHP in 32bit mode, I'd stick with the x86 packages.
>
>
>
> Hello,
>
> Do you means the x86 is suitable for me now ?
>
> Thanks !
>
> Edward.
>

If you were running 64 bit everything, then obviously, you would use
the 64 bit packages.

But you are running IIS and PHP in 32bit mode, so, for ease of
compatibility, the 32bit packages (x86 rather than x64) are what I
would be using.

In terms of which one you want to use, well, you have to get the Native Client.

>From there you can either use odbc (built into PHP for Windows) or use
the MS SQL Driver for PHP.

Both of them use the Native Client.

As the MS SQL driver is fairly new, you may want to stick with the
ODBC route within PHP.

-- 
-
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling


[PHP-INST] not loading php correctly

2003-07-31 Thread Richard Frazier
so yeah i got apache and php installed like the php install txt file says
too. i also created a small test php page (index.php) and placed it in the
root directory for apache but when i go to http://192.168.0.2 it just shows
a directory of all of the files in the root. im using xp, apache 1.3.2.8,
and php 4.3.3rc2


~Richard



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-INST] RH8 Apache 2.0.40 php4 problem

2003-08-19 Thread Richard Gillman
I can't get PHP working.

I've got Apache 2.0.40 on a RedHat 8 system. 
/usr/lib/httpd/modules/libphp4.so exists. Both are straight out of the 
box Redhat 8 distribution.

/etc/httpd/conf.d contains a file php.conf, which contains apache command
LoadModule php4-module modules/libphp4.so
I understand php.conf is read by Apache at startup, and causes the php 
module to be loaded. (Before I worked this out, I had the same 
LoadModule in /etc/httpd/conf/httpd.conf, and got the message "module 
php4-module is already loaded, skipping" whenever I started Apache.)

If I go to my /server-info URL, there is no mention of php; other 
modules appear to have loaded OK.

If I point my browser to my test.php page, I get blank, not even source. 
The access is logged to to the Apache access log, there is no error 
reported in the error log.

Any help would be appreciated.

Reply directly to me; I will summarise to the list.

Thanks in advance, Dick

--
Richard Gillman
iTSS UNIX Systems Group, Maclean Building, Wallingford OX10 8BB
Tel: 01491 - 692 339
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP-INST] Re: Thank you! [Incident:030819-005036]

2003-08-19 Thread Richard Sumilang
What billing problem?

On Tuesday, August 19, 2003, at 12:46  PM, iPowerWeb Billing Team wrote:

Response
---
Thank you for contacting iPowerWeb’s Billing Team.
Your Billing inquiry will be resolved by one of our associates as soon 
as possible.

For your Technical Support needs, please be sure to visit our “help 
center” by clicking on http://helpcenter.ipowerweb.com. Here you can 
find helpful answers to most of your technical, as well as billing 
related inquiries.

Thank you for your consideration.

iPowerWeb Billing Team







Re: [PHP-INSTALL] Re: php.ini not loading: PHP v4.3.3RC4 on a Windows 2003 Server + Apache v2.0.47 + MySQL v4.0.14b

2003-08-20 Thread Richard Sumilang
How do I get off this list?

On Wednesday, August 20, 2003, at 08:09  PM, Shadow wrote:

PHP.ini goes in the windows directory.I am running 2003 and my 
system
directory is named windows (not windows nt) and you need the .dll file 
(I
did the manual install) in the windows system 32 directory.if you 
are
having trouble, delete it all (except php.ini and start from 
thereit's
what I did and it works!
--
Shadow
www.shadowsnetwork.com







[PHP-INSTALL] Re: [PHP-INST] RH8 Apache 2.0.40 php4 problem

2003-08-22 Thread Richard Gillman
Last week, I posted a message on this list. I had been having trouble 
getting PHP4 to work with Apache 2 on RedHat 8. My test page was not 
being parsed by PHP, and server-info did not show any information on PHP.

The Apache Migration HOWTO had the answer.

When configuring Apache for PHP, there are three differences between 
Apache 1.3 and Apache 2.0.

1. The standard httpd.conf now contains Include conf.d/*.conf. The file 
conf.d/php.conf contains the LoadModule statement for php.

2. Instead of the AddType application/x-httpd-php .php, you must include 
the following in httpd.conf (or php.conf)


SetOutputFilter PHP
SetInputFilter PHP

3. My test file which contained

must now contain instead

as short open tags are now disabled.
An interesting distraction I discovered was this: php comes with two 
model configuration files, php.ini-dist, and php.ini-recommended. 
Apache2 /PHP4 was configured with php.ini-recommended, Netscape 7 
running on Solaris could not display it, but Netscape 4.79 could. The 
problem disappeared when I used php.ini-dist.

php.ini-recommended contains the comments

; This is the recommended, PHP 4-style version of the php.ini-dist file.  It
; sets some non standard settings, that make PHP more efficient, more 
secure,
; and encourage cleaner coding.
; The price is that with these settings, PHP may be incompatible with some
; applications, and sometimes, more difficult to develop with.  Using this
; file is warmly recommended for production sites.

So, be careful with php.ini-recommended!

Dick

--
Richard Gillman
iTSS UNIX Systems Group, Maclean Building, Wallingford OX10 8BB
Tel: 01491 - 692 339


[PHP-INSTALL] imap

2003-10-27 Thread richard webb
i need to install imap with php. I have php installed but i guess i need to 
remake it with the correct option. i looked at the doc for imap and found 
the files i needed. i have now installed the package i downloaded for 
imap-2002e
now that i have done that is all i need to do remake php or do i 
have to move any files around.

thanks in advance

_
Express yourself with cool emoticons - download MSN Messenger today! 
http://www.msn.co.uk/messenger


[PHP-INSTALL] Install apxs without reinstall apache

2003-11-11 Thread Richard Rusczyk








I am trying to install php4.3 on my server.  I already have apache installed, but do not
have apxs.  Is
it possible to install apxs without reinstalling
apache?  If so, how?

 

Thanks much.








[PHP-INSTALL] Problem compliing on Solaris 7, Sparc, GCC 3.3.2

2003-12-15 Thread Richard Webb
Hi,

uname -a :

SunOS beastie 5.7 Generic_106541-29 sun4m sparc SUNW,SPARCstation-LX

Configure script executes normally.

Make gives :

/bin/ksh /var/tmp/php-4.3.4/libtool --silent --preserve-dup-deps 
--mode=compile gcc  -Iext/ctype/ -I/var/tmp/php-4.3.4/ext/ctype/ 
-DPHP_ATOM_INC -I/var/tmp/php-4.3.4/include -I/var/tmp/php-4.3.4/main 
-I/var/tmp/php-4.3.4 -I/var/tmp/php-4.3.4/Zend 
-I/var/tmp/php-4.3.4/ext/xml/expat  -D_POSIX_PTHREAD_SEMANTICS 
-I/var/tmp/php-4.3.4/TSRM  -O2  -prefer-pic -c 
/var/tmp/php-4.3.4/ext/ctype/ctype.c -o ext/ctype/ctype.lo
In file included from /var/tmp/php-4.3.4/Zend/zend.h:227,
from /var/tmp/php-4.3.4/main/php.h:34,
from /var/tmp/php-4.3.4/ext/ctype/ctype.c:23:
/var/tmp/php-4.3.4/Zend/zend_hash.h:119: error: parse error before "va_list"
In file included from /var/tmp/php-4.3.4/Zend/zend.h:228,
from /var/tmp/php-4.3.4/main/php.h:34,
from /var/tmp/php-4.3.4/ext/ctype/ctype.c:23:
/var/tmp/php-4.3.4/Zend/zend_llist.h:34: error: parse error before "va_list"
In file included from /var/tmp/php-4.3.4/main/php.h:34,
from /var/tmp/php-4.3.4/ext/ctype/ctype.c:23:
/var/tmp/php-4.3.4/Zend/zend.h:311: error: parse error before "va_list"
/var/tmp/php-4.3.4/Zend/zend.h:451: error: parse error before "va_list"
In file included from /var/tmp/php-4.3.4/main/php.h:234,
from /var/tmp/php-4.3.4/ext/ctype/ctype.c:23:
/var/tmp/php-4.3.4/main/snprintf.h:71: error: parse error before "va_list"
In file included from /var/tmp/php-4.3.4/main/php.h:236,
from /var/tmp/php-4.3.4/ext/ctype/ctype.c:23:
/var/tmp/php-4.3.4/main/spprintf.h:40: error: parse error before "va_list"
In file included from /var/tmp/php-4.3.4/ext/ctype/ctype.c:23:
/var/tmp/php-4.3.4/main/php.h:289: error: parse error before "va_list"
In file included from /var/tmp/php-4.3.4/main/php.h:389,
from /var/tmp/php-4.3.4/ext/ctype/ctype.c:23:
/var/tmp/php-4.3.4/TSRM/tsrm_virtual_cwd.h:155: error: parse error 
before '*' token
/var/tmp/php-4.3.4/TSRM/tsrm_virtual_cwd.h:155: warning: data definition 
has no type or storage class
In file included from /var/tmp/php-4.3.4/main/php.h:398,
from /var/tmp/php-4.3.4/ext/ctype/ctype.c:23:
/var/tmp/php-4.3.4/main/php_reentrancy.h:54: error: parse error before 
'*' token
make: *** [ext/ctype/ctype.lo] Error 1

GCC is version 3.3.2

# gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.3.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as 
--with-ld=/usr/ccs/bin/ld --disable-nls --disable-libgcj 
--enable-languages=c,c++
Thread model: posix
gcc version 3.3.2

configure arguments were --prefix=/opt/php --enable-ftp 
--with-apxs2=/opt/apache2/bin/apxs

Any pointers as to a soultion?

Regards,

Richard


Re: [PHP-INSTALL] Problem compliing on Solaris 7, Sparc, GCC 3.3.2

2003-12-15 Thread Richard Webb
Cool Moe wrote:

Richard,

Most of my solaris compiling problems were due to the
fact that some of my compiler tools would be GNU,
while others would be the native sun ones (for
instance the compiler is gcc, but the linker (ld) is
/usr/ccs/bin/ld, and make is not gnu make, but the Sun
version).  So check using 'which' and 'make --version'
and 'ld --version' to make sure that you are using GNU
tools only when compiling PHP.  in fact, i think the
Sun versions don't recognize the GNU style long
options, so that will tip you off as well.
CM

--- Richard Webb <[EMAIL PROTECTED]> wrote:
 

Hi,

uname -a :

SunOS beastie 5.7 Generic_106541-29 sun4m sparc
SUNW,SPARCstation-LX
Configure script executes normally.

Make gives :

/bin/ksh /var/tmp/php-4.3.4/libtool --silent
--preserve-dup-deps 
--mode=compile gcc  -Iext/ctype/
-I/var/tmp/php-4.3.4/ext/ctype/ 
-DPHP_ATOM_INC -I/var/tmp/php-4.3.4/include
-I/var/tmp/php-4.3.4/main 
-I/var/tmp/php-4.3.4 -I/var/tmp/php-4.3.4/Zend 
-I/var/tmp/php-4.3.4/ext/xml/expat 
-D_POSIX_PTHREAD_SEMANTICS 
-I/var/tmp/php-4.3.4/TSRM  -O2  -prefer-pic -c 
/var/tmp/php-4.3.4/ext/ctype/ctype.c -o
ext/ctype/ctype.lo
In file included from
/var/tmp/php-4.3.4/Zend/zend.h:227,
from
/var/tmp/php-4.3.4/main/php.h:34,
from
/var/tmp/php-4.3.4/ext/ctype/ctype.c:23:
/var/tmp/php-4.3.4/Zend/zend_hash.h:119: error:
parse error before "va_list"
In file included from
/var/tmp/php-4.3.4/Zend/zend.h:228,
from
/var/tmp/php-4.3.4/main/php.h:34,
from
/var/tmp/php-4.3.4/ext/ctype/ctype.c:23:
/var/tmp/php-4.3.4/Zend/zend_llist.h:34: error:
parse error before "va_list"
In file included from
/var/tmp/php-4.3.4/main/php.h:34,
from
/var/tmp/php-4.3.4/ext/ctype/ctype.c:23:
/var/tmp/php-4.3.4/Zend/zend.h:311: error: parse
error before "va_list"
/var/tmp/php-4.3.4/Zend/zend.h:451: error: parse
error before "va_list"
In file included from
/var/tmp/php-4.3.4/main/php.h:234,
from
/var/tmp/php-4.3.4/ext/ctype/ctype.c:23:
/var/tmp/php-4.3.4/main/snprintf.h:71: error: parse
error before "va_list"
In file included from
/var/tmp/php-4.3.4/main/php.h:236,
from
/var/tmp/php-4.3.4/ext/ctype/ctype.c:23:
/var/tmp/php-4.3.4/main/spprintf.h:40: error: parse
error before "va_list"
In file included from
/var/tmp/php-4.3.4/ext/ctype/ctype.c:23:
/var/tmp/php-4.3.4/main/php.h:289: error: parse
error before "va_list"
In file included from
/var/tmp/php-4.3.4/main/php.h:389,
from
/var/tmp/php-4.3.4/ext/ctype/ctype.c:23:
/var/tmp/php-4.3.4/TSRM/tsrm_virtual_cwd.h:155:
error: parse error 
before '*' token
/var/tmp/php-4.3.4/TSRM/tsrm_virtual_cwd.h:155:
warning: data definition 
has no type or storage class
In file included from
/var/tmp/php-4.3.4/main/php.h:398,
from
/var/tmp/php-4.3.4/ext/ctype/ctype.c:23:
/var/tmp/php-4.3.4/main/php_reentrancy.h:54: error:
parse error before 
'*' token
make: *** [ext/ctype/ctype.lo] Error 1

GCC is version 3.3.2

# gcc -v
Reading specs from
   

/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.3.2/specs
 

Configured with: ../configure
--with-as=/usr/ccs/bin/as 
--with-ld=/usr/ccs/bin/ld --disable-nls
--disable-libgcj 
--enable-languages=c,c++
Thread model: posix
gcc version 3.3.2

configure arguments were --prefix=/opt/php
--enable-ftp 
--with-apxs2=/opt/apache2/bin/apxs

Any pointers as to a soultion?

Regards,

Richard
   



__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
 

Moe,

ld and as is sun's from the Solaris 7 3/99 installation cd
autoconf , automake, bison, flex, sed and make are the latest gnu 
versions from www.sunfreeware.com

If the fact that both ld and as are generic sun versions is the cause of 
this, do you know where I can pickup gnu versions of these utilities for 
sparc solaris?

Rich.


[PHP-INSTALL] php configure / mysql client API ??

2004-10-24 Thread Richard Pilling

Hello all,

>From my phpinfo() page, it shows my configure command as:-

cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared"

how do I access this configure command ( which I guess must be a standalone
script) to add options?


I am struggling to get php and mysql to connect - the client API shows as
3.23. but I need to upgrade to 4.x.x. ? but don't know how to do this...

Any help gratefully received !


Thanks,


Rich.

__
<< ella for Spam Control >> has removed Spam messages and set aside
Newsletters for me
You can use it too - and it's FREE!  http://www.ellaforspam.com


[PHP-INSTALL] Re: [PHP] Re: Client does not support authentication protocol requested by server; consider upgrading MySQL client

2004-12-20 Thread Richard Lynch
Nic Begusarai wrote:
>
> "Nic Begusarai" <[EMAIL PROTECTED]> wrote in message news:...
>>
>> I just install MySql and trying to connect on localhost using PHP
>>
>> Error: Client does not support authentication protocol requested by
> server;
>> consider upgrading MySQL client
>> how to correct this problem

Can you connect through the command line (or MS-DOS) using:
'mysql -u username -p database'

You'll maybe need to dink around with $PATH or $path settings to get
'mysql' in your environment settings.

If you can't connect from the command line, PHP has little hope of
connecting.

What version of PHP and MySQL and what server are you using?

Did you provide a username/password to MySQL?

Do you have any settings in php.ini or /etc/my.cnf or httpd.conf that you
know of that might affect how you are authenticated with MySQL?

Do you have mod_auth_mysql installed with Apache?  And is it using the
*SAME* version of MySQL that you compiled with the PHP client?  If not,
you have to make them match up.

Did you get any kind of messages when you compiled Apache, MySQL, and PHP?
 Or did you compile them?

What version of MySQL did you install?  What version is built in with PHP?
 They have to match up, or it won't work.

-- 
Like Music?
http://l-i-e.com/artists.htm


[PHP-INSTALL] Re: [PHP] Diff: Comman line vs. phpinfo()

2005-01-16 Thread Richard Lynch
Joseph E. Maxwell wrote:
> Just upgraded to php 4.3.10
> phpinfo() apparently stuck on
>
>
>   PHP Version 4.3.5
>
>
> SystemFreeBSD xxx.com 4.9-STABLE FreeBSD 4.9-STABLE #0: Wed Nov 
> i386
> Build DateApr 11 2004 20:01:52
>
>
>
> Command line  ==>
>php -v
>PHP 4.3.10 (cli) (built: Jan 15 2005 12:54:11)
>Copyright (c) 1997-2004 The PHP Group
>Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
>
>
> Is this a php or an Apache problem. I did do an Apache restart !

To make 100% sure your Apache restart actually happened, check the
run-times for your 'httpd' processes or use mod_status (?)
http://127.0.0.1/server-status (http://127.0.0.1/server_status?) which
will print Apache uptime (and other fun stuff)

If you didn't install mod_status, ps auxwww | grep httpd might show it, or
top.

Some Apache restart scripts don't report errors well, so when you THINK
you re-started, you didn't.

Also check the module path in httpd.conf as suggestd, and re-do PHP's
"make install" paying particular attention to where it puts things...

You may be putting the php*.so in the wrong directory.

-- 
Like Music?
http://l-i-e.com/artists.htm


[PHP-INSTALL] Virus

2005-01-23 Thread Richard Pyne
There are a growing number of posts to this list that have an 
attachemnt containing a virus.

Will you all PLEASE take steps to stop spreading viruses.

--Richard


[PHP-INSTALL] php+mysql versions

2005-04-16 Thread Richard Naylor
Am about to install mysql and php on Windows 2003 server to run under IIS6.
What would be the most appropriate versions of mysql and php to use?

Richard


[PHP-INSTALL] PHP+MYSQL versions

2005-04-16 Thread Richard Naylor
I am about to install PHP and MYSQL on Windows 2003 server to run under
IIS6.  Which versions of PHP and MYSQL would be most appropriate to work
together?

Thanks
Richard


RE: [PHP-INSTALL] PHP+MYSQL versions

2005-04-16 Thread Richard Naylor
Thanks for the prompt reply.

The requirements are twofold.  I want to use php/mysql for student project
work and I have one php application that I would like to use in school
namely mrbs (Meeting room booking system).  This requires php4 & mysql and
ghas been tested with php 4.3.2 and mysql 4.0.14 runing on Apache 1.3.28.  I
want to run this app on IIS6.  There appear to be some incompatibilities
between the later versions of Mysql and some versions of php4.  So I am
getting confused with the different versions of mysql and php that are
available.  So what versions of php4 and mysql are a good combination?

I was staying clear of php5 as there may be other php apps that I might want
to look at and I suppose it takes time for these apps to be upgraded to run
under php5

I dare say there might not be a simple answer.
Thanks
Richard


> -Original Message-
> From: Michael W. [mailto:[EMAIL PROTECTED]
> Sent: 16 April 2005 15:34
> To: Richard Naylor
> Cc: php-install@lists.php.net
> Subject: Re: [PHP-INSTALL] PHP+MYSQL versions
> 
> That depends. Do you have any somewhat legacy PHP applications that need
> to be able to run? If so, PHP 4, and if not, PHP 5. If you have
> applications that need mysql_xxx functions, then MySQL 4.0.x, and if
> not, 4.1.x.
> 
> Richard Naylor wrote:
> 
> >I am about to install PHP and MYSQL on Windows 2003 server to run under
> >IIS6.  Which versions of PHP and MYSQL would be most appropriate to work
> >together?
> >
> >Thanks
> >Richard
> >
> >
> >
> >
> >


[PHP-INSTALL] Problem compiling with PHP 5.1.1 and MySQL on Solaris 8

2005-12-13 Thread Richard Lacroix
 
ext/standard/string.lo ext/standard/scanf.lo ext/standard/syslog.lo 
ext/standard/type.lo ext/standard/uniqid.lo ext/standard/url.lo 
ext/standard/url_scanner.lo ext/standard/var.lo 
ext/standard/versioning.lo ext/standard/assert.lo 
ext/standard/strnatcmp.lo ext/standard/levenshtein.lo 
ext/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo 
ext/standard/ftp_fopen_wrapper.lo ext/standard/http_fopen_wrapper.lo 
ext/standard/php_fopen_wrapper.lo ext/standard/credits.lo 
ext/standard/css.lo ext/standard/var_unserializer.lo 
ext/standard/ftok.lo ext/standard/sha1.lo ext/standard/user_filters.lo 
ext/standard/uuencode.lo ext/standard/filters.lo 
ext/standard/proc_open.lo ext/standard/sunfuncs.lo 
ext/standard/streamsfuncs.lo ext/standard/http.lo 
ext/tokenizer/tokenizer.lo ext/xml/xml.lo ext/xml/compat.lo TSRM/TSRM.lo 
TSRM/tsrm_strtok_r.lo TSRM/tsrm_virtual_cwd.lo main/main.lo 
main/snprintf.lo main/spprintf.lo main/php_sprintf.lo main/safe_mode.lo 
main/fopen_wrappers.lo main/alloca.lo main/php_scandir.lo 
main/php_ini.lo main/SAPI.lo main/rfc1867.lo main/php_content_types.lo 
main/strlcpy.lo main/strlcat.lo main/mergesort.lo main/reentrancy.lo 
main/php_variables.lo main/php_ticks.lo main/network.lo 
main/php_open_temporary_file.lo main/php_logos.lo main/output.lo 
main/streams/streams.lo main/streams/cast.lo main/streams/memory.lo 
main/streams/filter.lo main/streams/plain_wrapper.lo 
main/streams/userspace.lo main/streams/transports.lo 
main/streams/xp_socket.lo main/streams/mmap.lo 
Zend/zend_language_parser.lo Zend/zend_language_scanner.lo 
Zend/zend_ini_parser.lo Zend/zend_ini_scanner.lo Zend/zend_alloc.lo 
Zend/zend_compile.lo Zend/zend_constants.lo Zend/zend_dynamic_array.lo 
Zend/zend_execute_API.lo Zend/zend_highlight.lo Zend/zend_llist.lo 
Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo 
Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo 
Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo 
Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo 
Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo 
Zend/zend_ts_hash.lo Zend/zend_stream.lo Zend/zend_iterators.lo 
Zend/zend_interfaces.lo Zend/zend_exceptions.lo Zend/zend_strtod.lo 
Zend/zend_objects.lo Zend/zend_object_handlers.lo 
Zend/zend_objects_API.lo Zend/zend_mm.lo Zend/zend_default_classes.lo 
Zend/zend_reflection_api.lo Zend/zend_execute.lo 
sapi/apache2handler/mod_php5.lo sapi/apache2handler/sapi_apache2.lo 
sapi/apache2handler/apache_config.lo 
sapi/apache2handler/php_functions.lo main/internal_functions.lo 
-lmysqlclient -lresolv -lm -ldl -lnsl -lsocket -lgcc -lxml2 -lz -liconv 
-lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz 
-liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl  -o 
libphp5.la

Text relocation remains referenced
against symbol  offset  in file
   0x0 
/usr/local/mysql/lib/libmysqlclient.a(ctype.o)
   0x4 
/usr/local/mysql/lib/libmysqlclient.a(ctype.o)
   0x8 
/usr/local/mysql/lib/libmysqlclient.a(ctype.o)
   0xc 
/usr/local/mysql/lib/libmysqlclient.a(ctype.o)
unknown_sqlstate0xa2c 
/usr/local/mysql/lib/libmysqlclient.a(libmysql.o)
unknown_sqlstate0xa34 
/usr/local/mysql/libmysqlclient.a(libmysql.o)
unknown_sqlstate0xd14 
/usr/local/mysql/libmysqlclient.a(libmysql.o)
unknown_sqlstate0xd1c 
/usr/local/mysql/lib/libmysqlclient.a(libmysql.o)
unknown_sqlstate0xd8c 
/usr/local/mysql/lib/libmysqlclient.a(libmysql.o)
unknown_sqlstate0xd90 
/usr/local/mysql/lib/libmysqlclient.a(libmysql.o)

...
...(stuff delete)...
...
closedir0x210 
/usr/local/mysql/lib/libmysqlclient.a(my_lib.o)
closedir0x250 
/usr/local/mysql/lib/libmysqlclient.a(my_lib.o)

ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
gmake: *** [libphp5.la] Error 1


--
Richard Lacroix
Analyste en informatique
_
Université de Sherbrooke
Faculté de Génie
Génie Électrique et Génie Informatique
2500 Boul. Université
Sherbrooke, Qc
J1K 2R1 Canada
Tél. (819) 821-8000 ext. 2877 Fax (819) 821-7937
 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
  www.usherbrooke.ca/gelecinfo <http://www.usherbrooke.ca/gelecinfo>


Re: [PHP-INSTALL] Problem compiling with PHP 5.1.1 and MySQL on Solaris 8

2005-12-14 Thread Richard Lacroix

As suggested by Luc,

I download the MySQL source and compile MySQL with dynamic and static 
libs,redo the PHP  and it works.


Originally I had downloaded the Solaris binary from MySQL which is not 
compile with dynamic libs.


Thanks Luc

Richard

Luc I. Suryo wrote:

Bonjour Richard,


The 'problem' is that you using a static library while with PHP5 you
must use the dynamic one

so recompile mysql with dynamic and static libs
and the redo PHP

btw: you might want ti use trhe -L and -R flags during configuration
(LDFLAGS=".) or adjust the system library search path (check crle)


hope this may help a bit...

-luc

Richard Lacroix <[EMAIL PROTECTED]>
   wrote at Tue, Dec 13, 2005 at 03:36:33PM -0500:


I'm trying to compile PHP 5.1.1 with MySQL support on a Sun Sparc with 
Solaris 8. I try with 3 different version on MySQL (4.0, 4.1 and 5.0). 
The configure goes OK but I always have the same error. with make.



My configure options are:
./configure  --prefix=/usr/local/php 
--with-apxs2=/usr/local/apache2/bin/apxs --disable-pdo 
--with-mysql=/usr/local/mysql


Note 1: if I remove MySQL support, everything is OK
Note 2: If I use PHP 5.0.5 with any version of MySQL, everything is OK too.


And the error is:

/bin/sh /var/share/php-5.1.1/libtool --silent --preserve-dup-deps 
--mode=link gcc -g -O2  -rpath /var/share/php-5.1.1/libs
-avoid-version -module -L/usr/ucblib 
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2 -L/usr/local/lib 
-L/usr/local/mysql/lib

-R /usr/ucblib -R /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2
-R /usr/local/lib
-R /usr/local/mysql/lib ext/libxml/libxml.lo 
ext/pcre/pcrelib/pcre_chartables.lo ext/pcre/pcrelib/pcre_compile.lo 
ext/pcre/pcrelib/pcre_config.lo ext/pcre/pcrelib/pcre_dfa_exec.lo 
ext/pcre/pcrelib/pcre_exec.lo ext/pcre/pcrelib/pcre_fullinfo.lo 
ext/pcre/pcrelib/pcre_get.lo ext/pcre/pcrelib/pcre_globals.lo 
ext/pcre/pcrelib/pcre_info.lo ext/pcre/pcrelib/pcre_maketables.lo 
ext/pcre/pcrelib/pcre_ord2utf8.lo ext/pcre/pcrelib/pcre_printint.lo 
ext/pcre/pcrelib/pcre_refcount.lo ext/pcre/pcrelib/pcre_study.lo 
ext/pcre/pcrelib/pcre_tables.lo ext/pcre/pcrelib/pcre_try_flipped.lo 
ext/pcre/pcrelib/pcre_ucp_findchar.lo 
ext/pcre/pcrelib/pcre_valid_utf8.lo ext/pcre/pcrelib/pcre_version.lo 
ext/pcre/pcrelib/pcre_xclass.lo ext/pcre/php_pcre.lo ext/ctype/ctype.lo 
ext/date/php_date.lo ext/date/lib/dow.lo ext/date/lib/parse_date.lo 
ext/date/lib/parse_tz.lo ext/date/lib/timelib.lo 
ext/date/lib/tm2unixtime.lo ext/date/lib/unixtime2tm.lo 
ext/dom/php_dom.lo ext/dom/attr.lo ext/dom/document.lo 
ext/dom/domerrorhandler.lo ext/dom/domstringlist.lo 
ext/dom/domexception.lo ext/dom/namelist.lo 
ext/dom/processinginstruction.lo ext/dom/cdatasection.lo 
ext/dom/documentfragment.lo ext/dom/domimplementation.lo 
ext/dom/element.lo ext/dom/node.lo ext/dom/string_extend.lo 
ext/dom/characterdata.lo ext/dom/documenttype.lo 
ext/dom/domimplementationlist.lo ext/dom/entity.lo ext/dom/nodelist.lo 
ext/dom/text.lo ext/dom/comment.lo ext/dom/domconfiguration.lo 
ext/dom/domimplementationsource.lo ext/dom/entityreference.lo 
ext/dom/notation.lo ext/dom/xpath.lo ext/dom/dom_iterators.lo 
ext/dom/typeinfo.lo ext/dom/domerror.lo ext/dom/domlocator.lo 
ext/dom/namednodemap.lo ext/dom/userdatahandler.lo ext/iconv/iconv.lo 
ext/mysql/php_mysql.lo ext/posix/posix.lo ext/session/session.lo 
ext/session/mod_files.lo ext/session/mod_mm.lo ext/session/mod_user.lo 
ext/simplexml/simplexml.lo ext/spl/php_spl.lo ext/spl/spl_functions.lo 
ext/spl/spl_engine.lo ext/spl/spl_iterators.lo ext/spl/spl_array.lo 
ext/spl/spl_directory.lo ext/spl/spl_sxe.lo ext/spl/spl_exceptions.lo 
ext/spl/spl_observer.lo ext/sqlite/sqlite.lo ext/sqlite/sess_sqlite.lo 
ext/sqlite/pdo_sqlite2.lo ext/sqlite/libsqlite/src/opcodes.lo 
ext/sqlite/libsqlite/src/parse.lo ext/sqlite/libsqlite/src/encode.lo 
ext/sqlite/libsqlite/src/auth.lo ext/sqlite/libsqlite/src/btree.lo 
ext/sqlite/libsqlite/src/build.lo ext/sqlite/libsqlite/src/delete.lo 
ext/sqlite/libsqlite/src/expr.lo ext/sqlite/libsqlite/src/func.lo 
ext/sqlite/libsqlite/src/hash.lo ext/sqlite/libsqlite/src/insert.lo 
ext/sqlite/libsqlite/src/main.lo ext/sqlite/libsqlite/src/os.lo 
ext/sqlite/libsqlite/src/pager.lo ext/sqlite/libsqlite/src/printf.lo 
ext/sqlite/libsqlite/src/random.lo ext/sqlite/libsqlite/src/select.lo 
ext/sqlite/libsqlite/src/table.lo ext/sqlite/libsqlite/src/tokenize.lo 
ext/sqlite/libsqlite/src/update.lo ext/sqlite/libsqlite/src/util.lo 
ext/sqlite/libsqlite/src/vdbe.lo ext/sqlite/libsqlite/src/attach.lo 
ext/sqlite/libsqlite/src/btree_rb.lo ext/sqlite/libsqlite/src/pragma.lo 
ext/sqlite/libsqlite/src/vacuum.lo ext/sqlite/libsqlite/src/copy.lo 
ext/sqlite/libsqlite/src/vdbeaux.lo ext/sqlite/libsqlite/src/date.lo 
ext/sqlite/libsqlite/src/where.lo ext/sqlite/libsqlite/src/trigger.lo 
regex/regcomp.lo regex/regexec.lo regex/regerror.lo regex/regfree.lo 
ext/standard/array.lo ext/standard/base64.lo 
ext/standard/basic_functions.lo ext

[PHP-INSTALL] Re: [PHP] php4 vs. php5

2006-02-02 Thread Richard Lynch
On Thu, February 2, 2006 1:18 pm, Grae Wolfe - PHP wrote:
> Hey there...  I am setting up a new test server for one of my clients
> to
> use, and I am curious if there is a reason to go with php4.xx over
> php5.xx,
> or the other way around.  I would think that I would want to go with
> the
> newest one, but my client requested that 4.xx be installed.  I don't
> know if
> he is worried that his code won't be compatible, or if he just doesn't
> know
> that there is a php5.xx available.

Inform the client that PHP5 is available and if their code will work
on PHP5, they should use it.

Offer to install PHP5 for a trial run, and let them test it for X time
period, even, and agree to downgrade to PHP4 if needed.

-- 
Like Music?
http://l-i-e.com/artists.htm


[PHP-INST] Apache 2.0.35 and PHP 4.1.2

2002-04-09 Thread Richard Pyne

I have sucessfully built PHP for Apache 2 using 

./configure  --prefix=/usr/local/php4.1.2 
\--with-axps2=/usr/local/apache2/bin/apxs --with-psql --with-mysql

Apache was built with 

./configure  --enable-ssl --with-ssl=/usr/local/openssl --enable-info \ 
--enable-so --enable-usertrack --prefix=/usr/local/apache2 --enable-rewrite

The builds run with no errors, but when I add 


SetOutputFilter PHP
SetInputFilter PHP


to my httpd.conf file, Apache dies on startup with this message in the 
error_log:

[alert] Child 27723 returned a Fatal error... Apache is exiting!

Commenting out the  section allows everything to run okay 
(except PHP stuff).

Any hints on things to try or where to look would be greatly appreciated.

--Richard


-- 
Richard B. Pyne
[EMAIL PROTECTED]

--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-INST] prob w/ php and apache

2002-05-03 Thread Richard Anglin

i am getting prob starting apache after compiling/installing php:

here is the output :

# more typescript 

Script started on Sat May 04 01:21:40 2002 

isis[root]10> ./apachectl start 

Syntax error on line 235 of /etc/apache/httpd.conf: 

Cannot load /usr/apache/libexec/libphp4.so into server: ld.so.1: /usr/apache/bin

/httpd: fatal: relocation error: file /usr/apache/libexec/libphp4.so: symbol zif

_ob_get_status: referenced symbol not found 

./apachectl start: httpd could not be started 

isis[root]11> exit 

...and my env. variables.


# env 

HOME=/ 

HZ=100 

LD_LIBRARY_PATH=:/usr/local/mysql/lib:/usr/apache/libexec:/usr/lib 

LOGNAME=root 

MAIL=/var/mail/root 

MANPATH=/usr/man:/usr/local/man:/usr/openwin/man:/apps/X11R5/usr/man 

PATH=/bin:/usr/bin:/etc:/usr/etc:/usr/local/bin:/usr/local/etc:/usr/sbin:/usr/

PWD=/etc/apache 

SHELL=/bin/csh 

TERM=vt220 

TZ=US/Eastern 

USER=root 

_INIT_NET_STRATEGY=none 

_INIT_PREV_LEVEL=S 

_INIT_RUN_LEVEL=3 

_INIT_RUN_NPREV=0 

_INIT_UTS_ISA=sparc 

_INIT_UTS_MACHINE=sun4m 

_INIT_UTS_NODENAME=isis 

_INIT_UTS_PLATFORM=SUNW,SPARCstation-20 

_INIT_UTS_RELEASE=5.8 

_INIT_UTS_SYSNAME=SunOS 

_INIT_UTS_VERSION=Generic 




Re: [PHP-INST] php 4.2.0 install problem

2002-05-05 Thread Richard Anglin

I had a simiar problem with php and apache 1.3x
on Sol 8.


- Original Message - 
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: "Christian" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, May 05, 2002 6:47 PM
Subject: Re: [PHP-INST] php 4.2.0 install problem


> Apache2+PHP is not fully baked yet.  Unless you have some very specific
> technical requirement for Apache 2, stick with the loatest stable Apache
> 1.3.x.
> 
> -Rasmus
> 
> On Sun, 5 May 2002, Christian wrote:
> 
> > I' ll install httpd-2.0.35 with php 4.2.0. Durind tha installation of
> > php 4.2.0 there is no problem, i follow the procedure find on php web
> > site, but apxs2 instead apxs
> >
> > I add the lines, indicate on php site, on my httpd.conf
> > When I start apache, with apachectl start I view the following error:
> >
> > Syntax error on line 217 of /usr/local/apache2/conf/httpd.conf:
> > Cannot load /usr/local/apache2/modules/libphp4.so into server:
> > /usr/local/apache2/modules/libphp4.so: Undefined symbol
> > "pthread_getspecific"
> > /bin/apachectl start: httpd could not be started
> >
> >
> > where is the problem?!?!
> > I use FreeBSD OS
> >
> > Bye Christian
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> 
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-INST] php 4.2.0 install problem

2002-05-05 Thread Richard Anglin

here is the icluded mal expalining the problem.
help!!!

...

i am getting prob starting apache after compiling/installing php:

here is the output :

# more typescript

Script started on Sat May 04 01:21:40 2002

isis[root]10> ./apachectl start

Syntax error on line 235 of /etc/apache/httpd.conf:

Cannot load /usr/apache/libexec/libphp4.so into server: ld.so.1:
/usr/apache/bin

/httpd: fatal: relocation error: file /usr/apache/libexec/libphp4.so: symbol
zif

_ob_get_status: referenced symbol not found

./apachectl start: httpd could not be started

isis[root]11> exit

...and my env. variables.


# env

HOME=/

HZ=100

LD_LIBRARY_PATH=:/usr/local/mysql/lib:/usr/apache/libexec:/usr/lib

LOGNAME=root

MAIL=/var/mail/root

MANPATH=/usr/man:/usr/local/man:/usr/openwin/man:/apps/X11R5/usr/man

PATH=/bin:/usr/bin:/etc:/usr/etc:/usr/local/bin:/usr/local/etc:/usr/sbin:/us
r/

PWD=/etc/apache

SHELL=/bin/csh

TERM=vt220

TZ=US/Eastern

USER=root

_INIT_NET_STRATEGY=none

_INIT_PREV_LEVEL=S

_INIT_RUN_LEVEL=3

_INIT_RUN_NPREV=0

_INIT_UTS_ISA=sparc

_INIT_UTS_MACHINE=sun4m

_INIT_UTS_NODENAME=isis

_INIT_UTS_PLATFORM=SUNW,SPARCstation-20

_INIT_UTS_RELEASE=5.8

_INIT_UTS_SYSNAME=SunOS

_INIT_UTS_VERSION=Generic

- Original Message -
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: "Richard Anglin" <[EMAIL PROTECTED]>
Cc: "Christian" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, May 05, 2002 11:22 PM
Subject: Re: [PHP-INST] php 4.2.0 install problem


> You shouldn't have since neither Apache nor PHP uses pthreads.
>
> On Sun, 5 May 2002, Richard Anglin wrote:
>
> > I had a simiar problem with php and apache 1.3x
> > on Sol 8.
> >
> >
> > - Original Message -
> > From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
> > To: "Christian" <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > Sent: Sunday, May 05, 2002 6:47 PM
> > Subject: Re: [PHP-INST] php 4.2.0 install problem
> >
> >
> > > Apache2+PHP is not fully baked yet.  Unless you have some very
specific
> > > technical requirement for Apache 2, stick with the loatest stable
Apache
> > > 1.3.x.
> > >
> > > -Rasmus
> > >
> > > On Sun, 5 May 2002, Christian wrote:
> > >
> > > > I' ll install httpd-2.0.35 with php 4.2.0. Durind tha installation
of
> > > > php 4.2.0 there is no problem, i follow the procedure find on php
web
> > > > site, but apxs2 instead apxs
> > > >
> > > > I add the lines, indicate on php site, on my httpd.conf
> > > > When I start apache, with apachectl start I view the following
error:
> > > >
> > > > Syntax error on line 217 of /usr/local/apache2/conf/httpd.conf:
> > > > Cannot load /usr/local/apache2/modules/libphp4.so into server:
> > > > /usr/local/apache2/modules/libphp4.so: Undefined symbol
> > > > "pthread_getspecific"
> > > > /bin/apachectl start: httpd could not be started
> > > >
> > > >
> > > > where is the problem?!?!
> > > > I use FreeBSD OS
> > > >
> > > > Bye Christian
> > > >
> > > >
> > > > --
> > > > PHP Install Mailing List (http://www.php.net/)
> > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > >
> > >
> > >
> > > --
> > > PHP Install Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
> > >
> >
> >
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-INST] Trying to build php getting an error.

2002-05-10 Thread Richard Anglin

Install bison

and re-compile


- Original Message -
From: "Nico Berg" <[EMAIL PROTECTED]>
To: "Php-Install" <[EMAIL PROTECTED]>
Sent: Friday, May 10, 2002 10:40 AM
Subject: [PHP-INST] Trying to build php getting an error.


> Is there someone else who has got this error? Possible it is something
> stuppid I did but I don't know what.
> I have used ./configure --with-mysql
>
> gandalf:~/php-4.2.0 # make
> Making all in Zend
> make[1]: Entering directory `/root/php-4.2.0/Zend'
> yacc -p zend -v -d ./zend_language_parser.y -o zend_language_parser.c
> usage: yacc [-dlrtv] [-b file_prefix] [-p symbol_prefix] filename
> make[1]: *** [zend_language_parser.c] Error 1
> make[1]: Leaving directory `/root/php-4.2.0/Zend'
> make: *** [all-recursive] Error 1
> gandalf:~/php-4.2.0 #
>
> Thank's Nico Berg
>
>






> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-INST] PHP, Apache and threads: very strange

2002-05-20 Thread Richard Anglin

download zlib, install and recompile:

http://www.faqts.com/knowledge_base/view.phtml/aid/5087

-regards

Rich
- Original Message -
From: "Wagner R. Teixeira" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 20, 2002 4:08 PM
Subject: [PHP-INST] PHP, Apache and threads: very strange


> Hi, guys.
>
> I'm installing PHP 4.2.1 with Apache 2.0.36. I can compile both the way
I've
> been doing for years, but this time when I start Apache I get the
following
> error message:
>
> ==
> Syntax error on line 230 of /usr/local/apache2/conf/httpd.conf:
> Cannot load /usr/local/apache2/modules/libphp4.so into server:
> /usr/local/apache2/modules/libphp4.so: Undefined symbol
> "pthread_getspecific"
> /apache/bin/apachectl start: httpd could not be started
> ==
>
> httpd.conf, line 230 (automatically inserted during PHP build) is:
> LoadModule php4_modulemodules/libphp4.so
>
> PHP Configure command is:
>
./configure --with-apxs2=/usr/local/apache2/bin/apxs --enable-dbase --enable
> -ftp --with-mysql=/usr/local/mysql --with-pgsql=/usr/local/pgsql --enable-
tr
>
ans-sid --enable-sysvsem --enable-sysvshm --enable-wddx --enable-debug=no --
> enable-safe-mode --with-imap=/usr/local/src/imap/client/imap-4.5
>
> Apache Configure command is:
>
./configure --enable-module=so --enable-module=unique_id --with-perl=/usr/bi
> n/perl
>
> The OS is: FreeBSD 4.5-RELEASE
>
> Could anybody help me?
>
> Thanks in advance.
> Wagner.
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.361 / Virus Database: 199 - Release Date: 07/05/02
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-INST] ok compiled but ?

2002-05-22 Thread Richard Anglin

Try this --

http://www.bolthole.com/solaris/php+solaris.html


- Original Message -
From: "Defryn NZ" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 23, 2002 2:39 AM
Subject: RE: [PHP-INST] ok compiled but ?


> I am having exactly the same problem. The error only appears when starting
> apache.
> I am thinking about installing Apache 1.3 and see if it has the same
> problem.
>
> Everything works fine on windows :) but I want to learn Unix. What do you
> mean with compiling
> It directly into httpd?
>
> Cheers
>
> -Original Message-
> From: Dan Stilts [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 22 May 2002 11:10 a.m.
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP-INST] ok compiled but ?
>
>  Hi Erik,
>
> I was having this same exact problem, so I went ahead and compiled it
> directly into httpd. Not always my favorite thing to do, but nothing else
> was working.
>
> Dan
>
> -Original Message-
> From: Erik [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 21, 2002 1:01 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] ok compiled but ?
>
> hi,
>
>
> i succesfully compiled and builded mysql apache and php 4.2.1from the
> sourcecode and it still refuses to work :-( the error i get is when i try
> to start apache
> Syntax error on line 222 of /usr/local/apache/conf/httpd.conf
> cannot load /usr/local/apache/libexec/libphp4.so into server
> /usr/local/apache/libexec/libphp4.so : undefined symbol __dn_expand
>
> what is this ?? help please
>
> regards from Belgium
> Erik
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-INST] ok compiled but ?

2002-05-23 Thread Richard Anglin

I had the same problem and was sratching my head for three weeks.  I found
the solution by following the below directions:

http://www.tldp.org/HOWTO/Apache-Compile-HOWTO/php.html

I was surprised it worked -- pass it on  :)


- Original Message -
From: "Richard Anglin" <[EMAIL PROTECTED]>
To: "Defryn NZ" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, May 23, 2002 2:48 AM
Subject: Re: [PHP-INST] ok compiled but ?


> Try this --
>
> http://www.bolthole.com/solaris/php+solaris.html
>
>
> - Original Message -
> From: "Defryn NZ" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, May 23, 2002 2:39 AM
> Subject: RE: [PHP-INST] ok compiled but ?
>
>
> > I am having exactly the same problem. The error only appears when
starting
> > apache.
> > I am thinking about installing Apache 1.3 and see if it has the same
> > problem.
> >
> > Everything works fine on windows :) but I want to learn Unix. What do
you
> > mean with compiling
> > It directly into httpd?
> >
> > Cheers
> >
> > -Original Message-
> > From: Dan Stilts [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, 22 May 2002 11:10 a.m.
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: RE: [PHP-INST] ok compiled but ?
> >
> >  Hi Erik,
> >
> > I was having this same exact problem, so I went ahead and compiled it
> > directly into httpd. Not always my favorite thing to do, but nothing
else
> > was working.
> >
> > Dan
> >
> > -Original Message-
> > From: Erik [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, May 21, 2002 1:01 AM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-INST] ok compiled but ?
> >
> > hi,
> >
> >
> > i succesfully compiled and builded mysql apache and php 4.2.1from the
> > sourcecode and it still refuses to work :-( the error i get is when i
try
> > to start apache
> > Syntax error on line 222 of /usr/local/apache/conf/httpd.conf
> > cannot load /usr/local/apache/libexec/libphp4.so into server
> > /usr/local/apache/libexec/libphp4.so : undefined symbol __dn_expand
> >
> > what is this ?? help please
> >
> > regards from Belgium
> > Erik
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-INST] PHP source getting displayed

2002-05-29 Thread Richard Pyne

I finally got Apache 2.0.36 + PHP 4.2.1 to run without crashing on startup 
(the secret was that the LoadModule line required the full path), but I am 
now getting the contents of test.php displayed instead of executed.

Any ideas will be greatly appreciated.

--Richard

-- 
Richard B. Pyne
[EMAIL PROTECTED]

--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-INST] Scripts not seeing querystring vars

2002-08-19 Thread Richard Vincent

Hello,

I recently installed PHP on my win 2000 server and it appeared to be working
great .. but I have recently detected one problem. It's not seeing
querystring variable info and instatiating variables inside the script that
correspond to the querystring

Any ideas .. Please help.

Richard Vincent




-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-INST] installing php4.2.2 with gd and freetype

2002-08-31 Thread Richard Pijnenburg

Dear list,
 
I'm trying to install Apache 1.3.26 with php 4.2.2 which was successful.
Then I tried the same but then with GD, freetype, libpng, jpg and zlib.
 
The installation seems to work correct.
 
But I'm trying to install it for a program called pphlogger.
Everything seems to be correct. But a part which generates a counter
picture that uses an font type doesn't work.
 
These are the versions I installed.
 
apache_1.3.26
php-4.2.2
gd-2.0.1
freetype-2.1.2
zlib-1.1.4
libpng-1.2.4
jpeg-6b
 
i hope some one can help me.
 
Thanks in advance,
 
Richard Pijnenburg
Klik-on Internet Solutions
 



[PHP-INST] problems compiling php4 on redhat 7.1

2002-09-05 Thread Richard Scrivener

Hi,

I can't get php4 to compile on my redhat 7.1 environment.
I had an initial problem with apxs: it wasn't installed by default with 
RH71, so I downloaded the rpm and installed it.

Now I am getting an error concerning libgcc_s.so.1 !!  I searched for an 
rpm that seemed to install this library (gcc-3.0.3-5.src.rpm) but I still 
get the error.

I have attached the debug.log script.
you help would be greatly appreciated!!

richard scrivener
minotaur information systems
sydney, australia




-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP-INST] Hey I am currently running an apache 1.3.26 and trying to getphp 4.2.3 as a cgi running.

2002-09-23 Thread Richard Davies

Hey I am currently running an apache 1.3.26 and trying to get php 4.2.3 as a cgi 
running.

When I try to access a php script file via my browser, I get a blank screen if I use 
body and html tabs or I can just see the code when without.

Anyways it seems to point to my apache conf as being the problem but I can't see 
anything wrong :(

ScriptAlias /php4/ "c:/php4/"
AddType application/x-httpd-php .php
Action application/x-httpd-php /php4/php.exe

Are the any issuses with nt4 or any advise on what I can try next?

Thanks heaps,
Richard


--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: RE: [PHP-INST] Hey I am currently running an apache 1.3.26and trying to getphp 4.2.3 as a cgi running.

2002-09-24 Thread Richard Davies

Yeap shore have many times :/ running the php.exe -i  seems to work ok too so guess 
that means it's not the php.ini setting yes? Well any help is great I really don't 
want to go IIS.

>>> "Peter Houchin" <[EMAIL PROTECTED]> 09/24 3:53  >>>
may sound silly but have you stoped and restarted apache?

> -Original Message-
> From: Richard Davies [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, 24 September 2002 12:48 PM
> To: [EMAIL PROTECTED] 
> Subject: [PHP-INST] Hey I am currently running an apache 1.3.26 and
> trying to getphp 4.2.3 as a cgi running.
> 
> 
> Hey I am currently running an apache 1.3.26 and trying to get php 
> 4.2.3 as a cgi running.
> 
> When I try to access a php script file via my browser, I get a 
> blank screen if I use body and html tabs or I can just see the 
> code when without.
> 
> Anyways it seems to point to my apache conf as being the problem 
> but I can't see anything wrong :(
> 
> ScriptAlias /php4/ "c:/php4/"
> AddType application/x-httpd-php .php
> Action application/x-httpd-php /php4/php.exe
> 
> Are the any issuses with nt4 or any advise on what I can try next?
> 
> Thanks heaps,
> Richard
> 
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php 
> 
> 

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php 



--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-INST] compile fails on netdb.h?

2002-09-25 Thread richard hornsby

If someone could please help me on this one, I really would appreciate
it.  I've compiled PHP successfully dozens of times, but can't seem to
figure out what this problem is :(  This is a RH7.3 box, with the
"newest" version of glibc which apparently provides netdb.h (figuring
maybe that would help since the version shipped with RH had the same
problems.)  I don't know enough C to understand what I'm being told here,
and netdb.h doesn't have any obvious parse errors.

If you reply, please CC me in mail because the faster I can get this
fixed, the less stressed out I'll be.

Thanks.

/bin/sh /usr/src/php-4.2.3/libtool --silent --mode=compile gcc  -I. 
-I/usr/src/php-4.2.3/main -I/usr/src/php-4.2.3/main -I/usr/src/php-4.2.3 
-I/usr/local/apache/include -I/usr/src/php-4.2.3/Zend 
-I/usr/include/freetype2/freetype -I/usr/local/mysql/include/mysql 
-I/usr/local/include/pspell -I/usr/src/php-4.2.3/ext/xml/expat  -DLINUX=22 
-DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I/usr/src/php-4.2.3/TSRM -g -O2 -prefer-pic  -c 
fopen_wrappers.c
In file included from fopen_wrappers.c:70:
/usr/include/netdb.h:119: parse error before `__socklen_t'
/usr/include/netdb.h:141: parse error before `__socklen_t'
In file included from fopen_wrappers.c:72:
/usr/include/arpa/inet.h:27: syntax error before `socklen_t'
/usr/include/arpa/inet.h:27: warning: empty declaration
make[2]: *** [fopen_wrappers.lo] Error 1
make[2]: Leaving directory `/usr/src/php-4.2.3/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php-4.2.3/main'
make: *** [all-recursive] Error 1

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-INST] php/gd config error

2002-10-23 Thread Richard Pijnenburg

Dear List,

I've installed GD with libpng, jpeg, freetype(2) and zlib
So now I wanted to install php.

But now I'm getting the following error:

checking for gdImageString16 in -lgd... no
checking for gdImagePaletteCopy in -lgd... no
checking for gdImageCreateFromPng in -lgd... no
checking for gdImageCreateFromGif in -lgd... no
checking for gdImageGif in -lgd... no
checking for gdImageWBMP in -lgd... no
checking for gdImageCreateFromJpeg in -lgd... no
checking for gdImageCreateFromXpm in -lgd... no
checking for gdImageCreateFromGd2 in -lgd... no
checking for gdImageCreateTrueColor in -lgd... no
checking for gdImageSetTile in -lgd... no
checking for gdImageSetBrush in -lgd... no
checking for gdImageStringTTF in -lgd... no
checking for gdImageStringFT in -lgd... no
checking for gdImageStringFTEx in -lgd... no
checking for gdImageColorClosestHWB in -lgd... no
checking for gdImageColorResolve in -lgd... no
checking for gdImageGifCtx in -lgd... no

I know for sure that the php config is right because it can find
everything it should need.

Any one got any idea ??

Thanks a lot.


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-INST] php/gettext error

2002-10-23 Thread Richard Pijnenburg
Hi all,
 
I've installed gettext successful.
But when I try to install php with gettext, I'm getting the following:
 
checking for GNU gettext support... yes
checking for bindtextdomain in -lintl... no
checking for bindtextdomain in -lc... no
configure: error: Unable to find required gettext library
 
Does any one have an answer to this?
 
Thanks in advance.
 
Richard Pijnenburg



[PHP-INST] php/gd problem

2002-10-27 Thread Richard Pijnenburg
Dear List,
 
I've installed GD with libpng, jpeg, freetype(2) and zlib
So now I wanted to install php.
 
But now I'm getting the following error:
 
checking for gdImageString16 in -lgd... no
checking for gdImagePaletteCopy in -lgd... no
checking for gdImageCreateFromPng in -lgd... no
checking for gdImageCreateFromGif in -lgd... no
checking for gdImageGif in -lgd... no
checking for gdImageWBMP in -lgd... no
checking for gdImageCreateFromJpeg in -lgd... no
checking for gdImageCreateFromXpm in -lgd... no
checking for gdImageCreateFromGd2 in -lgd... no
checking for gdImageCreateTrueColor in -lgd... no
checking for gdImageSetTile in -lgd... no
checking for gdImageSetBrush in -lgd... no
checking for gdImageStringTTF in -lgd... no
checking for gdImageStringFT in -lgd... no
checking for gdImageStringFTEx in -lgd... no
checking for gdImageColorClosestHWB in -lgd... no
checking for gdImageColorResolve in -lgd... no
checking for gdImageGifCtx in -lgd... no
 
I know for sure that the php config is right because it can find
everything it should need.
 
Any one got any idea ??
 
Thanks a lot.



[PHP-INST] gd-2.x

2002-11-09 Thread Richard Pijnenburg
When will GD-2.x be supported with php?
 
Richard Pijnenburg
Klik-on Internet Solutions
 



RE: [PHP-INST] gd-2.x

2002-11-09 Thread Richard Pijnenburg
Well, i'm getting nothing but errors with php 4.2.3 and gd-2.0.4

With the php config, it detects the 2.x functions, but not that they are
really there ( getting all 'no' )

Any idea ?

Richard Pijnenburg
Klik-on Internet Solutions


-Original Message-
From: Rasmus Lerdorf [mailto:rasmus@;php.net] 
Sent: Saturday, November 09, 2002 10:58 PM
To: Richard Pijnenburg
Cc: Php-Install
Subject: Re: [PHP-INST] gd-2.x

Has been for years

On Sat, 9 Nov 2002, Richard Pijnenburg wrote:

> When will GD-2.x be supported with php?
>
> Richard Pijnenburg
> Klik-on Internet Solutions
>
>


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-INST] imap error?

2002-11-20 Thread Richard Pijnenburg
Dear list,
 
I've installed php-4.2.3 with imap.
But when I try to start apache I'm getting the following error.
 
/usr/local/apache/bin/apachectl start
/usr/local/apache/bin/apachectl: line 184: 18573 Segmentation fault
$HTTPD
/usr/local/apache/bin/apachectl start: httpd could not be started
 
 
I think it's a php error, because when I don't configure imap with my
php I don't get the error.
 
I've installed imap with the following 'howto' :
http://www.php.net/manual/en/ref.imap.php
 
If some one has a better way of installing imap support for php please
let me know.
 
I hope some one can help me.
 
Thanks in advance.
 
Richard Pijnenburg
 
 



RE: [PHP-INST] How to install PHP both as an apache module and as a standalone interpreter

2002-11-22 Thread Richard Pijnenburg
First you install php with : ./configure --with-apxs=/path/to/apxs [ and
additional config commands ]

And after you installed it, you do: ./configure [ and additional config
commands ]

So to get the standalone version you don't give the apache apxs path.

Hope it will help you.

With kind regards,


Richard Pijnenburg
Klik-on Internet Solutions


> -Original Message-
> From: Jaleen Liu [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 22, 2002 5:35 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] How to install PHP both as an apache module and as
a
> standalone interpreter
> 
> Hi,
> 
> I need to install a software which requires PHP to be
> installed both as an apache module and as a standalone
> interpreter. Can anyone give some hint how to do that
> after unzip the source file? I am using linux redhat
> 8.0.
> 
> Thanks
> 
> Jaleen
> 
> 
> __
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-INST] segmantation fault

2002-11-27 Thread Richard Pijnenburg
Hi all,
 
I've installed Imap like it's described at:
http://www.php.net/manual/en/ref.imap.php
I've compiled php to use imap which went fine.
 
But when I try to start apache, I get a segmentation fault.
 
Does any one have an idea how to get imap support with php?
 
Thanks a lot.
 
With kind regards,
 
Richard Pijnenburg
 



[PHP-INST] Failed opening

2002-12-03 Thread Richard Shaw


Hi, I've got mod_php4 4.2.3 running with apache1.3.27+mod_ssl under FreeBSD 
4.7 -RELEASE

i'm trying to execute a php script with the phpinfo line in, in fact it 
does it for every php page i try to execute now matter what the content. 
All I get the in the browser is.

Warning: Failed opening '/usr/web/www.example.org/info.php' for inclusion 
(include_path='.:/usr/local/lib/php') in Unknown on line 0

php.ini and httpd.conf are default, everything else works fine

Does anyone have an idea ? i'm stumped

Thanks in advance

Richard


--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-INST] Failed opening

2002-12-03 Thread Richard Shaw

>What does it say in your Apache error_log file?

Absolutely nothing out of the ordinary, which is why i'm really stumped


--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-INST] --with-xml problems

2001-01-19 Thread Richard Dekkard

I have installed php and apache and mysql on several systems using tutorials
and the read me files several times.  For some reason now, i am on day two
of attempting to do so on a RH 6.2 system.

Apache is up and running with php support, and MySQL is also running without
anyproblems.  The problem comes when trying to compile php 3.0.16 and
install it.  When I try to use the configuration line thats reccomended of

"./configure --with-apxs --with-xml --with-mysql=/usr --with-imap"

I get an error of

"checking for XML support... ./configure: apxs: command not found
configure: error: cannot find XML include files"

now when I try again this time without the --with-xml  option I get this
error

"WARNING: Your apxs script is most likely broken.
Please go read http://www.php.net/FAQ.php3#4.11 and make the
changes described there and try again."


now having checked that reference which is actually #6.11 it tells me to
check some lines of code in the apxs script, however i dont appear to have
one, its not in the directories that the php faq references and when i do a
"whereis" it doesnt show anywhere.


I would love to use the mandrake distro i normally do, but in this case that
isnt possible.  Anyone have any ideas?


thanks



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-INST] Problem installing IMAP

2001-04-04 Thread Richard Gordon

I am having a problem getting php4.0.4pl1 to work will imap on my Mandrake
7.2 linux system.
I am configuriging the system using the following configure options :-

./configure --with-apxs   \
--with-oci8   \
--without-mysql   \
--with-pgsql  \
--with-imap   \
--with-ldap

I have followed the instructions about c-client and have tried upgrading to
imap-2000c and even imap-2001beta packages from ftp.cac.washington.edu/imap/

Evering seems to compile and install OK but when I try to start apache I
get the following message :-

Cannot load /etc/httpd/modules/libphp4.so into server:
/etc/httpd/modules/libphp4.so: undefined symbol: mxdriver

Any help would be appreciated.

--
Thanks,

Richard





-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-INST] php 4.0.5 configure failure using -with-mcrypt

2001-05-15 Thread Richard Blackwell

I'm trying to compile php 4.0.5 using -with-mcrypt

I have tried many things, but to no avail -- the configure script fails.

It gets to the same point:

checking for mcrypt support... yes
checking for init_mcrypt in -lmcrypt... no
checking for mcrypt_module_open in -lmcrypt... no
configure: error: Sorry

Can anyone tell me what I'm doing wrong?



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-INST] GD shared - libjpeg.so.62 missing?...

2001-07-13 Thread Richard Lynch

Warning: Sleep-deprived post...

Please Cc: me in replies...

I know I'm not the most clueful guy, but...

I'm trying to compile GD as a shared library, and failing miserably.

Comfiguring/making without the "shared," part in 
"--with-gd=shared,/blah/blah/blah" works just fine, and the resulting 
CGI binary has GD support.

Alas, when trying to add that "shared," bit in there, I always get a 
big ol' box at the end of configure ATTENTION... simple feature... 
check debug.log.

So, I do, and there's this in it.

[root@www php-4.0.4]# less debug.log
CONFIGURE:   './configure' '--with-mysql=/usr/local/mysql' 
'--with-pgsql=/usr/sr
c/postgresql-6.5.2' '--enable-track-vars' '--enable-trans-sid' 
'--enable-ftp' '-
-enable-gd-imgstrttf' 
'--with-gd=shared,/home/sites/home/users/admin/software/gd
-1.8.4/' '--with-jpeg-dir=/usr/local' 
'--with-png-dir=/home/sites/home/users/adm
in/software/libpng-1.0.12/' 
'--with-zlib-dir=shared,/home/sites/home/users/admin
/software/zlib'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS:
CXX:
CXXFLAGS:
INCLUDES:  -I$(top_builddir)/Zend 
-I/home/sites/home/users/admin/software/gd
-1.8.4/ -I/usr/local/mysql/include/mysql
LDFLAGS: -Wl,-rpath,/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql
-Wl,-rpath,/usr/lib/pgsql -L/usr/lib/pgsql
LIBS:   -lpq -lmysqlclient -lpng -lz -lresolv -lm -ldl -lcrypt 
-lnsl  -lreso
lv -L/usr/local/lib -ljpeg
DLIBS:
SAPI:   cgi
PHP_RPATHS:  /usr/local/mysql/lib/mysql /usr/lib/pgsql
uname -a:   Linux www.actbaby.com 2.2.14C5 #1 Mon May 8 10:14:32 PDT 
2000 i586 u
nknown

gcc -o conftest -g -O2   -Wl,-rpath,/usr/local/mysql/lib/mysql 
-L/usr/local/mysq
l/lib/mysql -Wl,-rpath,/usr/lib/pgsql -L/usr/lib/pgsql conftest.c 
-lpq -lmysqlcl
ient -lpng -lz -lresolv -lm -ldl -lcrypt -lnsl  -lresolv 
-L/usr/local/lib -ljpeg
  1>&5
./conftest: error in loading shared libraries: libjpeg.so.62: cannot 
open shared
  object file: No such file or directory
[root@www php-4.0.4]# whereis libjpeg.so.62
libjpeg.so: /usr/local/lib/libjpeg.so.62 /usr/local/lib/libjpeg.so
[root@www php-4.0.4]#

So, other than /usr/local/lib/libjpeg.so.62 and in the jpeg-6b source 
tree, and inside lib in the jpeg-62 source tree and in the PHP-4.0.4 
directory, where *ELSE* could I place libjpeg.so.62 for configure to 
find it, and why can it find it okay in a static GD build, but not 
shared?

I'm assuming other people have compiled GD dynamically with JPEG 
support, but I'm failing miserably.

Cobalt RaQ, I compiled jpeg --enabled-shared, (though I think that's 
the default for libjpeg...) and have tried about 20 times to do this 
with variations on the various paths and suchlike...

I got close at one point -- I had a gd.so, but attempting to dl() it 
complained about the same missing jpeg lib, and I couldn't dl that, 
cuz it's not a PHP .so, just a regular one, and throwing it in the 
web directory next to gd.so didn't help...

I think the gd.so was actually not complaining about getimagefromjpeg 
not being defined, so it even had (I think) the JPEG functions in 
there...  But maybe I'm dreaming that part.

I'm trying to avoid making this one box of 7 have a different PHP 
module just to get GD support on there...
-- 
WARNING [EMAIL PROTECTED] email address is an endangered species
Use [EMAIL PROTECTED] instead

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-INST] Values in the php.ini

2001-08-03 Thread Richard Hensley

I've installed php on a win2k/iis5 machine using the isapi filter. I'm
having a problem with it recognizing my settings in the php.ini file. I've
placed the file in c:\winnt, but when I run a simple .php file that contains
a phpinfo() function call, the parameters shown do not contain the values I
put into the php.ini.

Does anybody know how to get php to recognize my php.ini?

Thanks,

Richard Hensley



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-INST] "Function registration failed" and "Module compiled with debug=0" errors

2001-11-13 Thread Richard Lynch

Trying to compile 4.0.6 from source on Mandrake 8.0 using:

./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--disable-debug \
--disable-debugger \
--enable-pic \
--enable-inline-optimization \
--prefix=/usr \
--with-zlib \
--with-config-file-path=/etc \
--enable-magic-quotes \
--enable-track-vars \
--with-versioning \
--enable-sysvsem \
--enable-sysvshm \
--enable-ftp \
--with-xml \
--with-gettext \
--with-jpeg-dir=/usr/src/jpeg-6b \
--with-png-dir=/usr/src/libpng-1.2.0 \
--with-gd \
--with-freetype-dir=/usr/src/freetype

Can anybody translate these into English or suggest a course of action...?
-- /usr/local/apache/logs/error_log ---
PHP Warning:  Function registration failed - duplicate name - imagearc in Unknown on 
line 0   
[similarly for every single imageXXX function]
PHP Warning:  Function registration failed - duplicate name - mysql_tablename in 
Unknown on line 0
[similarly for every single mysql_XXX function]
PHP Warning:  mysql:  Unable to register functions, unable to load in Unknown on line 0
PHP Warning:  pgsql: Unable to initialize module
[The following is repeated 5 times]
Module compiled with debug=0, thread-safety=0 module API=20001214
PHP compiled with debug=0, thread-safety=0 module API=20001222
These options need to match
 in Unknown on line 0
-

I don't even *WANT* MySQL or PostgreSQL in the darn thing, okay?  I understand MySQL 
snuck in with the built-in stuff, but how did pgsql get into the picture?!

I need the GD stuff though, pretty badly.

Searched the -install and -general archives with no luck...

-- 
Like Music?  http://l-i-e.com/artists.htm

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-INST] Sybase/MSSQL

2001-11-14 Thread Richard Lynch

Mandrake 8.0
PHP 4.0.6

I have tried both Sybase-ct and freetds.
(Current stable versions, whatever those numbers are)

With Sybase-ct, I can actually connect to my local ASE server and do "sp_help" and 
yield a reasonable response (both from isql and from PHP)

But attempting to connect to a remote MS SQLserver (in either isql or PHP) yields:

CT-LIBRARY error:
ct_connect(): network packet layer: internal net library error: Net-Library 
operation terminated due to disconnect

(Can anybody translate that error message into layman's terms?...)

I am reasonably certain I have the correct IP and port for db1 in interfaces, since I 
can telnet to those settings and get a response.  I'm not sure about the "ether" 
versus "eth0" setting, but neither one works...

Using the domain name rather than IP yields the same results.

db1
master tcp eth0 192.168.1.20 1433
query tcp eth0 192.168.1.20 1433
 
lynchux
master tcp ether windows11 4104
query tcp ether windows11 4104

Trying FreeTDS, I get an error from make about not finding -lsybtcl.  I can "fix" that 
by editing the Makefile by hand and adding /opt/sybase to the library path, since 
that's the only place I can find any libsybtcl.so file on the entire system, but that 
just makes Apache segfault...  And isql is not at all happy about trying to use the 
FreeTDS directory for its SYBASE setting...  Some error message about a missing 
directory...  Sorry, I got so frustrated at this point with FreeTDS, since Sybase at 
least let me talk to ASE that I gave up on FreeTDS.

Is FreeTDS supposed to make its own libsybtcl or what?

I used the FreeTDS configure line from the PHPBuilder article:
/configure --with-tdsver=4.2 --enable-msdblib --enable-dbmfix --with-gnu-ld 
--enable-shared --enable-static 
http://phpbuilder.com/columns/alberto2919.php3?page=3

I did not apply the patch because (A) I couldn't find it, and (B) it was for 4.0.2, so 
I was hoping 4.0.6 would already have had it applied...  But I followed all the other 
instructions in the article, almost for sure.  I'm not 100% certain it's SQL 7.0 
Service Pack 2 -- The MS dba just left.  They reassured me very early in this process 
that they were running the latest and greatest MS SQL Server, though.

Please help -- I'm at my wit's end to make PHP talk to SQL Server.  This should not be 
this tricky.

-- 
Like Music?  http://l-i-e.com/artists.htm

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-INST] PHP and Linux performance tweaks

2001-11-14 Thread Richard Lynch

Rasmus Lerdorf wrote:

>> I have read that one performance tweak for Linux is to mount the
>> filesystem with the "noatime" option (meaning the kernel does not update
>> the timestamp whenever files are accessed).
>>
>> The site relies highly on PHP sessions, and it seems to me that there
>> would be trouble with the /tmp/ session files if I configure Linux to
>> mount the filesystem with the "noatime" option. As I understand it, the
>> PHP session mechanism runs a "stat" operation every time it evaluates
>> whether to delete session files. This being the case, I guess the logical

> But yes, if you use the standard "files" save_handler on a filesystem that
> does not set the atime it will not work.  You can see that for yourself in
> the ext/session/mod_files.c file in the ps_files_cleanup_dir() function:
> 
> /* check whether its last access was more than maxlifet
> ago */ if (VCWD_STAT(buf, &sbuf) == 0 &&
> (now - sbuf.st_atime) > maxlifetime) {

Musings from a naive user who really doesn't know $#!^ about what he's 
saying :-)

Like, if you changed that to sbuf.st_mtime or whatever checks the 
*MODIFIED* time of the file, it would work more or less okay, no?...

I mean, assuming your application actually *CHANGES* session variables with 
some reasonable degree of frequency...

Then old files will get cleaned up when they haven't been *ALTERED* in a 
long time, rather than accessed, but that should work reasonably well for 
most cases, I should think...

Try this at your own risk...

> VCWD_UNLINK(buf);
> nrdels++;
> }
> 
> Of course, you could set the gc to 0 and do your own garbage collection on
> your session files by some other criteria.  Not quite sure how you would
> determine old and non-active sessions without an atime though.

-- 
Like music?  http://l-i-e.com/artists.htm


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-INST] Re: Sybase/MSSQL

2001-11-15 Thread Richard Lynch

Richard Lynch wrote:

> But attempting to connect to a remote MS SQLserver (in either isql or PHP)
> yields:
> 
> CT-LIBRARY error:
> ct_connect(): network packet layer: internal net library error:
> Net-Library operation terminated due to disconnect

G.  The dba had *NOT* installed service pack 2, as earlier reported...

So *this* is taken care of...

Alas, I'm now able to isql, but get a segfault from Apache:

http://bugs.php.net/?id=14074  

The *WEIRD* thing is that I now cannot even use PHP to talk to the ASE 
server, which I *DID* have working yesterday.  Sigh.

This all remains unanswered:

> Trying FreeTDS, I get an error from make about not finding -lsybtcl.  I
> can "fix" that by editing the Makefile by hand and adding /opt/sybase to
> the library path, since that's the only place I can find any libsybtcl.so
> file on the entire system, but that just makes Apache segfault...  And
> isql is not at all happy about trying to use the FreeTDS directory for its
> SYBASE setting...  Some error message about a missing directory...  Sorry,
> I got so frustrated at this point with FreeTDS, since Sybase at least let
> me talk to ASE that I gave up on FreeTDS.
> 
> Is FreeTDS supposed to make its own libsybtcl or what?
> 
> I used the FreeTDS configure line from the PHPBuilder article:
> /configure --with-tdsver=4.2 --enable-msdblib --enable-dbmfix
> --with-gnu-ld --enable-shared --enable-static
> http://phpbuilder.com/columns/alberto2919.php3?page=3
> 
> I did not apply the patch because (A) I couldn't find it, and (B) it was
> for 4.0.2, so I was hoping 4.0.6 would already have had it applied...  But
> I followed all the other instructions in the article, almost for sure. 
> I'm not 100% certain it's SQL 7.0 Service Pack 2 -- The MS dba just left. 
> They reassured me very early in this process that they were running the
> latest and greatest MS SQL Server, though.
> 
> Please help -- I'm at my wit's end to make PHP talk to SQL Server.  This
> should not be this tricky.

-- 
Like music?  http://l-i-e.com/artists.htm


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-INST] Mandrake + GD + PHP => httpd silent death

2001-10-10 Thread Richard Lynch

Mandrake 8.0
GD 2.0.mumble (4?)  Whatever was most recent last week when I downloaded...
PHP 4.0.6

./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--with-mysql=/usr/local/mysql \
--with-sybase-ct=/usr/local/freetds \
--with-mssql \
--with-gd \
--with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local \
--with-freetype-dir=/usr/local \
--with-zlib

Everything goes okay until I do:

apachectl start

It *SAYS* httpd was started, but it ain't there in ps aux | grep httpd

No error message.

Nothing in error_log

No core dump laying around.

Butt-kiss for information on what happened...

Works fine without the GD stuff...  Or at least, httpd starts and is 
running.  Didn't actually *DO* anything with it yet.

And I actually *need* the GD stuff this time.

Time is off the essence -- so a CC: to [EMAIL PROTECTED] and 
[EMAIL PROTECTED] would be much appreciated.
-- 
WARNING [EMAIL PROTECTED] email address is an endangered species
Use [EMAIL PROTECTED] instead

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-INST] Different virtual web sites using different PHP versions?

2001-12-20 Thread Richard Morris

Hello,

I was wondering if it is possible to use different versions of php with
different virtual web sites under IIS 5.0?  For example, maybe one web site
will run PHP 4.0.5 and another web site will run PHP 4.1.0.  If I install
each php version in its own directory and have the .php extension mapped on
the server to the appropriate version, I should be able to get the right
version to execute.  However, I am wondering about the configuration file.
Since the configuration file is generally stored in the windows directory,
how do you seperate out each PHP version's configuration file?

The reason that I ask is that I was told by someone that there is a problem
in the PHP 4.0.6 GD library that causes problems with using True Type Fonts
and something to do with the PNG alpha channel (or something like that).
So, they would like to use PHP 4.0.5 on their web site.  However, I would
like to give the other PHP sites the ability to use the most up to date
version (or even possibly their choice of what version to use).  What I
would like to know, can this be done without have the different versions
interfere with themselves?

Thank you.

Richard Morris
[EMAIL PROTECTED]




-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-INST] Cannot find imap library

2002-01-04 Thread Richard Brust

[2002-01-03 21:55:02] [EMAIL PROTECTED]

original configure script:
./configure --with-apxs=/etc/httpd/bin/apxs --enable-track-vars 
--enable-ftp --with-gd=../gd-1.8.4 --prefix=/etc/php --sysconfdir=/etc/php 
--with-imap=../imapServer

Note: ../imapServer is the dir where I gunzip'd the source files.

This script gives the error:
Cannot find rfc822.h. Please check your IMAP installation.

Then I do another configure where I specify the location of rfc822.h:
./configure --with-apxs=/etc/httpd/bin/apxs --enable-track-vars 
--enable-ftp --with-gd=../gd-1.8.4 --prefix=/etc/php --sysconfdir=/etc/php 
--with-imap=../imapServer/src

Now the error is:
Cannot find imap library. Please check your IMAP installation.

I have also downloaded the newest IMAP source from 
http://www.washington.edu/imap/, but the same error messages appear.

By the way, PHP, Apache, and the IMAP server were, and still are, working 
fine. It's just that I cannot recompile PHP with IMAP support.


Richard Brust
IT Manager
Technology Business Research
Hampton, NH. USA


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-INSTALL] Install on XP worked, then didn't

2007-05-11 Thread Richard C. Steffens
Yesterday I installed Apache 2.2.4 and php_5.2.2 on my laptop that runs
Windows xp Home Edition. I used the msi installer for each and I edited
httpd.conf to use:

DirectoryIndex index.php

When I finished, I was able to see the usual long list from an index.php
file in the htdocs directory containing only:



Since then I have rebooted the machine, and while Apache still works,
php no longer does. I ran the msi installer again and used the repair
feature, but nothing changed. I also confirmed that Apache works by
changing DirectoryIndex back to index.html. I assume it doesn't matter
that I changed DocumentRoot to:

"D:/LocalWebServer/htdocs"

Where do I start looking to solve this problem?

Thanks.

-- 
Regards,

Dick Steffens


[PHP-INSTALL] ./configure complaining about zlib dependency

2010-03-17 Thread Richard H Lee

php.install,

I'm trying to compile php 5.3.2 and I get an error about not having the 
right zlib version. I have zlib and zlib-devel installed at version 1.2.3 .


I get the error:

checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... no
checking for gzgets in -lz... no
configure: error: ZLIB extension requires zlib >= 1.0.9

The tail of the configure.log is:

configure:23803: checking for ZLIB support
configure:23850: checking if the location of ZLIB install directory is 
defined

configure:24296: checking for gzgets in -lz
configure:24315: gcc -o conftest -g -O2 -fvisibility=hidden 
-L/usr/local/lib -L/usr/kerberos/lib64 conftest.c -lz  -lpcre -lrt -lm 
-ldl -lnsl  -lxml2 -lz -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err 
-lssl -lcrypto -ldl -lz 1>&5
/usr/bin/ld: skipping incompatible /usr/lib/libcom_err.so when searching 
for -lcom_err
/usr/bin/ld: skipping incompatible /usr/lib/libcom_err.a when searching 
for -lcom_err

/usr/bin/ld: cannot find -lcom_err
collect2: ld returned 1 exit status
configure: failed program was:
#line 24304 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply.  */
char gzgets();

int main() {
gzgets()
; return 0; }


My configure command from phpinfo is:

./configure --build=x86_64-redhat-linux-gnu 
--host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu 
--program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin 
--sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share 
--includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec 
--localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man 
--infodir=/usr/share/info --cache-file=../config.cache 
--with-libdir=lib64 --with-config-file-path=/etc 
--with-config-file-scan-dir=/etc/php.d --disable-debug --with-pic 
--disable-rpath --without-pear --with-bz2 --with-curl 
--with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr 
--enable-gd-native-ttf --without-gdbm --with-gettext --with-gmp 
--with-iconv --with-jpeg-dir=/usr --with-openssl --with-png 
--with-pspell --with-expat-dir=/usr --with-pcre-regex=/usr --with-zlib 
--with-layout=GNU --enable-exif --enable-ftp --enable-magic-quotes 
--enable-sockets --enable-sysvsem --enable-sysvshm --enable-sysvmsg 
--enable-track-vars --enable-trans-sid --enable-yp --enable-wddx 
--with-kerberos --enable-ucd-snmp-hack --with-unixODBC=shared,/usr 
--enable-memory-limit --enable-shmop --enable-calendar --enable-dbx 
--enable-dio --with-mime-magic=/usr/share/file/magic.mime 
--without-sqlite --with-libxml-dir=/usr --with-xml --with-system-tzdata 
--with-apxs2=/usr/sbin/apxs --without-mysql --without-gd --without-odbc 
--disable-dom --disable-dba --without-unixODBC --disable-pdo 
--disable-xmlreader --disable-xmlwriter


I get the feeling this is the same issue as

http://bugs.php.net/bug.php?id=27357

but I don't understand the solution:

>The missing iconv library comes from libxml2 setup.
>Try this:
>
># xml2-config --libs

Also, I had to compile xml2-config just before configuring php and the 
configure script seemed to find xml2-config fine.



Rich


[PHP-INSTALL] Re: ./configure complaining about zlib dependency

2010-03-18 Thread Richard H Lee

All I needed to do was softlink the library


[PHP-INSTALL] Trouble finding gettext on SuSE AMD64

2004-03-23 Thread Richard Mixon (qwest)
Hello,

I am a relative PHP/Linux newbie and am trying to get PHP 4.3.3 to work on SuSE Linux 
Enterprise Server for AMD64 (AMD's Opteron
chip). But it seems that SuSE's enterprise servers are quite a bit back-level in many 
cases (in the nameof stability I think).

I am able to build PHP fine, until I try with the --with-gettext option. Then I get 
this error:
  configure: error: Unable to find required gettext library

I have looked through many forums and posts trying to find how to resolve this. A few 
threads
(http://isp-lists.isp-planet.com/isp-linux/0208/thrd9.html#05666), but no resolution 
or instructions on how to resolve. I do have
the gettext package installed.

Here is what my system says about gettext:
  # rpm -qa | egrep gettext
  perl-gettext-1.01-134
  gettext-0.11.5-111
  #

And looking at the configure scripts it appears to look for libintl.h, and I have that:
  # find / -name "libintl.h" -print
  /usr/include/libintl.h
  #

Any ideas or pointers on where I could ask? SuSE is so far unresponsive.

Thank you again - Richard Mixon


Re: [PHP-INSTALL] re: Getting apache to run the php page

2005-04-20 Thread richard ray harris
I'm having similar issues. (Newbie here.)  Running
program from my browser, titled test.php:


PHP Test


This is an HTML line




...the output is "This is an HTML line" and nothing
else.  I'm *reasonably* sure I have everything
configured to spec, but obviously there's some "DOH!"
mistake I've made along the way.  Help!  Been at this
all day.

--Richard


--- [EMAIL PROTECTED] wrote:
> Sounds right to me. Have you tried uploading a .php
> and opening it in your browser? Try this one:
> 
> phpinfo.php:
> 
>  phpinfo()
> ?>
> 
> -Original Message-
> From: Plantier, Spencer
> [mailto:[EMAIL PROTECTED]
> Posted At: Tuesday, April 19, 2005 12:40 PM
> Posted To: list_PHP_Config
> Conversation: Getting apache to run the php page
> Subject: [PHP-INSTALL] Getting apache to run the php
> page
> 
> 
> I have php installed but when I start hpptd and then
> https://localhost I
> just get the default apache page. What did I do
> wrong?
> 
> Thanks
> 
> Spencer Plantier
> System Network Administrator
>  
> 301 Gregson Dr
> Cary, NC  27511
> Office 919-379-8513
> Cell919-272-8833
> [EMAIL PROTECTED]
> 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


[PHP-INSTALL] readfile and get_file_contents don't work

2005-11-23 Thread Richard K. Miller
I compiled PHP from source on Fedora Core 4, but I must have left  
something out because readfile and get_file_contents aren't working.   
If I try to connect to a "http://"; address I get the error "failed to  
open stream: connection timed out" or "failed to open stream: HTTP  
request failed".  Any ideas why?


By the way, allow_url_fopen is enabled.

Richard


RE: [PHP-INST] Re: Newby -- Browser won't run php

2002-02-01 Thread Richard Hillström (GIS)

Hi, 
It should be 


Best Regards

Richard Hillström

-Original Message-
From: Mike Frazer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 9:49 PM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Re: Newby -- Browser won't run php


Are you looking for  rather than ?

Also, make absolutely certain you have the correct line in your httpd.conf.
It varies depending on whether you installed the dynamic or the static
module.  Check the INSTALL file for details.

Mike Frazer


"Dan Campbell" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Damn, this is hard. I'm running Linux 7.1, apache_1.3.19 , php-4.1.1.
> Everything seems to have been installed fine, without a hitch, but I still
> can't get my browser to recognise a php page called phpinfo.php with the
> following script  like it should.
> all the configure , make , and make files directives seemed to work fine.
> it's been a week I've been working on this, a real nightmare. I got it
> running once a while back, it seemed so much easier somehow, but now it's
> like impossible with PHP4 .
>
>
>
>
>



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-INST] PHP 4.0.6 with Oracle9 on Linux/VM

2002-02-01 Thread Richard Hillström (GIS)

Hi, 

Am tryin to compile PHP to support Oracle9, but it continues to crash with the 
following debug.log.

PHP 4.0.6 is patched to recognise Oracle9, and I have set $ORACLE_HOME and added 
$ORACLE_HOME/lib to $LD_LIBRARY_PATH.

I have put $ORACLE_HOME/lib in ld.so.conf and run ldconfig.

This is really holding me back, if any of you know what can be done to fix this, 
please help.

debug.log:

CONFIGURE:   './configure' '--with-apxs=/opt/pgm/apache/1.3.22/bin/apxs' 
'--with-oci8=/opt/oracle/9.0.1'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS:-DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_UTF8
CXX:
CXXFLAGS:
INCLUDES:-I/opt/pgm/apache/1.3.22/include  -I$(top_builddir)/Zend 
-I/opt/local/src/isuf/1.2/php4/php-4.0.6/ext/mysql/libmysql 
-I/opt/oracle/9.0.1/rdbms/public -I/opt/oracle/9.0.1/rdbms/demo 
-I/opt/oracle/9.0.1/network/public -I/opt/oracle/9.0.1/plsql/public
LDFLAGS: -Wl,-rpath,/opt/oracle/9.0.1/lib -L/opt/oracle/9.0.1/lib
LIBS:   -lm -ldl -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lclntsh
DLIBS:
SAPI:   apache
PHP_RPATHS:  /opt/oracle/9.0.1/lib
uname -a:   Linux vmlinux29 2.4.7-SuSE-SMP #1 SMP Wed Oct 17 15:31:03 GMT 2001 s390 
unknown

gcc -o conftest -g -O2  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_UTF8  
-Wl,-rpath,/opt/oracle/9.0.1/lib -L/opt/oracle/9.0.1/lib conftest.c -lm -ldl -lcrypt 
-lresolv -lm -ldl -lnsl  -lresolv -lclntsh 1>&5
/usr/s390-suse-linux/bin/ld: cannot find -lclntsh
collect2: ld returned 1 exit status


Best regards

Richard Hillström


--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-INST] Default files permissions

2002-02-05 Thread Richard Hillström (GIS)

Hi,

A possible solution, have not had the problem myself:
If you are running linux/unix, then it is probably your nobody user, or whatever user 
you have for running apache, that is writing the file. That user has an umask that 
needs to be changed to e.g. 022. The umask sets the default permissions on new files 
created by that user. See /etc/profile or the users .profile or .cshrc.

Good luck

Richard 


-Original Message-
From: Marc Mendez [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 05, 2002 9:48 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Default files permissions


Hi,

I have an Apache server running with Suse 7.0
One of our customer wrote a php file that writes a file on the disk server.
The trouble is that the file permissions are read/write/execute for
everybody !!

How can I prevent PHP from setting any file permissions ??

Thanks !



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-INST] Solaris PHP binary

2003-02-26 Thread Richard S. Huntrods
Does know of a Solaris 8 binary for PHP? Due to restrictions on the
server I use, I can convince the SysAdmin to install PHP, but not to
build it.
Thanks in advance,

-Richard



--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP-INST] PHP compile with binary

2001-12-28 Thread Richard Hillström (GIS)

Leave out --with-apxs

Regards
Richard Hillström

-Original Message-
From: Kevin [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 28, 2001 11:10 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] PHP compile with binary


How can i compile PHP with a binary executable so i can run PHP scripts from
my shell? and also from the web.
I"m currnetly compiling with the following command

 './configure' '--with-apxs=/home/httpd/bin/apxs' '--enable-ftp'
'--with-mysql=/usr/local/mysql' '--with-exec-dir'
'--with-config-file-path=/home/httpd/conf' '--with-gd'
'--enable-discard-path'

i've tried many ways. but couldn't get it to make a php binary in
/usr/local/bin/php (defulat location) that allows me to run a PHP script in
my shell.. Hope someoen can help me

Kevin



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]