Thank you!

2003-08-19 Thread martin
See the attached file for details<>


[PHP-INST] mysql_db_query is deprecated

2002-03-16 Thread Martin

Warning: mysql_db_query is deprecated; use mysql_select_db() and
mysql_query() instead in i:\apache\htdocs\phoenix\online.php on line 18

What is thisWhy is the server responding
in this way!!!?

--
Martin Eriksson
webdesigner & Utvecklare

[EMAIL PROTECTED]
http://www.svensk-design.com



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




[PHP-INST] session trouble

2002-03-18 Thread Martin

Hmm I have registred the Session $Namn
by the following snippet:

<< File1 >>


And when I goes to:
<< File2 >>


Nothings happening...
My Session in php.ini looks like this:


[Session]
; Handler used to store/retrieve data.
session.save_handler = files

; Argument passed to save_handler.  In the case of files, this is the path
; where data files are stored. Note: Windows users have to change this
; variable in order to use PHP's session functions.
session.save_path = /tmp

; Whether to use cookies.
session.use_cookies = 1


; Name of the session (used as cookie name).
session.name = PHPSESSID

; Initialize session on request startup.
session.auto_start = 0

; Lifetime in seconds of cookie or, if 0, until browser is restarted.
session.cookie_lifetime = 0

; The path for which the cookie is valid.
session.cookie_path = /

; The domain for which the cookie is valid.
session.cookie_domain =

; Handler used to serialize data.  php is the standard serializer of PHP.
session.serialize_handler = php

; Percentual probability that the 'garbage collection' process is started
; on every session initialization.
session.gc_probability = 1

; After this number of seconds, stored data will be seen as 'garbage' and
; cleaned up by the garbage collection process.
session.gc_maxlifetime = 1440

; Check HTTP Referer to invalidate externally stored URLs containing ids.
session.referer_check =

; How many bytes to read from the file.
session.entropy_length = 0

; Specified here to create the session id.
session.entropy_file =

;session.entropy_length = 16

;session.entropy_file = /dev/urandom

; Set to {nocache,private,public} to determine HTTP caching aspects.
session.cache_limiter = nocache

; Document expires after n minutes.
session.cache_expire = 180

; use transient sid support if enabled by compiling with --enable-trans-sid.
session.use_trans_sid = 1

url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"




The tmp map is also set and the session is created...but the browser cant
reach it
please help me!!
best regards
--
Martin Eriksson
webdesigner & Utvecklare
----
[EMAIL PROTECTED]
http://www.svensk-design.com

--
Martin Eriksson
webdesigner & Utvecklare

[EMAIL PROTECTED]
http://www.svensk-design.com



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




[PHP-INST] Perl with apache on win 2000 server

2002-03-24 Thread Martin

How do I install this and what do i put in
the http.conf...?
Anyone who knows this...
Where can i download a workable Perl ?

--
Martin Eriksson
webdesigner & Utvecklare

[EMAIL PROTECTED]
http://www.svensk-design.com



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




[PHP-INST] PHP as a CGI with RH8

2003-01-08 Thread Martin
Hi.

Have anyone succeeded with setting up PHP as a CGI with RedHat8.0?

Best regards / Martin


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




[PHP-INST] lex?

2001-10-24 Thread Martin

First time I've stumbled across this error on trying to compile PHP:

checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: lex: command not found
configure: error: cannot find output from lex; giving up
[root@hauntedhousesw php-4.0.6]#

Hmm, what is lex? And why would I need it - or rather why don't I. What 
package is missing?

Martin S

-- 
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] Upgrade to 5.21 from 5.14 - mysql support missing

2007-02-26 Thread Martin Corona

I just upgraded using the same configure line from 5.14

'./configure' '--with-apxs2=/usr/sbin/apxs' '--enable-track-vars'
'--enable-sockets' '--with-config-file-path=/etc' '--enable-ftp'
'--with-zlib' '--with-openssl=/usr' '--enable-exif' '--with-pic'
'--with-layout=GNU' '--enable-calendar' '--enable-sysvsem'
'--enable-sysvshm' '--enable-sysvmsg' '--enable-trans-sid'
'--enable-bcmath' '--with-bz2' '--enable-ctype' '--with-iconv'
'--with-gettext' '--enable-mbstring' '--enable-shmop' '--enable-wddx'
'--with-xmlrpc' '--with-zlib' '--without-pgsql' '--enable-dbx'
'--without-mm' '--enable-gd-native-ttf' '--with-imap-ssl'
'--enable-soap' '--with-jpeg-dir=/usr/lib' '--with-ldap=/usr'
'--with-gd=/usr' '--with-freetype-dir=/usr/include'
'--enable-magic-quotes' '--with-mysql=shared' '--with-mysqli=shared'
'--with-pdo-mysql=shared' '--with-pear=/usr/local/apache/pear'

This worked in 5.14 with no problems.

In 5.21, info.php is missing both mysql and mysqli sections.

I guess my configure line no longer works yet configure runs with no
errors and it compiles with no errors.

mysql version running

mysql-4.1.20-1.FC4.1
mysql-devel-4.1.20-1.FC4.1
mysql-server-4.1.20-1.FC4.1
mysqlclient10-3.23.58-6


Any ideas?


Re: [PHP-INSTALL] PHP - IIS7 Issues

2007-06-12 Thread Martin Corona

It seems a lot of people using IIS are the folks running into the most problems.
I am an apache user mainly on Linux.  For Windows I suggest you
disable IIS and go with a XAMP distro

http://www.apachefriends.org/en/xampp-windows.html
Not only do you get php and mysql but there are ad ons for perl and tomcat.

Why waste your time on install issues when all you want to do is code?



On 6/12/07, Bob Haefele <[EMAIL PROTECTED]> wrote:

I have installed IIS7 and PHP on my new Vista Laptop and had PHP working
just fine.  I started my computer up today and PHP is not working? The only
thing I can think of that changed is that I develop multiple websites and
change the Physical Path to the default website when I switch sites.  I did
switch site this morning but I do not know if it was working before that.  I
switch back to the site that was working yesterday and that site is not
working anymore either.  It isn't giving me any error like it did before I
got it working.  It is just stoping when it gets to any PHP code in my page.
I look at the page source and the HTML is being served right up to the first
bit of PHP code, not error that I see.

Any ideas?


Thanks,
Bob



[PHP-INSTALL] Re: [PHP] MySQL connector installation/upgrade problems

2007-10-23 Thread Martin Marques

David Zentgraf escribió:

Hi,

I'm trying to upgrade a server running CentOS 3 to an up-to-date MySQL 5 
installation + PHP4. I installed the MySQL 5 package, server and client, 
via RPMs and they work fine, the client tells me it's version 5.0.45. I 
went on to recompile PHP 4.4.7 --with-mysql, but it's still using MySQL 
client libraries version 3.23.58. I'm kind of at a loss where it takes 
these versions from or how I can get it to use the newer libraries.


Any hints would be greatly appreciated.


Wouldn't it be easier to upgrade to CentOS 5?


[PHP-INSTALL] cross-compile php with dynamic library support enabled

2010-11-15 Thread martin mangard
86 linker
(i486-angstrom-linux-ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes

Generating files
configure: creating ./config.status
creating main/internal_functions.c
creating main/internal_functions_cli.c
++
| License:   |
| This software is subject to the PHP License, available in this |
| distribution in the file LICENSE.  By continuing this installation |
| process, you are bound by the terms of this license agreement. |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point.|
++

Thank you for using PHP.

config.status: creating php5.spec
config.status: creating main/build-defs.h
config.status: creating scripts/phpize
config.status: creating scripts/man1/phpize.1
config.status: creating scripts/php-config
config.status: creating scripts/man1/php-config.1
config.status: creating sapi/cli/php.1
config.status: creating main/php_config.h
config.status: executing libtool commands
config.status: executing default commands


thanks for your help

Martin


[PHP-INST] Newbie question: Version conflict - PHP vs. MySQL

2003-03-28 Thread Martin Schalck
hi all,

i was wondering; is it true that when using php with mysql one have to use
an old version
of mysql ? if  it is true then why is that ? can you guide to some links
where i can read about it

best regards
martin



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



Re: [PHP-INST] move_uploaded_file > 1MB

2003-06-04 Thread Martin Östlund
Hello Mauricio.

Could it be that simple that you have an slow Internet connection and
it times out? I think you can increase the time-to-live (ttl) setting
in your httpd.conf (if you're using Apache).

Just a guess.

Cheers, Martin Östlund

On Tue, 3 Jun 2003, Maurício Valente wrote:

> Hello everybody!
>
> I'm trying to upload a file using the move_uploaded_file function, everyting
> works fine when the files have less than 1MB but when I upload one more than
> this, IE returns the error The page cannot be displayed and in it's title
> shows Cannot find server. I alreary edit php.ini setting UPLOAD_MAX_FILESIZE
> to 8388608 (8M), post_max_size = 8388608 and file_uploads = On (memory_limit
> is 8388608 too).
>
> Someone could help me?
>
> Thanks in advance!
>
> Maurício Valente
>
>
>
> --
> 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] move_uploaded_file > 1MB

2003-06-04 Thread Martin Östlund
 Hello Mauricio.

 Could it be that simple that you have an slow Internet connection and
 it times out? I think you can increase the time-to-live (ttl) setting
 in your httpd.conf (if you're using Apache).

 Just a guess.

 Cheers, Martin Östlund

> On Tue, 3 Jun 2003, Maurício Valente wrote:
>
> > Hello everybody!
> >
> > I'm trying to upload a file using the move_uploaded_file function, everyting
> > works fine when the files have less than 1MB but when I upload one more than
> > this, IE returns the error The page cannot be displayed and in it's title
> > shows Cannot find server. I alreary edit php.ini setting UPLOAD_MAX_FILESIZE
> > to 8388608 (8M), post_max_size = 8388608 and file_uploads = On (memory_limit
> > is 8388608 too).
> >
> > Someone could help me?
> >
> > Thanks in advance!
> >
> > Maurício Valente
> >
> >
> >
> > --
> > 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] Problems configuring php 4.3.2 with imap support

2003-06-19 Thread Martin Östlund
Hi list.

I'm having problems configuring PHP 4.3.2 on Red Hat 9.0
vanilla installation with imap-2001a-18 and imap-devel-2001a-18.

I first tried:
./configure --with-imap --with-apxs=/www/bin/apxs

And it then said:
configure: error: This c-client library is built with Kerberos support.
  Add --with-kerberos to your configure line. Check config.log for details.

So I added --with-kerberos to my ./configure line as it said, and then it
gives me:

checking whether SSL libraries are needed for c-client... no
checking whether IMAP works... no
configure: error: build test failed. Please check the config.log for
details.

and this is some of the text config.log has:

configure:36336: gcc -o conftest -g -O2   -Wl,-rpath,/usr/kerberos/lib
-L/usr/kerberos/lib conftest.c -lc-client   -lcrypt -lpam -lresolv -lm
-ldl -lnsl  -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err 1>&5

/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libc-client.a(osdep.o)(.text+0xa4d7):
In function `ssl_onceonlyinit':
: the use of `tmpnam' is dangerous, better use `mkstemp'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libc-client.a(osdep.o)(.text+0xa4c7):
In function `ssl_onceonlyinit':
: undefined reference to `SSL_library_init'

and alot more of similar lines...


How can I fix this problem, I really need to get imap support to work with
my PHP.

Cheers. Martin


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



Re: [PHP-INSTALL] file with extension tar.gz

2003-09-15 Thread Martin Östlund
Hello.

This is usally the PHP source code for Unixsystems, and is extracted
with the tar command. If you're looking for Windows releases, this is not
what you want to download.

-Martin

On Tue, 16 Sep 2003, SAGERAT wrote:

> Some files to be downloaded have extension tar.gz.
> Is this for Windows?
> How do I extract these files?
>


Re: [PHP-INSTALL] template problems

2003-09-17 Thread Martin Östlund
hi.

Could it be that on your rented server, register globals is set to On, and
on your local its set to off, and the code doesnt have a $page =
$_GET['page'] statement?


just my 2 cents..
-martin

On Wed, 17 Sep 2003, Simon wrote:

> hi,
>
> I've got this problem when using templates on my localhost. The code works
> on my web server which i rent so the code is fine. I have ran php code for
> mysql functions and other for testing purposes.
>
> Below is the code i used in index.php.
>
> INDEX.PHP
>
> 
> switch ($page)
>
> {
> default : include "error.txt";
> break;
> case "screenshots" : include "news.txt";
> break;
>
> }
>
>
>
>
> ?>
>
>
> When i type say www.myrentedwebsite.com/index.php?page=main it will display the page 
> main.txt
>
> When i try this on my localhost it displays the error.txt file instead. It doesn't 
> recognize the index.php?>?PAGE=MAIN i think !.
>
> Could anybody help me with this problem because i wanted the localhost for testing 
> purposes.
>
> thank you in advance
>


[PHP-INSTALL] PHP 4.3.3, use system regex with apache2

2003-11-02 Thread Ed Martin
hi everyone, not sure if this is the right e-mail, but here goes

i'm trying to build php so it uses the system regex library and not the 
the bundled one, and i have apache 2 and am using slackware 9.0

so far i have tried this configure command, but it doesn't work

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql 
--with-bz2 --with-gd --enable-ftp --with-mysql-sock --with-ttf 
--with-freetype-dir --with-t1lib --enable-calendar 
--with-jpeg-dir=/usr/local/lib --with-png-dir=/usr/local/lib 
--with-zlib-dir=/usr/local/lib --with-regex=system

i heard that it the apsx thing overrides the regex command so i then 
this

./configure --with-mysql --with-bz2 --with-gd --enable-ftp 
--with-mysql-sock --with-ttf --with-freetype-dir --with-t1lib 
--enable-calendar --with-jpeg-dir=/usr/local/lib 
--with-png-dir=/usr/local/lib --with-zlib-dir=/usr/local/lib 
--with-regex=system

still no go, so i looked at the install directions and configure's help 
and it seems that for apache1 i should use --with-apache[=DIR], but i 
see no such flag for apache2

so how do i get this done, i'm trying to get the mapserver to work, and 
it won't even configure until php uses the system regex instead of the 
bundled one


[PHP-INSTALL] PHP CGI and Apache 2 "No input file specified."?

2003-11-13 Thread Ed Martin
i am trying to get the cgi version of php 4.3.4 to work and all i am 
getting is "No input file specified. " i have tried changing every 
config thing in the php.ini file that relates to cgi and i have tried 
changing some of the stuff in the apache config file but absolutely 
works, so far after hours of work all i have gotten to work is 
/cgi-bin/php/path/to/file after i took --enable-force-cgi-redirect out 
of the configure command

the configure command i am using is:
./configure -with-mysql --with-bz2 --with-gd --enable-ftp 
--with-mysql-sock --with-ttf --with-freetype-dir --with-t1lib 
--enable-calendar --with-jpeg-dir=/usr/local/lib 
--with-png-dir=/usr/local/lib --with-zlib-dir=/usr/local/lib 
--with-regex=system --enable-dbase --enable-dbx --enable-versioning

the apache config stuff i have is:
AddHandler php-cgi .phtml
Action  php-cgi "/cgi-bin/php"
i have tried using AddType too and that doesn't work

i have also changed apache to use /cgi-bin/test-cgi (comes with apache) 
and it displays the path to the file correctly so i know php is getting 
the right path to the file

oh, i'm using Apache 2.0.48, PHP 4.3.4, Slackware 9

so dose anyone here have any clue as to how to get this to work? i am 
desperate and CGI is the only way to go because it is impossible to use 
php as a module with apache 2 and use the system regex witch i need

Thanks in advanced


[PHP-INSTALL] libmcrypt and php

2003-11-16 Thread Martin Leduc



Good morning,
 
I tried to compile php with libmcrypt 
2.5.7.
 
First, on the php web site documentation, it's 
wrtten taht we have to compile libmcrypt using --diable-posix-threads.  If 
I look at ./configure --help of libmcrypt, this option ino longer 
avaliable.
 
After, when I compile PHP, I always got the message 
at the make execution.
 
/usr/bin/ld: cannot find -lltdlcollect2: ld 
returned 1 exit statusmake: *** [libphp4.la] Erreur 1
This is my configure options:
 
./configure  --with-xml --with-pcre 
--with-pear --with-ftp --with-curl --with-openssl=/usr/local/ssl 
--with-config-file-path=/etc --enable-sockets 
--with-apxs2=/usr/local/apache-2.0.48/bin/apxs --with-mysql 
--with-mcrypt
If I remove --with-mcrypt, all is Ok!
 
Did someone can help me?
 
Thanks
 
Martin


[PHP-INSTALL] APACHE+MYSQL+PHP4.3.3?

2003-11-18 Thread Martin Broll
Hi there!
I am new to this topic an I have a problem with installing my
lamp environment.

I don't know where to start!

I need to install apache 1.3.x with an MySQL DB and PHP but I
need a PHP installation with LDAP.

I am using SuSE Linux 9.0 Professional as OS. Now my question:
Is it possible to use the apache and mysql RPM's from my distribution
an compile the php seperatly (or do I have to compile everything)?

Or does anyone know if the ldap-support is allready
integratet in the RPM from my SuSE distribution???

Thanks a lot
bye

Martin Broll


[PHP-INSTALL] Install PHP as CGI with Apache

2003-11-20 Thread Ed Martin
i am trying to install php as a cgi for apache (i need system regex so 
it has to be cgi) and i just keep on getting "No Input File Specified"

i have added
	AddHandler application/x-httpd-php .phtml
	Action  application/x-httpd-php "/cgi-bin/php"
to my httpd.conf file and i have tried changing all of these in my 
php.ini file, none of witch helped, i tested just about anything that 
remotely made sense and every combination of them
	doc_root
	cgi.force_redirect
	cgi.fix_pathinfo
 here is my configure command

./configure -with-mysql --with-bz2 --with-gd --enable-ftp 
--with-mysql-sock --with-ttf --with-freetype-dir --with-t1lib 
--enable-calendar --with-jpeg-dir=/usr/local/lib 
--with-png-dir=/usr/local/lib --with-zlib-dir=/usr/local/lib 
--with-regex=system --enable-dbase --enable-dbx --enable-versioning 
--enable-force-cgi-redirect

i have tried removing --enable-force-cgi-redirect but that only allowed 
it to work when i got the page with 
http://mysite.com/cgi-bin/php/path/to/file.phtml witch is no good

i'm using .phtml so i can have some files (.php) use the apache module 
witch works fine (it is faster right)  and the .phtml files use the cgi 
version so they can use the system regex library, disabling the module 
didn't help

i am using php4.3.4 and have tried it  with apache 2.0.48 and apache 
1.3.29, both gave me the exact same result, i am running this on linux

so does anyone have any clues as to what is causing this and how i can 
get it to work, i have been working at this for days now and it is 
still not working

Thanks in Advanced!


Re: [PHP-INSTALL] Problem when ruuning ./configure

2004-01-22 Thread Martin Östlund
Hello.

You need to have flex installed.

-martin

On Thu, 22 Jan 2004, Lillian wrote:

> I have installed Apache1.3.29 on my linux pc, and when I try to install
> php4.3.4, I got the following error when try to run ./configure , how do I
> fix it?
>
> Regards,
> Lillian
>
> [EMAIL PROTECTED] php-4.3.4]# ./configure
> loading cache ./config.cache
> checking host system type... i686-pc-linux-gnu
> checking for gcc... gcc
> checking whether the C compiler (gcc  ) works... yes
> checking whether the C compiler (gcc  ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking whether gcc and cc understand -c and -o together... yes
> checking how to run the C preprocessor... gcc -E
> checking for AIX... no
> checking if compiler supports -R... no
> checking if compiler supports -Wl,-rpath,... yes
> checking for re2c... exit 0;
> checking for ranlib... ranlib
> checking whether ln -s works... yes
> checking for gawk... gawk
> checking for bison... no
> checking for byacc... no
> configure: warning: You will need bison if you want to regenerate the PHP
> parsers.
> checking for flex... lex
> checking for yywrap in -ll... no
> checking lex output file root... ./configure: line 2425: lex: command not
> found
> configure: error: cannot find output from lex; giving up
>


[PHP-INSTALL] Install php5b4 on apache 2.0.48

2004-03-06 Thread Martin Bos
Hi,
I just installed (i think) php on my apache2 webserver.
I added to http.conf:

# PHP 5 beta 4
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php

And put php.ini in c:\program files\\apache2 with:
extension_dir = "c:\php\ext"

When I try the following html:

   
   Examples
   
   
   
   


And open http://localhost

I see the title: "Examples"
but no message with " Hi, I'am a PHP script!".

What could be wrong?

Martin


[PHP-INSTALL] Re: Install php5b4 on apache 2.0.48

2004-03-06 Thread Martin Bos
Hi guys.

I was mistaken.
I renamed my index.html to index.php and all works now.

I now start my first php tutorial

Martin


"Martin Bos" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
> I just installed (i think) php on my apache2 webserver.
> I added to http.conf:
>
> # PHP 5 beta 4
> LoadModule php5_module "c:/php/php5apache2.dll"
> AddType application/x-httpd-php .php
>
> And put php.ini in c:\program files\\apache2 with:
> extension_dir = "c:\php\ext"
>
> When I try the following html:
> 
>
>Examples
>
>
>echo ("Hi, I'm a PHP script!");
>?>
>
> 
>
> And open http://localhost
>
> I see the title: "Examples"
> but no message with " Hi, I'am a PHP script!".
>
> What could be wrong?
>
> Martin


[PHP-INSTALL] debug.log

2004-03-09 Thread Martin Schobesberger
i tried to configure php, but it doesnt work

there is the script, include the options for configuring, and the debug.log

wbr

martin

#!/bin/sh
# shellskript zum compilieren von php mit fdf-toolkit
#
./configure --with-fdftk=/usr/local --prefix=/usr/share --datadir=/usr/share/php --bindir=/usr/bin --libdir=/usr/share --includedir=/usr/include --sysconfdir=/etc --with-_lib=lib --with-config-file-path=/etc --with-exec-dir=/usr/lib/php/bin --disable-debug --enable-bcmath --enable-calendar --enable-ctype --enable-dbase --enable-discard-path --enable-exif --enable-filepro --enable-force-cgi-redirect --enable-ftp --enable-gd-imgstrttf --enable-gd-native-ttf --enable-inline-optimization --enable-magic-quotes --enable-mbstr-enc-trans --enable-mbstring --enable-mbregex --enable-memory-limit --enable-safe-mode --enable-shmop --enable-sigchild --enable-sysvsem --enable-sysvshm --enable-track-vars --enable-trans-sid --enable-versioning --enable-wddx --enable-yp --with-bz2 --with-dom=/usr/include/libxml2 --with-ftp --with-gdbm --with-gettext --with-gmp --with-imap=yes --with-iodbc --with-jpeg-dir=/usr --with-ldap=yes --with-mcal=/usr --with-mcrypt --with-mhash --with-mysql=/usr --with-ndbm --with-pgsql=/usr --with-png-dir=/usr --with-readline --with-snmp --with-t1lib --with-tiff-dir=/usr --with-ttf --with-freetype-dir=yes --with-xml --with-xpm-dir=/usr/X11R6 --with-zlib=yes --with-qtdom=/usr/lib/qt3 --with-gd --with-openssl --with-curl --with-swf=/usr/src/packages/BUILD/swf/dist/ --with-imap-ssl --enable-xslt --with-xslt-sablot --with-iconv --with-mm --with-apxs=/usr/sbin/apxs i586-suse-linux


debug.log
Description: Binary data


[PHP-INSTALL] Re: [PHP-DB] Informix and PHP

2004-05-22 Thread Martin Marques
El Vie 21 May 2004 14:48, D. Sandmann escribió:
> Any help would be appreciated on this. I have already asked this question
> on the regular PHP and Informix news groups and have not had any luck.
> Maybe one of you can resolve my problem.
>
> I have had this problem in the past on another machine and fixed it by
> setting the environment variables for INFORMIXDIR and INFORMIXSERVER. When
> adding the same lines on the new machine I still get the following message:
>
>  Warning: ifx_pconnect(): E [SQLSTATE=IX 001 SQLCODE=-1829] in
> C:\webroot\PHPinclude\db_vars.inc on line 7

Maybe it's becuase Informix has some problems. I don't know how it works on 
windows, but on UNIX I would run:

$ finderr -1829

That would give me a discription of the error that Informix gave Apache.

Try it.

-- 
 09:20:02 up 7 days, 19:31,  1 user,  load average: 0.60, 0.49, 0.37
-
Martín Marqués| select 'mmarques' || '@' || 'unl.edu.ar'
Centro de Telematica  |  DBA, Programador, Administrador
 Universidad Nacional
  del Litoral
-


[PHP-INSTALL] PHP5 Gd Library error compiling

2004-08-22 Thread Martin Visser
ter_smooth':
/usr/local/php5/ext/gd/gd.c:4161: undefined reference to `gdImageSmooth'
ext/gd/gd.lo(.text+0xf231): In function `zif_imageantialias':
/usr/local/php5/ext/gd/gd.c:4216: undefined reference to `gdImageAntialias'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
I tried to compile PHP with only --with-gd (without --with-jpeg-dir etc) and than I 
get an error:
Fatal error: Call to undefined function imagecreatefromjpeg()
does anyone know how to solve this problem?
Martin


[PHP-INSTALL] Gettext and libintl-1.dll

2004-08-25 Thread Don Martin
We are trying to install and test a PHP application, knowledgeTree, that
uses gettext.  Instructions to implemet gettext require that libintl-1.dll
should be installed in the %SYSTEMDIR%.

We have looked everywhere for libintl-1.dll and not found it.   Our search
started at the gnu site.

Can anyone help us obtain this .dll

Thanks in advance

Don Martin
[EMAIL PROTECTED]


[PHP-INSTALL] ID3 Tags

2004-10-11 Thread Martin Leduc



Good 
afternoon,
 
I try to 
compile the ID3 extensions for PHP.  If I follow the instructions on the 
PHP website, they tell us to download the sources code at PECL, copy files into 
src/ext/id3, compile php using --enable-id3.
 
The id3 folder 
contains this files:
 
CREDITS  

EXPERIMENTAL  

TODO  

config.m4  

config.w32  

examples/  

id3.c  

id3.dsp  

php_id3.h
 
This doesn't 
work!
 
There is my 
./configure
 
./configure  
--with-curl --with-openssl --with-mysql --with-config-file-path=/etc 
--enable-sockets --with-apxs2=/usr/local/apache-2.0.52/bin/apxs --with-xml 
--with-pcre --with-pear --with-mcrypt --enable-ftp --with-gettext=/usr 
--with-zlib=/usr --enable-calendar --enable-ftp --with-iconv --with-gd 
--with-jpeg-dir --with-png --with-gmp --with-mm --enable-id3
 
I found the 
id3-0.2.tgz packages at:
 
http://pecl.php.net/package/id3/0.2
 
I found on the 
internet this other solutions:
 
1- Download the pecl 
package.tgz
2- Execute pear 
install package.tgz
3- Recompile 
PHP.
 
Doesn't 
work.
 
Did someone can help 
me?
 
I can easly write a 
ID3 tools in php ;), and many source code to do that are avaliable on the 
Internet. But I want to understand what I do incorrectly, to add alternate 
package to PHP.
 
Thank 
you
 
Martin


RE: [PHP-INSTALL] PHP version recognizing

2005-07-24 Thread Martin McGinn
I believe you can run both from the same instance of apache provided
that each pahe has a different extension e.g. *.php for existing php 4
and then php5 for new php.

Martin 

-Original Message-
From: Brad Kowalczyk [mailto:[EMAIL PROTECTED] 
Sent: Saturday, July 23, 2005 4:32 PM
To: thotakura ravi chandu
Cc: php-install@lists.php.net
Subject: Re: [PHP-INSTALL] PHP version recognizing

thotakura ravi chandu wrote:
> Hi,
> I we have linux server at our work place and apache and php4.x is
> installed in that. Now I need to install PHP5 and I should make both
> the versions of PHP available to programers. How can I do that.
> Please help.
> regards
> Ravi
> 
  as far as I know you will need to run 2 instances of apache listening 
on different ports, one for each php version.

e.g.
http://localhost:80 (php4)
http://localhost:8080 (php5)


-- 
Brad Kowalczyk
Web Developer
www.ibiscode.com


[PHP-INST] File Uploads Security Fix 3.0.18

2002-03-04 Thread Martin Spann

Hello,

I am using the Source Code distribution of PHP 3.0.18 and, unfortunately, I
have no clue how to use the File Uploads Security Fix for PHP 3.0. Could
anyone please tell me how to use/install this patch?

Many thanks,
Martin Spann


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




[PHP-INST] compiling PHP 4.2 with MySQL support

2002-05-15 Thread Martin Tsachev

I compiled PHP 4.2 with MySQL support but it can't connect to the database, it
was working OK with PHP 4.1.2. I then tried to use the full path to the MySQL
client( if for some reason the packed client is outdated?) but it didn't work
neither. When I build PHP 4.1.2 again it worked.

The problem arises when connecting to the database - I thought it may be a
problem with PEAR::DB but the native MySQL connect() doesn't work.

I couldn't find any information on that nor in the PHP manual nor in mailing
archives, can you please help?


---
Martin Tsachev
Web developer, MetaVisia

http://members.evolt.org/shaggy/
[EMAIL PROTECTED]



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




[PHP-INST] problems with MySQL connection PHP 4.2.0

2002-05-17 Thread Martin Tsachev


/configure --with-mysql --with-apache=../apache_1.3.24/ --enable-trans-sid
--enable-track-vars --enable-cli

MySQL server 3.23.49
OS Linux Slackware 8.0

I compiled PHP 4.2 with MySQL support but it can't connect to the database, it
was working OK with PHP 4.1.2. I then tried to use the full path to the MySQL
client( if for some reason the packed client is outdated?) but it didn't work
neither. When I build PHP 4.1.2 again it worked.

The problem arises when connecting to the database - I thought it may be a
problem with PEAR::DB but the native MySQL connect() doesn't work.

I couldn't find any information on that nor in the PHP manual nor in mailing
archives, can you please help?




---
Martin Tsachev
Web developer, MetaVisia

http://members.evolt.org/shaggy/
[EMAIL PROTECTED]



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




[PHP-INST] Problems installing PHP 4.2.1

2002-07-01 Thread Alberto Martin

Couldn't get a compile under Red Hat Linux 7.2. I'm installing it as a
dynamic Apache 2.0.39 module. I got the following error:

Making all in sapi
make[1]: Entering directory `/home/martin/php-4.2.1/sapi'
Making all in apache2filter
make[2]: Entering directory `/home/martin/php-4.2.1/sapi/apache2filter'
make[3]: Entering directory `/home/martin/php-4.2.1/sapi/apache2filter'
/bin/sh /home/martin/php-4.2.1/libtool --silent --mode=compile gcc  -I. 
-I/home/martin/php-4.2.1/sapi/apache2filter 
-I/home/martin/php-4.2.1/main -I/home/martin/php-4.2.1 
-I/usr/local/apache2/include -I/home/martin/php-4.2.1/Zend 
-I/usr/local//include -I/home/martin/php-4.2.1/ext/mysql/libmysql 
-I/home/martin/php-4.2.1/ext/xml/expat  -D_REENTRANT 
-I/home/martin/php-4.2.1/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS 
-prefer-pic  -c php_functions.c
php_functions.c:93:27: missing binary operator before '!'
make[3]: *** [php_functions.lo] Error 1
make[3]: Leaving directory `/home/martin/php-4.2.1/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/martin/php-4.2.1/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/martin/php-4.2.1/sapi'
make: *** [all-recursive] Error 1

... Any suggestion?

Thanks in Advance


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




[PHP-INST] undefined symbol: core_globals

2002-07-06 Thread Edwin Martin

Hello,

Due to the new security bug in Apache, I want to upgrade
Apache.

I compiled and installed Apache 1.3.26 and PHP 4.2.1 and
everything went fine.

But when I want to start Apache, I get this error message:

taz:/usr/local/apache_1.3.26# bin/apachectl start
Syntax error on line 236 of /usr/local/apache_1.3.26/conf/httpd.conf:
Cannot load /usr/local/apache_1.3.26/libexec/libphp4.so into server: 
/usr/local/apache_1.3.26/
libexec/libphp4.so: undefined symbol: core_globals
bin/apachectl start: httpd could not be started

These are the configuration options I used:

Apache 1.3.26:

CFLAGS="-O2 -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2" 
./configure --prefix=/usr/local/apache_1.3.26 --enable-module=most 
--enable-shared=max

PHP 4.2.1:

CFLAGS="-DEAPI -O2 -m486 -malign-loops=2 -malign-jumps=2 
-malign-functions=2" ./configure --without-mysql 
--with-apxs=/usr/local/apache_1.3.26/bin/apxs --prefix=/usr/local/php_4.2.1 
--with-pgsql

What's wrong?

I use Debian Linux 2.2.19.

Edwin Martin.


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




[PHP-INST] Problem

2002-07-08 Thread Alberto Martin

Hi:

I installed apache 1.3.26 and php 4.1.2 without problem. Then I restart
apache with no errors. Now I'm trying to test php by using a test script
(php_test.php) that I saved in /etc/local/apache/htdocs/.
The test script called the phpinfo function, like this:



When I try to access the php file from the browser 
http://127.0.0.1/php_test.php, I only see the script code,
but nothing happen. Looks like php is not working, even though
the start page index.html of apache (http://127.0.0.1) is
working fine.

Any suggestion...

Thanks in advanced

Alberto


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




[PHP-INST] Problem loading a php script

2002-07-08 Thread Alberto Martin

Hi:

I installed apache 1.3.26 and php 4.1.2 without problem. Then I restart
apache with no errors. Now I'm trying to test php by using a test script
(php_test.php) that I saved in /etc/local/apache/htdocs/.
The test script called the phpinfo function, like this:



When I try to access the php file from the browser 
http://127.0.0.1/php_test.php, I only see the script code,
but nothing happen. Looks like php is not working, even though
the start page index.html of apache (http://127.0.0.1) is
working fine.

Any suggestion...

Thanks in advanced

Alberto


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




[PHP-INST] [PHP-DB] RE: PHP meetup [CROSS-POST] Meet other PHP Developersin Your Area

2002-07-15 Thread Martin Clifford

Yes, everyone please join up!  I would love to find more developers in the Maryland 
area, and I'm sure others would in their areas as well!  Let's do the great american 
get togeth... err... the great php get together!

Martin Clifford
Homepage: http://www.completesource.net
Developer's Forums: http://www.completesource.net/forums/


>>> "Jay Blanchard" <[EMAIL PROTECTED]> 07/15/02 03:20PM >>>
[snip]
No, it's not a dating service :)
Want to meet other PHP developers in your area? Check out:

http://php.meetup.com/ 

Pretty nifty idea... especially given the lack of user groups in the U.S.

I thought for others who had not seen this I would post this. There is
probably already a user group in your area if you live near a major city.
According to the PHPusergroups.org web site
[http://www.phpusergroups.org/groups.phtml?menu=groups] there 189 PHP user
groups in 52 countries.
[/snip]

I have seen some users groups mentioned, which is outstanding. PHP Meetup is
gaining lots of ground with 105 members at last check. Top 5 cities are...

Manhattan (below 42nd St) (5 members)
London, England (4 members)
Ann Arbor, MI (3 members)
Melbourne (3 members)
Washington DC (3 members) [actually tied with Philadelphia, PA and Orange
County, CA]

And I finally saw another San Antonio member. Just want to keep this fresh
in everyone's mind. If you know of other developer lists where php is
discussed please forward this along.

Thanks!

Jay

"Do not meddle in the affairs of dragons-for you are crunchy and good with
ketchup"



-- 
PHP Database 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-objects] RE: [PHP] Re: [PHP-DEV] [CROSS POST] PHP Meetup& Texas PHP Users

2002-08-01 Thread Martin Clifford

I'm definately interested, even though I'll most likely be in MN at the time.  I've 
never even MET another PHP developer, so I don't know what to expect, but I'd sure 
love to be updated :o)

Martin

>>> [EMAIL PROTECTED] 08/01/02 03:21PM >>>
Well, the predictions have come true. In San Antonio only four folks signed
up for the meetup, and the event was cancelled with no way to get in touch
with the other local developers to make a go of it. Out of the 147 cities
listed only 15 had enough people for meetup.com to do their thing. A noble
idea, but ...

I want to encourage developers to farm PHP developer groups in their own
communities. Some may find that their community already has a users group (a
list is available at http://www.phpusergroups.org) although some of these
groups are not really groups at all, just people looking to form groups.

If you live in the San Antonio area I would be glad to be the
chief-wrangler-whats-in-charge for just such a group. Please contact me
directly. I am also working on a Texas PHP Developer Conference at the
beautiful T Bar M Resort & Conference Center in New Braunfels, Texas
sometime between January and April of 2003. I have begun contacting
potential speakers and hope to have people who wish to present papers at the
conference as well as do some other fun activities such as a high or low
ropes course, golf, tennis, etc. All suggestions and admonitions are
welcome. Everyone in Texas is invited to contact me so that I can dispurse
further information. Also, my contact at T Bar M says, "The more, the
cheaper ... " as discounts for larger groups are available. Heck, even if
you don't live in Texas but would be interested in attending drop me a line
and I'll keep you up to date.

Thanks!

Jay

It's as bad as you think, and they are out to get you.

***
* *
* Texas PHP Developers Meeting*
* Spring 2003 *
* T Bar M Resort & Conference Center  *
* New Braunfels, Texas*
* Interested? Contact;*
* [EMAIL PROTECTED] *
* *
***



Look here for Free PHP Classes of objects:
http://phpclasses.UpperDesign.com/ 
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED] 

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




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




[PHP-INST] problems with gd and PHP 4.2.2 installation

2002-08-12 Thread Martin Adler
ft.c:599: `advance_y' undeclared (first use in this
function) gdft.c:602: structure has no member named
`have_char_map_sjis' gdft.c:640: structure has no member named
`have_char_map_unicode' gdft.c:644: structure has no member named
`have_char_map_sjis' gdft.c:687: `glyph_index' undeclared (first
use in this function) gdft.c:692: `ft_kerning_default' undeclared
(first use in this function) gdft.c:692: `delta' undeclared
(first use in this function) gdft.c:697: `err' undeclared (first
use in this function) gdft.c:697: `FT_LOAD_RENDER' undeclared
(first use in this function) gdft.c:721: `ll_x' undeclared (first
use in this function) gdft.c:722: `ll_y' undeclared (first use in
this function) gdft.c:723: `ur_x' undeclared (first use in this
function) gdft.c:724: `ur_y' undeclared (first use in this
function) *** Error code 1
Stop in /usr/opt/php_sources/gd-1.8.4.

i was unable to fix this so ich started to compile PHP without GD

./configure --with-mysql
--with-apxs2=/usr/opt/apache/bin/apxs
--with-zlib
--with-ftp
--with-jpeg-dir=/usr/local/lib
   --enable-sysvshm=yes
   --enable-sysvsem=yes
   --with-config-file-path=/etc

then i also tried to compile with "make" and a few minutes later
while compiling i get this

...
Making all in sapi
Making all in apache2filter
/bin/sh /usr/opt/php_sources/php-4.2.2/libtool --silent --mode=compile
cc  -I. -I/usr/opt/php_sources/php-4.2.2/sapi/apache2filter -I/usr/opt/php_s
ources/php-4.2.2/main -I/usr/opt/php_sources/php-4.2.2 -I/usr/opt/apache/inc
lude -I/usr/opt/php_sources/php-4.2.2/Zend -I/usr/opt/php_sources/php-4.2.2/
ext/mysql/libmysql -I/usr/opt/php_sources/php-4.2.2/ext/xml/expat  -D_REENTR
ANT -D_THREAD_SAFE -I/usr/opt/php_sources/php-4.2.2/TSRM -DTHREAD=1 -g -O2 -
pthread -DZTS -prefer-pic  -c sapi_apache2.c
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:534: warning: passing arg 3 of `ap_register_output_filter'
makes pointer from integer without a cast
sapi_apache2.c:534: too few arguments to function
`ap_register_output_filter'
sapi_apache2.c:535: warning: passing arg 3 of `ap_register_input_filter'
makes pointer from integer without a cast
sapi_apache2.c:535: too few arguments to function `ap_register_input_filter'
*** Error code 1

Stop in /usr/opt/php_sources/php-4.2.2/sapi/apache2filter.
*** Error code 1

Stop in /usr/opt/php_sources/php-4.2.2/sapi/apache2filter.
*** Error code 1

Stop in /usr/opt/php_sources/php-4.2.2/sapi.
*** Error code 1

Stop in /usr/opt/php_sources/php-4.2.2.


and if it's necessary the compile options for the apache 2.0.40:

./configure --prefix=/usr/opt/apache --enable-so
make
make install


I'm grateful for each assistance

greet
Martin

-
Martin AdlerCGI, Perl, PHP, MySQL

Continum AG  Tel. +49 761 4794090
Bötzinger Straße 29a Fax. +49 761 4794099
79111 Freiburg i. Br. http://www.continum.net
-


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




[PHP-INST] PHP Install Problems W/FrontPage

2003-01-12 Thread Martin DiViaio

I'm running Apache 1.3.27 on FreeBSD 4.7 and I'm having problems getting
FrontPage and PHP working together.

Basically, when I start Apache, I get an error from mod_frontpage that it
can't read the output of the random number command. This is ONLY when I
enable PHP (as a DSO). When PHP is disabled, FrontPage works perfectly.

I've tried re-compiling PHP and Apache statically but that fails when I go
to re-configure Apache for libphp.a with the following configure command:

./configure --prefix=/usr/local/apache \
--activate-module=src/modules/php4/libphp4.a \
--server-uid=www \
--server-gid=www \
--with-perl=/usr/bin/perl \
--with-layout=Apache \
--without-confadjust \
--enable-module=most \
--enable-module=auth_db \
--enable-module=mmap_static \
--add-module=./mod_frontpage.c \
--enable-shared=max \
--disable-shared=frontpage \
--disable-shared=php4 \
--enable-module=ssl \
--enable-module=define \
--enable-suexec \
--suexec-caller=www \
--suexec-uidmin=1000 \
--suexec-gidmin=1000 \
--suexec-logfile=/var/log/suexec.log \
--suexec-userdir=public_html \


I get the following from configure:

Configuring for Apache, Version 1.3.27
 + using installation path layout: Apache (config.layout)
 + activated php4 module (modules/php4/libphp4.a)
 + on-the-fly added and activated frontpage module (modules/extra/mod_frontpage.o)
 + Warning: You have enabled the suEXEC feature. Be aware that you need
 + root privileges to complete the final installation step.
Creating Makefile
Creating Configuration.apaci in src
 + enabling mod_so for DSO support
Creating Makefile in src
 + configured for FreeBSD 4.7 platform
 + setting C compiler to gcc
 + setting C pre-processor to gcc -E
 + checking for system header files
 + adding selected modules
o rewrite_module uses ConfigStart/End
  enabling DBM support for mod_rewrite
o dbm_auth_module uses ConfigStart/End
o db_auth_module uses ConfigStart/End
  using Berkeley-DB/1.x for mod_auth_db (-lc)
o ssl_module uses ConfigStart/End
  + SSL interface: mod_ssl/2.8.12
  + SSL interface build type: DSO
  + SSL interface compatibility: enabled
  + SSL interface experimental code: disabled
  + SSL interface conservative code: disabled
  + SSL interface vendor extensions: disabled
  + SSL interface plugin: Vendor DBM (libc)
  + SSL library path: [SYSTEM]
  + SSL library version: OpenSSL 0.9.6g 9 Aug 2002
  + SSL library type: installed package (system-wide)
o php4_module uses ConfigStart/End
 + enabling Extended API (EAPI)
 + using builtin Expat
 + checking sizeof various data types
 + doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed.  The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.

 Error Output for sanity check 
cd ..; gcc  -funsigned-char -DMOD_SSL=208112 
-I/usr/home/admin/installs/apache_1.3/php-4.2.3 
-I/usr/home/admin/installs/apache_1.3/php-4.2.3/main 
-I/usr/home/admin/installs/apache_1.3/php-4.2.3/main 
-I/usr/home/admin/installs/apache_1.3/php-4.2.3/Zend 
-I/usr/home/admin/installs/apache_1.3/php-4.2.3/Zend 
-I/usr/home/admin/installs/apache_1.3/php-4.2.3/TSRM 
-I/usr/home/admin/installs/apache_1.3/php-4.2.3/TSRM 
-I/usr/home/admin/installs/apache_1.3/php-4.2.3 -DEAPI -DUSE_EXPAT -I./lib/expat-lite 
`./apaci` -o helpers/dummy helpers/dummy.c -R/usr/local/lib -R/usr/local/lib/mysql 
 -rdynamic -L/usr/local/lib -L/usr/local/lib/mysql -Lmodules/php4 -L../modules/php4 
-L../../modules/php4 -lmodphp4  -lpam -lmcal -lc-client4  -lyaz -lsablot -liconv 
-lexpat -liconv -lexpat -lexpat -lexpat -lsnmp -lmm -lpspell -lpdf -lz -ltiff -lpng 
-ljpeg -lmysqlclient -lming -lmhash -lmcve -lmcrypt -lltdl -lldap -llber -lcrypt -lpam 
-liconv -lintl -lgd -lfreetype -lpng -lz -ljpeg -lz -lcurl -lbz2 -lz -lcrypt -lssl 
-lcrypto -lm  -lcrypt -lcurl -lssl -lcrypto -lxml2 -lz -liconv -lm -lssl -lcrypto   
-lcrypt
/usr/local/lib/libc-client4.so: undefined reference to `mm_expunged'
/usr/local/lib/libc-client4.so: undefined reference to `mm_diskerror'
/usr/local/lib/libc-client4.so: undefined reference to `mm_lsub'
/usr/local/lib/libc-client4.so: undefined reference to `mm_flags'
/usr/local/lib/libc-client4.so: undefined reference to `mm_fatal'
/usr/local/lib/libc-client4.so: undefined reference to `mm_nocritical'
/usr/local/lib/libc-client4.so: undefined reference to `mm_notify'
/usr/local/lib/libc-client4.so: undefined reference to `mm_searched'
/usr/local/lib/libc-client4.so: undefined reference to `mm_status'
/usr/local/li

RE: [PHP-INST] PHP Install Problems W/FrontPage

2003-01-12 Thread Martin DiViaio


My own compile, both Apache and PHP. The ports collection only uses
php-4.1.2.


-
 Martin DiViaio [EMAIL PROTECTED]
 Systems Administrator  [EMAIL PROTECTED]
 ETI - Connecting Your World1-856-753-3810
-

On the 13th day of January in the year 2003 you wrote:

> Date: Mon, 13 Jan 2003 08:31:44 +1000
> From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]>
> To: 'Martin DiViaio' <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> X-Spam-Status: No, hits=-4.4 required=7.0 tests=IN_REP_TO version=2.20
> Subject: RE: [PHP-INST] PHP Install Problems W/FrontPage
>
> Did you install using ports/packages or your own compile under FreeBSD??
>
>
> Timothy Hitchens (HiTCHO)
> Open Platform Consulting
> e-mail: [EMAIL PROTECTED]
>
> > -Original Message-
> > From: Martin DiViaio [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, 13 January 2003 8:05 AM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-INST] PHP Install Problems W/FrontPage
> >
> >
> >
> > I'm running Apache 1.3.27 on FreeBSD 4.7 and I'm having
> > problems getting FrontPage and PHP working together.
> >
> > Basically, when I start Apache, I get an error from
> > mod_frontpage that it can't read the output of the random
> > number command. This is ONLY when I enable PHP (as a DSO).
> > When PHP is disabled, FrontPage works perfectly.
> >
> > I've tried re-compiling PHP and Apache statically but that
> > fails when I go to re-configure Apache for libphp.a with the
> > following configure command:
> >
> > ./configure --prefix=/usr/local/apache \
> > --activate-module=src/modules/php4/libphp4.a \
> > --server-uid=www \
> > --server-gid=www \
> > --with-perl=/usr/bin/perl \
> > --with-layout=Apache \
> > --without-confadjust \
> > --enable-module=most \
> > --enable-module=auth_db \
> > --enable-module=mmap_static \
> > --add-module=./mod_frontpage.c \
> > --enable-shared=max \
> > --disable-shared=frontpage \
> > --disable-shared=php4 \
> > --enable-module=ssl \
> > --enable-module=define \
> > --enable-suexec \
> > --suexec-caller=www \
> > --suexec-uidmin=1000 \
> > --suexec-gidmin=1000 \
> > --suexec-logfile=/var/log/suexec.log \
> > --suexec-userdir=public_html \
> >
> >
> > I get the following from configure:
> >
> > Configuring for Apache, Version 1.3.27
> >  + using installation path layout: Apache (config.layout)
> >  + activated php4 module (modules/php4/libphp4.a)
> >  + on-the-fly added and activated frontpage module
> > (modules/extra/mod_frontpage.o)  + Warning: You have enabled
> > the suEXEC feature. Be aware that you need  + root privileges
> > to complete the final installation step. Creating Makefile
> > Creating Configuration.apaci in src  + enabling mod_so for
> > DSO support Creating Makefile in src  + configured for
> > FreeBSD 4.7 platform  + setting C compiler to gcc  + setting
> > C pre-processor to gcc -E  + checking for system header files
> >  + adding selected modules
> > o rewrite_module uses ConfigStart/End
> >   enabling DBM support for mod_rewrite
> > o dbm_auth_module uses ConfigStart/End
> > o db_auth_module uses ConfigStart/End
> >   using Berkeley-DB/1.x for mod_auth_db (-lc)
> > o ssl_module uses ConfigStart/End
> >   + SSL interface: mod_ssl/2.8.12
> >   + SSL interface build type: DSO
> >   + SSL interface compatibility: enabled
> >   + SSL interface experimental code: disabled
> >   + SSL interface conservative code: disabled
> >   + SSL interface vendor extensions: disabled
> >   + SSL interface plugin: Vendor DBM (libc)
> >   + SSL library path: [SYSTEM]
> >   + SSL library version: OpenSSL 0.9.6g 9 Aug 2002
> >   + SSL library type: installed package (system-wide)
> > o php4_module uses ConfigStart/End
> >  + enabling Extended API (EAPI)
> >  + using builtin Expat
> >  + checking sizeof various data types
> >  + doing sanity check on compiler and options
> > ** A test compilation with your Ma

RE: [PHP-INST] PHP Install Problems W/FrontPage

2003-01-13 Thread Martin DiViaio


Unfortunately, the ports collection is not really an option. I have to
apply some other patches to the Apache sources besides the fp2002 stuff
and the ports collection makes that extreamly difficult.

By the way, I did manage to get it to work by recompiling php without imap
and mcal support. This is really a kludge since I do want both of these
options in php.



On the 13th day of January in the year 2003 you wrote:

> Date: Mon, 13 Jan 2003 08:59:39 +1000
> From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]>
> To: 'Martin DiViaio' <[EMAIL PROTECTED]>,
>  "'Timothy Hitchens (HiTCHO)'" <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> X-Spam-Status: No, hits=-4.4 required=7.0 tests=IN_REP_TO version=2.20
> Subject: RE: [PHP-INST] PHP Install Problems W/FrontPage
>
> You need to do a cvsup on your ports then redo using ports and all will
> be well:
>
> Current Ports after you do cvsup:  PHP 4.2.3 and Apache 1.3.2.7 etc
>
>
>
> Timothy Hitchens (HiTCHO)
> Open Platform Consulting
> e-mail: [EMAIL PROTECTED]
>
> > -Original Message-
> > From: Martin DiViaio [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, 13 January 2003 8:43 AM
> > To: Timothy Hitchens (HiTCHO)
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: [PHP-INST] PHP Install Problems W/FrontPage
> >
> >
> >
> >
> > My own compile, both Apache and PHP. The ports collection
> > only uses php-4.1.2.
> >
> >
> > On the 13th day of January in the year 2003 you wrote:
> >
> > > Date: Mon, 13 Jan 2003 08:31:44 +1000
> > > From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]>
> > > To: 'Martin DiViaio' <[EMAIL PROTECTED]>,
> > [EMAIL PROTECTED]
> > > X-Spam-Status: No, hits=-4.4 required=7.0 tests=IN_REP_TO
> > version=2.20
> > > Subject: RE: [PHP-INST] PHP Install Problems W/FrontPage
> > >
> > > Did you install using ports/packages or your own compile under
> > > FreeBSD??
> > >
> > >
> > > Timothy Hitchens (HiTCHO)
> > > Open Platform Consulting
> > > e-mail: [EMAIL PROTECTED]
> > >
> > > > -Original Message-
> > > > From: Martin DiViaio [mailto:[EMAIL PROTECTED]]
> > > > Sent: Monday, 13 January 2003 8:05 AM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: [PHP-INST] PHP Install Problems W/FrontPage
> > > >
> > > >
> > > >
> > > > I'm running Apache 1.3.27 on FreeBSD 4.7 and I'm having problems
> > > > getting FrontPage and PHP working together.
> > > >
> > > > Basically, when I start Apache, I get an error from mod_frontpage
> > > > that it can't read the output of the random number
> > command. This is
> > > > ONLY when I enable PHP (as a DSO). When PHP is disabled,
> > FrontPage
> > > > works perfectly.
> > > >
> > > > I've tried re-compiling PHP and Apache statically but that fails
> > > > when I go to re-configure Apache for libphp.a with the following
> > > > configure command:
> > > >
> > > > ./configure --prefix=/usr/local/apache \
> > > > --activate-module=src/modules/php4/libphp4.a \
> > > > --server-uid=www \
> > > > --server-gid=www \
> > > > --with-perl=/usr/bin/perl \
> > > > --with-layout=Apache \
> > > > --without-confadjust \
> > > > --enable-module=most \
> > > > --enable-module=auth_db \
> > > > --enable-module=mmap_static \
> > > > --add-module=./mod_frontpage.c \
> > > > --enable-shared=max \
> > > > --disable-shared=frontpage \
> > > > --disable-shared=php4 \
> > > > --enable-module=ssl \
> > > > --enable-module=define \
> > > > --enable-suexec \
> > > > --suexec-caller=www \
> > > > --suexec-uidmin=1000 \
> > > > --suexec-gidmin=1000 \
> > > > --suexec-logfile=/var/log/suexec.log \
> > > > --suexec-userdir=public_html \
> > > >
> > > >
> > > > I get the following from configure:
> > > >
> > > > Configuring for Apache, Version 1.3

[PHP-INST] PHP 4.3.0 & Apache 2.0.44

2003-02-12 Thread Martin Leonard
Ok, this should be a simple one.
 
I have compiled apache with the --enable-so option. Everything worked
fine.  I then configured PHP with the --with-apxs2=[path] and that also
configured without problems.  I had to manually input the LoadModule and
AddType parameters into the httpd.conf file. The associated files exist,
and the httpd daemon is definately using that .conf file.  Now, html
file render fine, but when I select a .php file, the "save as" dialog
box comes up. So, apache isn't processing the .php file properly. What's
wrong?  I thought the AddType application/x-httpd-php .php would have
controlled this?
 
I'm sure this is an easy fix!?!
 
Thanks,
 
Martin



[PHP-INST] Problem installing PHP 4.3.1 snprintf unknown symbol)

2003-03-10 Thread Martin Seneclauze
Hello,

I am trying to install PHP 4.3.1 to be used with apache 2.0.44 and I get an
error. I tried a lot of things (changing LD_LIBRARY_PATH) but no solutions
are working...


/bin/sh libtool --silent --mode=link gcc -export-dynamic -g -O2
-avoid-version -module -L/usr/ucblib
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.3  -R /usr/ucblib -R
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.3 ext/ctype/ctype.lo
ext/mysql/php_mysql.lo ext/mysql/libmysql/libmysql.lo
ext/mysql/libmysql/errmsg.lo ext/mysql/libmysql/net.lo
ext/mysql/libmysql/violite.lo ext/mysql/libmysql/password.lo
ext/mysql/libmysql/my_init.lo ext/mysql/libmysql/my_lib.lo
ext/mysql/libmysql/my_static.lo ext/mysql/libmysql/my_malloc.lo
ext/mysql/libmysql/my_realloc.lo ext/mysql/libmysql/my_create.lo
ext/mysql/libmysql/my_delete.lo ext/mysql/libmysql/my_tempnam.lo
ext/mysql/libmysql/my_open.lo ext/mysql/libmysql/mf_casecnv.lo
ext/mysql/libmysql/my_read.lo ext/mysql/libmysql/my_write.lo
ext/mysql/libmysql/errors.lo ext/mysql/libmysql/my_error.lo
ext/mysql/libmysql/my_getwd.lo ext/mysql/libmysql/my_div.lo
ext/mysql/libmysql/mf_pack.lo ext/mysql/libmysql/my_messnc.lo
ext/mysql/libmysql/mf_dirname.lo ext/mysql/libmysql/mf_fn_ext.lo
ext/mysql/libmysql/mf_wcomp.lo ext/mysql/libmysql/typelib.lo
ext/mysql/libmysql/safemalloc.lo ext/mysql/libmysql/my_alloc.lo
ext/mysql/libmysql/mf_format.lo ext/mysql/libmysql/mf_path.lo
ext/mysql/libmysql/mf_unixpath.lo ext/mysql/libmysql/my_fopen.lo
ext/mysql/libmysql/mf_loadpath.lo ext/mysql/libmysql/my_pthread.lo
ext/mysql/libmysql/my_thr_init.lo ext/mysql/libmysql/thr_mutex.lo
ext/mysql/libmysql/mulalloc.lo ext/mysql/libmysql/string.lo
ext/mysql/libmysql/default.lo ext/mysql/libmysql/my_compress.lo
ext/mysql/libmysql/array.lo ext/mysql/libmysql/my_once.lo
ext/mysql/libmysql/list.lo ext/mysql/libmysql/my_net.lo
ext/mysql/libmysql/dbug.lo ext/mysql/libmysql/strmov.lo
ext/mysql/libmysql/strxmov.lo ext/mysql/libmysql/strnmov.lo
ext/mysql/libmysql/strmake.lo ext/mysql/libmysql/strend.lo
ext/mysql/libmysql/strfill.lo ext/mysql/libmysql/is_prefix.lo
ext/mysql/libmysql/int2str.lo ext/mysql/libmysql/str2int.lo
ext/mysql/libmysql/strinstr.lo ext/mysql/libmysql/strcont.lo
ext/mysql/libmysql/strcend.lo ext/mysql/libmysql/bchange.lo
ext/mysql/libmysql/bmove.lo ext/mysql/libmysql/bmove_upp.lo
ext/mysql/libmysql/longlong2str.lo ext/mysql/libmysql/strtoull.lo
ext/mysql/libmysql/strtoll.lo ext/mysql/libmysql/charset.lo
ext/mysql/libmysql/ctype.lo ext/overload/overload.lo
ext/pcre/pcrelib/maketables.lo ext/pcre/pcrelib/get.lo
ext/pcre/pcrelib/study.lo ext/pcre/pcrelib/pcre.lo ext/pcre/php_pcre.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/standard/array.lo
ext/standard/base64.lo ext/standard/basic_functions.lo
ext/standard/browscap.lo ext/standard/crc32.lo ext/standard/crypt.lo
ext/standard/cyr_convert.lo ext/standard/datetime.lo ext/standard/dir.lo
ext/standard/dl.lo ext/standard/dns.lo ext/standard/exec.lo
ext/standard/file.lo ext/standard/filestat.lo ext/standard/flock_compat.lo
ext/standard/formatted_print.lo ext/standard/fsock.lo ext/standard/head.lo
ext/standard/html.lo ext/standard/image.lo ext/standard/info.lo
ext/standard/iptc.lo ext/standard/lcg.lo ext/standard/link.lo
ext/standard/mail.lo ext/standard/math.lo ext/standard/md5.lo
ext/standard/metaphone.lo ext/standard/microtime.lo ext/standard/pack.lo
ext/standard/pageinfo.lo ext/standard/parsedate.lo
ext/standard/quot_print.lo ext/standard/rand.lo ext/standard/reg.lo
ext/standard/soundex.lo 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/aggregation.lo ext/standard/sha1.lo
ext/tokenizer/tokenizer.lo ext/xml/xml.lo ext/xml/expat/xmlparse.lo
ext/xml/expat/xmlrole.lo ext/xml/expat/xmltok.lo regex/regcomp.lo
regex/regexec.lo regex/regerror.lo regex/regfree.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_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/streams.lo main/network.lo main/php_open_temporary_file.lo
main/php_logos.lo main/output.lo main/memory_streams.lo main/user_streams.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_comp

[PHP-INST] Apache, PHP4, PHPLIB, include_path

2001-02-21 Thread Martin Burger

Hello,

I  try  to  use  PHPLIB  with PHP4 on a machine running "Apache/1.3.14
(Win32) mod_jk PHP/4.0.4". With PHP3 (CGI) it works fine.

I  inserted the following lines in the .htaccess in the root-directory
of the virtual webserver (VirtualHost):


php_value auto_prepend_file d:\server\htdocs\www.test.de\php\prepend.php3

php_value include_path \server\htdocs\www.test.de\php\:./


So,  PHP4  finds  the  file  prepend.php3, but the 'required' files in
prepend.php3 are not found:


Fatal error: Failed opening required 'db_mysql.inc'
(include_path='d:\server\htdocs\www.test.de\php\:./') in
d:\server\htdocs\www.test.de\php\prepend.php3 on line 19


If I manually insert the path to db_mysql.inc, PHP4 will find the file
but  the  next file will be a problem. I even copied the path from the
error message.

Any ideas to solve this problem?

Regards,

Martin Burger



-- 
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] Apache, PHP4, PHPLIB, include_path

2001-02-21 Thread Martin Burger

"Martin Burger" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

> Fatal error: Failed opening required 'db_mysql.inc'
> (include_path='d:\server\htdocs\www.test.de\php\:./') in
> d:\server\htdocs\www.test.de\php\prepend.php3 on line 19

I tried some hints of de.comp.lang.php and php.windows, so I use these
lines in my .htaccess:


php_value include_path ;/server/data/www/www.test.dom/php;.;

php_value auto_prepend_file prepend.php3


But there are still some problems, there are different error messages:


Fatal error: Failed opening required 'local.inc' (include_path='') in
prepend.php3 on line 31

Fatal error: Failed opening required 'ct_sql.inc' (include_path='Wed,
21 Feb 2001 13:16:13 GMT') in prepend.php3 on line 20

Fatal error: Failed opening required '_includes/metatags.inc.bd'
(include_path='àwd') in
/server/data/www/www.test.dom/www/html/leftmargin.bd on line 13


One considers the include_path - that is very strange!

The  error  occurs  by the way only if a "long" frameset is loaded. If
the pages are requested individually, there will not occur an error.

I  assume,  PHP4-mod gets problems, if several documents are requested
at the same time (by the frameset).

Regards,
  Martin Burger


-- 
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] Apache 1.3.17/PHP4.0.4pl1 on NT4/SP6a

2001-02-21 Thread Martin Burger


"Kris Deugau" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

> Syntax error on line 181 of l:/program files/apache
> group/apache/conf/httpd.conf:
> Cannot load l:/program files/apache group/php/sapi/php4apache.dll into
> server:
> (126) The specified module could not be found:

http://www.mm4.de/php4win/faq.php3?id=3

Regards, Martin


-- 
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] Apache, PHP4, PHPLIB, include_path

2001-02-22 Thread Martin Burger

"Martin Burger" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

> I  try  to  use  PHPLIB  with PHP4 on a machine running "Apache/1.3.14
> (Win32) mod_jk PHP/4.0.4". With PHP3 (CGI) it works fine.

With PHP Version 4.0.5-dev it works. Both are from www.php4win.de

> php_value auto_prepend_file d:\server\htdocs\www.test.de\php\prepend.php3
> php_value include_path d:\server\htdocs\www.test.de\php\:./

This has to be:

php_value include_path ;/server/htdocs/www.test.de/php;.;
php_value auto_prepend_file prepend.php3

Regards,

Martin Burger


-- 
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 user - webhost provider

2001-04-23 Thread Martin Arnsten

Hi,
is there a way to get the user running the Php script to be the same user as
my unix account?

My webhost provider got Php4 as an apache module on a linux machine. There
are many customers on the same server.
The user running the php scripts is the apache user. Because the user
running the Php scripts is the same for all customers, the provider has
turned down this users rwx rights.
What I want is to have full rwx rights on my home directory. I assume there
is more people having this problem if their webserver is shared with many
others.
Anybody got a suggestion to solve the problem?

/martin



-- 
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-INSTALL]

2001-06-30 Thread Martin Schmidt


Hi,

I am just starting with PHP, I installed the new version on my Suse 7.1
with apache 1.3.14, because I need a tool for accessing databases
(Informix/Oracle).

Everything seemed fine, until I tried to start apache, it told me:

Cannot load /usr/lib/apache/libphp4.so into server: shared object not
open

All my investigations showed me a very "kind" member of bug.php.net, who
told someone else, that this isn't a bug and we should connect the
mailing-lists. He generously had a hint : /etc/ld.so.conf and ldconfig.
In the archive of the mailing lists I found the same informations ( a
little bit more informative), but my ld.so.conf is o.k. and at this
point any help stops.
I hope, that someone found out what's happening here and helps me.

So I have:
Intel Celreon 366 on Asus Mainboard, 256 MB RAM, Adaptec 2940UW with all
together 20GB HD, 5 swap-Areas with 128MB each.
SuSE 7.1 Prof-Edition, from this distribution I installed apache and PHP
(everything working fine, but no idea how to activate
informix/oracle-support)

Apache says, PHP4-module installed.

Thanks a lot for any help


Martin Schmidt

-- 
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] missing php.ini file

2001-08-13 Thread Martin Axhamre

Hi, 

For some reason I don't have any php.ini file. Neither the example files or
backup files seem to exist (I've looked everywhere..). So, my question is,
could someone please mail me a copy of a php.ini file that I could use. I
would be sooo greatful!!!

kind regards / Martin Axhamre [EMAIL PROTECTED]

running: Mac OS X Server 2.0, PHP 4.05 and mySQL 3.23.38


-- 
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] Installing PHP4 - Please Help !!

2001-08-25 Thread Martin Stephenson


Hi All,

I'm running Suse Linux 7.1, Kernet 2.4

I have downloaded and installed the latest version of Apache and it's up 
and running OK

It is installed in :

/usr/local/apache

To Install PHP, i have downloaded the Source and put it in:

/usr/local/src/php-4.0.6

To Install PHP I have done this ( ihave specified the location of apxs 
as Suse Installed an Apache server also, but I want the one I've 
installed to /usr/local/apache):

./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs

Then I type:

make

make install

Then I edit /usr/local/apache/conf/httpd.conf

The required lines ARE there, ie.

LoadModule php4_modulelibexec/libphp4.so
AddModule mod_php4.c

AddType application/x-httpd-php .php

I have also copied /usr/local/src/php-4.0.6/php.ini-dist to 
/usr/local/lib/php.ini

Now the problem :
I then go to start my Server as follows:

cd /usr/local/apache/bin
./httpd

BUT Then I get this:

"Syntax error on line 236 of /usr/local/apache/conf/httpd.conf:
API module structure `php4_module' in file 
/usr/local/apache/libexec/libphp4.so is garbled - perhaps this is not an 
Apache module DSO? "

Line 236 of /usr/local/apache/conf/httpd.conf is :

LoadModule php4_modulelibexec/libphp4.so


And If I check the file type of libphp4.so as follows:
cd /usr/local/apache/libexec/
file libphp4.so

I get :
"libphp4.so: ELF 32-bit LSB shared object, Intel 80386, version 1, not 
stripped "


SoCan anybody Help ???

I don't have MySQL installed yet - do I need to have that first ???

Thanks,

Martin Stephenson.



-- 
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] PHP4 Install Problems - Please Help

2001-08-25 Thread Martin Stephenson

Hi All,

I'm running Suse Linux 7.1, Kernet 2.4

I have downloaded and installed the latest version of Apache and it's up
and running OK

It is installed in :

/usr/local/apache

To Install PHP, i have downloaded the Source and put it in:

/usr/local/src/php-4.0.6

To Install PHP I have done this ( ihave specified the location of apxs
as Suse Installed an Apache server also, but I want the one I've
installed to /usr/local/apache):

./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs

Then I type:

make

make install

Then I edit /usr/local/apache/conf/httpd.conf

The required lines ARE there, ie.

LoadModule php4_modulelibexec/libphp4.so
AddModule mod_php4.c

AddType application/x-httpd-php .php

I have also copied /usr/local/src/php-4.0.6/php.ini-dist to
/usr/local/lib/php.ini

Now the problem :
I then go to start my Server as follows:

cd /usr/local/apache/bin
./httpd

BUT Then I get this:

"Syntax error on line 236 of /usr/local/apache/conf/httpd.conf:
API module structure `php4_module' in file
/usr/local/apache/libexec/libphp4.so is garbled - perhaps this is not an
Apache module DSO? "

Line 236 of /usr/local/apache/conf/httpd.conf is :

LoadModule php4_modulelibexec/libphp4.so


And If I check the file type of libphp4.so as follows:
cd /usr/local/apache/libexec/
file libphp4.so

I get :
"libphp4.so: ELF 32-bit LSB shared object, Intel 80386, version 1, not
stripped "


SoCan anybody Help ???

I don't have MySQL installed yet - do I need to have that first ???

Thanks,

Martin Stephenson.


-- 
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] How to compile PHP modules

2001-09-17 Thread Martin Pavlas

Hi, 

I'm using PHP as .so module (libphp4.so) on apache 1.3.14 on Linux. If I
use any external library (extension) for PHP (like MySQL, IMAP, GD,
etc.), all these libraries are compiled into this .so file. I'm using
this configure file: 

"./configure" \ 
"--with-apxs=/usr/local/apache/bin/apxs" \ 
"--with-curl" \ 
"--with-imap=/usr/local/lib" \ 
"--with-mcrypt" \ 
"--with-mysql=/usr/local" \ 
"--enable-trans-sid" \ 
"$@" 

How can I create these extensions to compile as .so modules as well and
load them in php.ini with extension=xxx.so? It's pain to recompile the
whole PHP when I need to upgrade only one extension. It seems like
--enable-shared is not doing what I want? Or I'm wrong? 

BTW: 
what is --enable-sysvsem --enable-sysvshm doing? Shall I use it on Linux
(Intel Pentium II)? 

Thanks a lot. 
Martin 

-- 
Martin Pavlas
ParsCom IS s.r.o.
http://www.parscom.cz

-- 
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: phpinfo reports wrong version of apache

2001-09-17 Thread Martin Pavlas

Floyd Miller wrote:
> 
> I have upgraded from apache 1.3.19 to 1.3.20 and recompiled and
> installed PHP 4.0.6
> but phpinfo() still reports the Apache version as 3.1.19.  Running httpd
> -v reports
> 1.3.20.  Where does phpinfo() get its information from and why wouldn't
> it be undated?
> 
> Thanks.

Hi,

>From my experience, phpinfo (or the PHP module) remembers some
information about itself and the apache from the previous build. If you
want phpinfo to show the exact information, before "make" use "make
clear". Then phpinfo will show the correct information.

This also happens when you add some configuration option (ex.
--with-something) and do just "make". Then phpinfo won't show this new
optin in the Configure Command in phpinfo. But if you use make clear and
make, everything is shown correctly.

Martin

-- 
Martin Pavlas
ParsCom IS s.r.o.
http://www.parscom.cz

-- 
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: configure: error: cannot find output from lex; giving

2001-11-20 Thread Martin Grünzweig

Look at this page and download this
file!http://freshmeat.net/projects/flex/


Good luck


martin


Philippe Blainville schrieb:

> Help
>
> when I run configure to install php 4.0.6 , I've got this error message
> "checking lex output file root... ./configure: lex: command not found
> configure: error: cannot find output from lex; giving up".
>
> Does anybody know what to do ?


-- 
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] help!!!

2001-11-20 Thread JIM MARTIN

i dont know, i just spent 2+ weeks tinkering, and it just dont work.

trying to get "omni" / "php" to work and then with "mysql." 

gone though docs completely, but, stumped, stone cold.

just the basics would help.

thanks, jim

which operating system, what PHP version, what web server, if
  ou are running PHP as CGI or a server module, etc.), and
  referably enough code to make others able to reproduce and test
  our problem.

OS: win98
OMNI: 2.08
php: 4.06
running as CGI or server mod, tried both

www.php.net
  To subscribe to the PHP installation
  mailing list, send an empty mail to
  [EMAIL PROTECTED]
  The mailing list address is
  [EMAIL PROTECTED]

  If you want to get help on the mailing list, please try to be
  precise and give the necessary details about your environment
  (which operating system, what PHP version, what web server, if
  ou are running PHP as CGI or a server module, etc.), and
  referably enough code to make others able to reproduce and test
  our problem.




[PHP-INST] Pb. with GD2

2001-12-05 Thread Martin DUBUC

Hi everyone ,

I'm trying to install GD2 & php4.0.6 & apache on my new webserver

GD 1.8.4 was setr up on my server so i made :
GD2>make install
GD2>make libgd.a
ldconfig
sync

then
PHP >configure.. && make && make install
but now when i make apache with GD configured in php i get :

"modules/php4/libphp4.a(internal_functions.o): In function 
`php_global_shutdown_internal_extensions':
/home/ovh/src/php-4.0.6/main/internal_functions.c:94: undefined reference to 
`gd_module_entry'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Erreur 1
make[2]: Quitte le répertoire `/home/ovh/src/apache_1.3.20/src'
"

i really really don t know where it can come frome ... i don t have
the error when i ./configure php without --with-gd

If you can help me it would be great !

Keep up the good work ;)

  

__
Cordialement,

Martin DUBUC  mailto:[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] Elementary Sessions help pls

2001-12-17 Thread Martin Wright

I have just installed php 4.0.6 cgi to WinXp.  Tried to fire up a prog
and got the following:


Warning: open(C:\Program
Files\PHP\sessiondata\sess_7b14a10eaa657d7329e9c946d3a73863, O_RDWR)
failed: m (13) in D:\wwwroot\xxx\index.php on line 4

Warning: open(C:\Program
Files\PHP\sessiondata\sess_7b14a10eaa657d7329e9c946d3a73863, O_RDWR)
failed: m (13) in Unknown on line 0

Warning: Failed to write session data (files). Please verify that the
current setting of session.save_path is correct (C:\Program
Files\PHP\sessiondata) in Unknown on line 0

Is there something I need to do extra to set sessions up or is this
something else to do with this prog?  Permissions or something?  What to
do?  Alpologies to the wise, but you gotta start somewhere!

--
Martin Wright


-- 
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] Elementary Sessions help pls

2001-12-17 Thread Martin Wright

Hell, that was quick, Andrey!

Yes I've got that directory.

--
Martin Wright

-Original Message-
From: Andrey Hristov [mailto:[EMAIL PROTECTED]] 
Sent: 17 December 2001 13:48
To: Martin Wright
Subject: Re: [PHP-INST] Elementary Sessions help pls


Is there C:\Program Files\PHP\sessiondata
directory. If not create it.


Regards,
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS

- Original Message - 
From: "Martin Wright" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 17, 2001 2:10 PM
Subject: [PHP-INST] Elementary Sessions help pls


> I have just installed php 4.0.6 cgi to WinXp.  Tried to fire up a prog

> and got the following:
> 
> 
> Warning: open(C:\Program 
> Files\PHP\sessiondata\sess_7b14a10eaa657d7329e9c946d3a73863, O_RDWR)
> failed: m (13) in D:\wwwroot\xxx\index.php on line 4
> 
> Warning: open(C:\Program 
> Files\PHP\sessiondata\sess_7b14a10eaa657d7329e9c946d3a73863, O_RDWR)
> failed: m (13) in Unknown on line 0
> 
> Warning: Failed to write session data (files). Please verify that the 
> current setting of session.save_path is correct (C:\Program
> Files\PHP\sessiondata) in Unknown on line 0
> 
> Is there something I need to do extra to set sessions up or is this 
> something else to do with this prog?  Permissions or something?  What 
> to do?  Alpologies to the wise, but you gotta start somewhere!
> 
> --
> Martin Wright
> 
> 
> --
> 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] Should I shoot the machine?

2002-01-02 Thread Martin Cloutier

Hi gang,

Redhat 7.1 (vanilla)
PHP-4.0.4pl1-9
Apache 1.3.19-5
MYSQL 3.23.36-1

I am trying to upgrade to  PHP 4.1.1

Question 1:
Is there an RPM for it?

Question 2:
I have tried to install the following package:
rpm -ivh PHP-4.0.6-7.src.rpm
...without success...phpinfo() still gives me the old version

Question 3:
I have tried to install the php 4.1.1 using the normal procedure gzip
and tar..make ...
...without success...phpinfo() still gives me the old version

Question 4:
Did all these tryout affect the system so that the upgrades become
confused?

Can anyone suggest me an alternate route for installing the package?
Any help would be greatly appreciated!

Regards

Martin


-- 
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: APXS problem with compile.

2002-01-03 Thread Martin Cloutier

Now that you know what you are doing... I need a word of advise on apxs
1. is it installed automatically if you have RedHat 7.1 Vanilla with PHP, MYSQL
and APACHE.
2. if not, how, and would it be good to install it?

I am trying to upgrade 4.06 to 4.1.1

Regards

Martin

Stephen Loeckle wrote:

> Never mind :) I deleted the source directory and untared it again. I forgot
> I had been playing around in there a little too much LOL. Louie, you're the
> best! Everything works great now!
>
> Stephen
>
> "Stephen Loeckle" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I am having a problem compiling the php module for apache. I have mod_so.c
> > enabled:
> >
> > Compiled-in modules:
> >   http_core.c
> >   mod_so.c
> > suexec: disabled; invalid wrapper bin/suexec
> >
> > I don't understand the last line though. Hopefully it's not a a problem.
> >
> > I am running perl 5.6.1 freshly downloaded and compiled from cpan.
> >
> > Here are the results of the module compile:
> >
> > [root@lmfile php-4.1.0]#
> >
> ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/m
> > ysql
> > loading cache ./config.cache
> > checking for a BSD compatible install... (cached) /usr/bin/install -c
> > checking whether build environment is sane... yes
> > checking whether make sets ${MAKE}... (cached) yes
> > checking for working aclocal... found
> > checking for working autoconf... found
> > checking for working automake... found
> > checking for working autoheader... found
> > checking for working makeinfo... found
> > checking whether to enable maintainer-specific portions of Makefiles... no
> > checking host system type... i686-pc-linux-gnu
> > checking for gawk... (cached) gawk
> > checking for bison... (cached) bison -y
> > checking bison version... 1.28 (ok)
> > checking for gcc... (cached) gcc
> > checking whether the C compiler (gcc  ) works... yes
> > checking whether the C compiler (gcc  ) is a cross-compiler... no
> > checking whether we are using GNU C... (cached) yes
> > checking whether gcc accepts -g... (cached) yes
> > checking how to run the C preprocessor... (cached) gcc -E
> > checking for AIX... no
> > checking for gcc option to accept ANSI C... (cached) none needed
> > checking for ranlib... (cached) ranlib
> > checking whether gcc and cc understand -c and -o together... (cached) yes
>
> > checking whether ln -s works... (cached) yes
> > checking for flex... (cached) flex
> > checking for yywrap in -lfl... (cached) yes
> > checking lex output file root... (cached) lex.yy
> > checking whether yytext is a pointer... (cached) yes
> > checking for working const... (cached) yes
> > checking for pthreads_cflags... (cached) -pthread
> > checking for pthreads_lib... (cached)
> >
> > Configuring SAPI modules
> > checking for AOLserver support... no
> > checking for Apache module support via DSO through APXS...
> >
> > Sorry, I was not able to successfully run APXS.  Possible reasons:
> >
> > 1.  Perl is not installed;
> > 2.  Apache was not compiled with DSO support (--enable-module=so);
> > 3.  'apxs' is not in your path.  Try to use --with-apxs=/path/to/apxs
> > The output of /usr/local/apache/bin/apxs follows
> > ./configure: /usr/local/apache/bin/apxs: bad interpreter: No such file or
> > directory
> > configure: error: Aborting
> >
> > I seen lots of messages about people having problems with this, but I have
> > only seen one post with the 'bad interpreter' problem with no resolution.
> > Any ideas?
> >
> > Any help is much appreciated,
> > Stephen
> >
> > P.S. Get the same from php 4.1.1 as well
> >
> >
> >
>
> --
> 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] --enable-trans-sid don't work any more!!

2002-01-07 Thread Martin Rode

Since I've upgraded to 4.1.1 from 4.0.6 the --enable-trans-sid don't
work for me any more.

1) Test script is as easy as (taken from php documentation):

---


Hello visitor, you have seen this page  times.;

To continue, click here

-

2) relevant lines in php.ini are:

session.use_cookies = 0 (changed from default 1)
session.use_trans_sid = 1
url_rewriter.tags =
"a=href,area=href,frame=src,input=src,form=fakeentry"

---

3) phpinfo() gives me: 

./configure' '--with-mysql' '--enable-xslt' '--with-xslt-sablot'
'--with-apxs' '--with-curl'--enable-trans-sid'

session.use_cookies  Off  Off
session.use_trans_sid 1  1


What happens is:

Netscape 4.7 (Cookies on): PHP uses Cookies to track the session id,
although I turned it OFF!!
Netscape 4.7 (Cookies off): PHP don't uses Cookies and is unable to
track the session id at all

With 4.0.6 I had to _NOT_ use the url_rewriter.tags in order to get url
rewriting to work. With 4.1.1 neither with nor without url_rewriter.tags
works.

What am I missing here???


Regards,

;Martin


P.S.: I'm trying to play with XSLT (Sablotron) and it happens that every
5th request Sablotron crashes with SIG11, everyone else experiencing
this problem??

-- 
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] Sorry for my previous post (was --enable-trans-sid)

2002-01-07 Thread Martin Rode

Sorry guys,

I found the bug in the script included in php documentation.
url-rewriting does not work in the script because the url is not given
within php code.

;martin

-- 
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: [PHP-WIN] HELP! with PHP extension <

2002-01-28 Thread Martin Lindhe

> Hi all,
> 
> Here is the situation.
> 
> I have Windows 2000 SP2, IIS5 running PHP 4.1.1 using CGI.
> 
> My PHP folder is C:\php
> Extension Folder is: C:\php\extension
> PHP.INI file: extention_dir = "C:\php\extension\"

Are you sure the foldername is "extension"?
Just asking you to doublecheck since the default would be
"extensions".

/Martin

-- 
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] PHP5 build problems

2004-10-29 Thread Martin Christian Koch
/usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; 
consider using mkstemp()
ext/gd/gd.lo: In function `zif_imagepsloadfont':
/usr/local/src/php-5.0.2/ext/gd/gd.c(.text+0xa403): undefined reference to 
`T1_StrError'
ext/gd/gd.lo: In function `zif_imagepstext':
/usr/local/src/php-5.0.2/ext/gd/gd.c(.text+0xaf10): undefined reference to 
`T1_StrError'
/usr/local/src/php-5.0.2/ext/gd/gd.c(.text+0xb0f8): undefined reference to 
`T1_StrError'
*** Error code 1

Anyone ?

Regards,
Martin 


[PHP-INSTALL] PHP functions missing

2005-01-12 Thread Daniel Martin-Fabiani
Hello!

I've installed Apache 1.3 on a FreeBSD port and
mod_php4. The installation goes well, but most of the
PHP functions give an error when called:

Fatal error: Call to undefined function: preg_match()
in /web/data/euitt/euitt.inc.php on line 25

And so with Postgres functions. In fact just phpinfo()
works.

I would appreciate any help.

Thanks in advance,

Daniel



__ 
Renovamos el Correo Yahoo!: ¡250 MB GRATIS! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es


[PHP-INST] PHP.INI...Pleas help.

2002-07-18 Thread Rodrigo San Martin

Hi everyone.

I`m trying to install php-4_0_0-Win32 on my computer to work with
Apache_1_3_12_win32. In the installation directory I was supposed to rename
the php.ini-dist file to php.ini and move it to the windows directory where
i put all of my *.ini files. I have don exactly that but it doesn`t work.
When I look up the fil in the windows directory the fil name is php and the
type is "ini-dist-fil". What does this mean? And what kan i do to make it a
ini-fil.

I have to make a loggin program at work and it has to been done by monday.
Pleas help

Regards

Rodrigo San Martin.



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




[PHP-INST] Re: Installation problems with GD :(

2002-11-15 Thread Hans-Martin Frey
Hello,

i have the same problem on solaris. Any help would be great

thanxx
Hans-Martin

David Uzzell wrote:

> I have been able to solve most of my install problems with all the ext's
> I need to have install.
>
> ./configure --prefix=/usr --with-config-file-path=/etc --disable-debug
> --enable-pic --enable-shared --enable-inline-optimization
> --with-apxs=/usr/sbin/apxs --with-exec-dir=/usr/bin --with-regex=system
> --with-mnogosearch=/usr/local/mnogosearch --with-jpeg-dir=/usr
> --with-png --with-zlib --with-db2 --with-db3 --with-gdbm
> --enable-debugger --enable-magic-quotes --enable-sockets
> --enable-track-vars --enable-yp --enable-ftp --enable-wddx
> --with-mysql=/usr --without-oracle --without-oci8 --with-xml
> --with-imap=/usr/sbin --with-kerberos --with-imap-ssl -with-gd
>
> Is the current configure script which does not fail it finds them all
> and goes through OK
>
> Then you go to make and that's a different challenge.
>
> make[3]: Entering directory `/usr/src/download/php-4.2.3/ext/gd'
> /bin/sh /usr/src/download/php-4.2.3/libtool --silent --mode=compile gcc
> -I. -I/ usr/src/download/php-4.2.3/ext/gd
> -I/usr/src/download/php-4.2.3/main -I/usr/src/ download/php-4.2.3
> -I/usr/include/apache -I/usr/src/download/php-4.2.3/Zend -I/u
> sr/include/imap -I/usr/local/mnogosearch/include -I/usr/include/mysql
> -I/usr/src /download/php-4.2.3/ext/xml/expat  -DLINUX=22 -DEAPI
> -DEAPI_MM -DEAPI_MM_CORE_PA TH=/var/run/httpd.mm
> -I/usr/src/download/php-4.2.3/TSRM -g -O2 -prefer-pic  -c g d.c In file
> included from gd.c:83:
> gd_ctx.c: In function `_php_image_output_ctx':
> gd_ctx.c:70: structure has no member named `free'
> gd_ctx.c:98: structure has no member named `free'
> gd.c: In function `_php_image_type':
> gd.c:1014: structure has no member named `free'
> gd.c:1017: structure has no member named `free'
> gd.c: In function `_php_image_create_from':
> gd.c:1209: structure has no member named `free'
> make[3]: *** [gd.lo] Error 1
> make[3]: Leaving directory `/usr/src/download/php-4.2.3/ext/gd'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/src/download/php-4.2.3/ext/gd'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/download/php-4.2.3/ext'
> make: *** [all-recursive] Error 1
>
> That's were we get to.
>
> I have installed to get this all working so far and confirmed that these
> are the ONLY versions I have of these. freetype-2.1.2 gd-2.0.4
> libpng-1.2.5 zlib-1.1.3-25.7 libjpeg-6b-19
>
> And this is Redhat 7.3 and I am doing the Apache and PHP compile
> manually to get the latest stable relases.
>
> Any help you could provide would be great as I ahev spent 2 days on this
> already and I am going round the twist with this one problem.
>
> Thanks in advance
>
> David Uzzell


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




[PHP-INST] PHP4 Installation

2001-03-02 Thread Martin Klässner \(communtech\)

Hi there, can anybody help me ?

I tried to install php4 als Apache Module.

I tried to compile it as a static module
(./configure --with-apache=../apache_1.3.17) but make on apache returned the
following error message:

===> src/modules/php4
gcc -c  -I../../os/unix -I../../include   -DLINUX=22 -DMOD_SSL=208100 -DUSE_
HSREGEX -DEAPI -DUSE_EXPAT -I../../lib/expat-lite `../../apaci`  mod_php4.c
mod_php4.c:28: zend.h: No such file or directory
mod_php4.c:29: php.h: No such file or directory
mod_php4.c:30: php_variables.h: No such file or directory
mod_php4.c:47: php_ini.h: No such file or directory
mod_php4.c:48: php_globals.h: No such file or directory
mod_php4.c:49: SAPI.h: No such file or directory
mod_php4.c:50: php_main.h: No such file or directory
mod_php4.c:52: zend_compile.h: No such file or directory
mod_php4.c:53: zend_execute.h: No such file or directory
mod_php4.c:54: zend_highlight.h: No such file or directory
mod_php4.c:55: zend_indent.h: No such file or directory
mod_php4.c:57: ext/standard/php_standard.h: No such file or directory
make[4]: *** [mod_php4.o] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/klaessner/config/apache_1.3.17/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/klaessner/config/apache_1.3.17'
make: *** [build] Error 2

The directories Zend and TRSM exists.

While trying to install php4 als an DSO Module (--with-apxs), httpd -t
returns the following message:

Cannot load /usr/local/libexec/libphp4.so into server:
/usr/local/libexec/libphp4.so: undefined symbol: mysql_field_count

Can anybody tell me what I've done wrong ?

Thanks !

cu Martin


-- 
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] PHP 5.0 Install Problem

2004-08-12 Thread Martin, Stanley G [CGEY Contractor for Sprint]
Title: PHP 5.0 Install Problem






I’m installing PHP 5.0 using the following command line:

./configure --with-mysql --with-apxs2=/usr/local/apache/bin/apxs

and get this error:

ext/mysql/php_mysql.lo(.text+0x2332): In function `zif_mysql_create_db':

/appsource/php/php-5.0.0/ext/mysql/php_mysql.c:1166: undefined reference to `mysql_create_db'

ext/mysql/php_mysql.lo(.text+0x2561): In function `zif_mysql_drop_db':

/appsource/php/php-5.0.0/ext/mysql/php_mysql.c:1208: undefined reference to `mysql_drop_db'

collect2: ld returned 1 exit status

make: *** [sapi/cli/php] Error 1

Stanley G. Martin

System Administrator
Sprint – EAS Business Intelligence
[EMAIL PROTECTED]