php-install Digest 30 Jul 2002 23:58:04 -0000 Issue 955
Topics (messages 7948 through 7958):
php 4.2.2 build with sablotron has multiple defines error
7948 by: Stephen Dominic
7951 by: Moraes, Fabio
PHP 4.2.2 with xslt options has multiple defined error
7949 by: Stephen Dominic
How to edit the .conf file?!?!?!?
7950 by: James
Re: php 4.2.2 and Gd2 (Continue)
7952 by: Maxim Volkov
7955 by: Alexander Saers
PHP works with problems, please help
7953 by: Ing. Rajesh Kumar
Re: Globals
7954 by: Bob Lockie
How to
7956 by: duo fu
Re: [PHP-DEV] [CROSS POST] PHP Meetup & Texas PHP Users
7957 by: Gabriel Ricard
Help needed
7958 by: Fernando Rêgo Rodrigues
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Trying to build PHP 4.2.2 with Sablot-0.95 and expat-1.95.4 using
the --enable-xslt --with-xslt-sablot config flags causes a 'multiple define'
when then trying to build Apache (static build of PHP). The PHP build for
dynamic module install with Apache causes same error.
The error is in sablot.c multiple definition of 'SXPF_DISPOSE_NAMES' line
153 in function 'zm_startup_xslt'
I can't think of a workaround or anything else to try. I am using
./configure --with-mysql -- with-apxs --enable-xslt --with-xslt-sablot for
the dynamic build for Apache. What am I doing wrong? Is anyone able to
confirm the build with these flags is working?
Any helpful suggestions are much appreciated since I am /fresh out of ideas?
-Steve Dominic
--- End Message ---
--- Begin Message ---
Did you patch your PHP ??
http://www.gingerall.com/charlie/ga/xml/d_sab.xml
Hugs,
---
Fabio Moraes
[EMAIL PROTECTED]
+55 21 3088 9548
-----Original Message-----
From: Stephen Dominic [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 30, 2002 9:52 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] php 4.2.2 build with sablotron has multiple defines
error
Trying to build PHP 4.2.2 with Sablot-0.95 and expat-1.95.4 using
the --enable-xslt --with-xslt-sablot config flags causes a 'multiple define'
when then trying to build Apache (static build of PHP). The PHP build for
dynamic module install with Apache causes same error.
The error is in sablot.c multiple definition of 'SXPF_DISPOSE_NAMES' line
153 in function 'zm_startup_xslt'
I can't think of a workaround or anything else to try. I am using
./configure --with-mysql -- with-apxs --enable-xslt --with-xslt-sablot for
the dynamic build for Apache. What am I doing wrong? Is anyone able to
confirm the build with these flags is working?
Any helpful suggestions are much appreciated since I am /fresh out of ideas?
-Steve Dominic
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Trying to build PHP 4.2.2 with Sablot-0.95 and expat-1.95.4 using
the --enable-xslt --with-xslt-sablot config flags causes a 'multiple define'
when then trying to build Apache (static build of PHP). The dynamic build
causes same error.
The error is in sablot.c multiple definition of 'SXPF_DISPOSE_NAMES' line
153 in function 'zm_startup_xslt'
I can't think of a workaround or anything else to try. I am using
./configure --with-mysql -- with-apxs --enable-xslt --with-xslt-sablot
Any helpful suggestions are much appreciated since I am /fresh out of ideas?
-Steve Dominic
--- End Message ---
--- Begin Message ---
Hi,
I just installed PHP and want to edit the conf file of apache i am
running 98se how do i edit the conf file and what data do i insert?
--- End Message ---
--- Begin Message ---
OK, I guess I have to answer my self. :-)
After my colleage sugested me to do "make distclean" (not "make clean") to
get reed of the files left after previous "make" attempts on both
directories : php and gd2 everything worked as a sharm!
Breefly I go over install in my case. Assuming that the rest of the packages
are installed: zlib, libpng, jpeg-6b, freetype2.
GD2
----------------------------------------------------------------------------
--------------------
1. Make sure your Makefile in gd2 directory is edited and has the following:
LIBS=-lgd -lpng -lz -ljpeg -lfreetype -lm (left intact the original
gd-2.0.1 distribution)
NOTE: "LIBS=libgd.a -lpng -lz -ljpeg -lfreetype -lm" as suggested Rasmus did
not worked for me.
Next to do, execute command: "freetype-config --cflags" and place result
into INCLUDEDIRS:
Original from the gd-2.0.1 distribution
INCLUDEDIRS=-I. -I/usr/include/freetype2 -I/usr/include/X11 -I/usr/X11R6/inc
lude/X11 -I/usr/local/include
Edited:
INCLUDEDIRS=-I. -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/
X11R6/include/X11 -I/usr/local/include
Save changes.
make
PHP
----------------------------------------------------------------------------
-----------------------
./configure
make
make install
"Maxim Volkov" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
> I am experiencing the same problem as Electroteque -- Can not install
> php-4.2.2 with gd2 (and I have not installed gd-1.8 , this is a freshly
> build Turbolinux box). After wrestling with gd's "make" (edit options in
> Makefile) I managed to install it at once but was unable to build it into
> PHP.
> PHP configuration:
> ----------------------------------------------------
> ./configure
> --with-apache=/usr/local/apache_1.3.26
> --with-config-file-path=/usr/local/apache/conf
> --with-mysql=/usr/local/mysql
> --enable-track-vars
> --enable-trans-sid
> --enable-bcmath
> --with-curl
> --with-zlib-dir
> --with-pdflib
> --enable-static-pdflib
> --with-jpeg-dir=/usr/local/jpeg-6b
> --with-png-dir=/usr/local/libpng
> --with-tiff-dir=/usr/local/tiff
> --enable-gd-native-ttf
> --enable-gd-imgstrttf
> --with-gd=/usr/local/gd
> --with-freetype-dir=/usr/local/include/freetype2
> --------------------------------------------------
> Configures fine without warnings.
>
> The make's error:
> -----------------------------------------------------------------------
> /usr/local/lib/libgd.a(gd.o): In function `gdImageColorResolve':
> gd.o(.text+0x688): multiple definition of `gdImageColorResolve'
> ext/gd/gd.o:/usr/local/php/ext/gd/gd.c:425: first defined here
> /usr/bin/ld: Warning: size of symbol `gdImageColorResolve' changed from
224
> to 213 in gd.o
> ext/gd/gd.o: In function `php_free_gd_image':
> /usr/local/php/ext/gd/gd.c:288: undefined reference to `zif_imageellipse'
> collect2: ld returned 1 exit status
> make: *** [sapi/cli/php] Error 1
> --------------------------------------------------------------------------
>
> Yesterday looked on and tried every possible suggestion found on the topic
> on line (including http://www.php.net/~rasmus/gd.html) with no luck of
> making PHP-4.2.2. collaborate with GD2
>
> What should I do next? Really appreciate any help after weekend long
> straggle.
>
> Maxim Volkov
>
>
>
>
--- End Message ---
--- Begin Message ---
I to hade some problems a while ago. After reporting some bugs they worked
out this sulotion that will be in the next version
http://bugs.php.net/bug.php?id=15303&edit=2
They have included gd 2 with the php so that all install issues are gone :).
Give it a try :)
/Alexander
----- Original Message -----
From: "Maxim Volkov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 30, 2002 3:45 PM
Subject: [PHP-INST] Re: php 4.2.2 and Gd2 (Continue)
> OK, I guess I have to answer my self. :-)
> After my colleage sugested me to do "make distclean" (not "make clean") to
> get reed of the files left after previous "make" attempts on both
> directories : php and gd2 everything worked as a sharm!
>
> Breefly I go over install in my case. Assuming that the rest of the
packages
> are installed: zlib, libpng, jpeg-6b, freetype2.
>
> GD2
> --------------------------------------------------------------------------
--
> --------------------
> 1. Make sure your Makefile in gd2 directory is edited and has the
following:
>
> LIBS=-lgd -lpng -lz -ljpeg -lfreetype -lm (left intact the original
> gd-2.0.1 distribution)
> NOTE: "LIBS=libgd.a -lpng -lz -ljpeg -lfreetype -lm" as suggested Rasmus
did
> not worked for me.
>
> Next to do, execute command: "freetype-config --cflags" and place result
> into INCLUDEDIRS:
> Original from the gd-2.0.1 distribution
>
>
>
>
>
INCLUDEDIRS=-I. -I/usr/include/freetype2 -I/usr/include/X11 -I/usr/X11R6/inc
> lude/X11 -I/usr/local/include
>
> Edited:
>
>
>
NCLUDEDIRS=-I. -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/
> X11R6/include/X11 -I/usr/local/include
>
> Save changes.
>
> make
>
> PHP
> --------------------------------------------------------------------------
--
> -----------------------
> ./configure
> make
> make install
>
>
> "Maxim Volkov" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Hello,
> >
> > I am experiencing the same problem as Electroteque -- Can not install
> > php-4.2.2 with gd2 (and I have not installed gd-1.8 , this is a freshly
> > build Turbolinux box). After wrestling with gd's "make" (edit options in
> > Makefile) I managed to install it at once but was unable to build it
into
> > PHP.
> > PHP configuration:
> > ----------------------------------------------------
> > ./configure
> > --with-apache=/usr/local/apache_1.3.26
> > --with-config-file-path=/usr/local/apache/conf
> > --with-mysql=/usr/local/mysql
> > --enable-track-vars
> > --enable-trans-sid
> > --enable-bcmath
> > --with-curl
> > --with-zlib-dir
> > --with-pdflib
> > --enable-static-pdflib
> > --with-jpeg-dir=/usr/local/jpeg-6b
> > --with-png-dir=/usr/local/libpng
> > --with-tiff-dir=/usr/local/tiff
> > --enable-gd-native-ttf
> > --enable-gd-imgstrttf
> > --with-gd=/usr/local/gd
> > --with-freetype-dir=/usr/local/include/freetype2
> > --------------------------------------------------
> > Configures fine without warnings.
> >
> > The make's error:
> > -----------------------------------------------------------------------
> > /usr/local/lib/libgd.a(gd.o): In function `gdImageColorResolve':
> > gd.o(.text+0x688): multiple definition of `gdImageColorResolve'
> > ext/gd/gd.o:/usr/local/php/ext/gd/gd.c:425: first defined here
> > /usr/bin/ld: Warning: size of symbol `gdImageColorResolve' changed from
> 224
> > to 213 in gd.o
> > ext/gd/gd.o: In function `php_free_gd_image':
> > /usr/local/php/ext/gd/gd.c:288: undefined reference to
`zif_imageellipse'
> > collect2: ld returned 1 exit status
> > make: *** [sapi/cli/php] Error 1
>
> --------------------------------------------------------------------------
> >
> > Yesterday looked on and tried every possible suggestion found on the
topic
> > on line (including http://www.php.net/~rasmus/gd.html) with no luck of
> > making PHP-4.2.2. collaborate with GD2
> >
> > What should I do next? Really appreciate any help after weekend long
> > straggle.
> >
> > Maxim Volkov
> >
> >
> >
> >
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Hi everybody
I am new to PHP and today I installed PHP By using the instruction from
http://www.umesd.k12.or.us/php/win32install.html and
http://www.php.net/manual/en/install.windows.php
I did the following :
Downloaded Windows Binaries (PHP 4.2.2 zip package)
unzipped files to C:/php
copied php4_ts.dll to system32
Copied all the dll's from DLLs directory to system32
Copied php.ini_recommended to C:/windows and renamed to php.ini
Edited php.ini as follows :
extension_dir = C:\php\extensions
doc_root = C:\Inetpub\wwwroot
browscap = c:\windows\system32\inetsrv\browscap.ini
added .php extension and php4isapi.dll to IIS (Home directory ->
Configuration -> Add -> and so on ..)
My Problem :
Created first page with <? phpinfo(); ?> and it works.
Tried my other asp and aspx pages and they are also working but after few
pages it starts to work strangely :
Sometimes cannot find a page. After few refreshes it finds the page.
Sometimes just write the following code : -2147417842 (0x8001010e)
And after few more minutes it totally stops working. Cannot find server
which is on my local machine.
There was a warning in the instructions :
The SAPI modules have been significantly improved in the 4.1 release,
however, you may find that you encounter possible
server errors or other server modules such as ASP failing, in older systems.
If this is the cause, then what should I do to fix it ?
I am using WinXP with IIS 5.1
Can someone help, please
Thanks in advance
Raja
--- End Message ---
--- Begin Message ---
On Tue, 30 Jul 2002 03:31:44 +0100, Nuala & Tony wrote:
>Hi Could somebody help me please.
>
>I am new to PHP and have some code which works fine on my web host, who has
>an old version of PHP.
>
>I am struggling to carry out any updates and testing on my home pc.
>
>I have tried quite a few suggestions from
>php.net/manual/en/security.registerglobals.php but none seem to work.
>
>I have PHP 4.21 and would like to get the code correct to pass through a few
>variables from one page to another.
>
>My Register Globals is turned on and by default Track Vars, but I have not
>been able to verify this.
>
>I am running Windows 2000 Professional, Apache and MYSQL.
>
>The vars I am trying to pass to the next page are called $sessCFSuser and
>$sessCFSuid.
>
>I would be most gratefull for any sort of help.
What kind of error message are you seeing?
--- End Message ---
--- Begin Message ---
Hi, friend:
I urgenly need your help. I have been trying to install php4.2.1 and
apache1.3.26 in y Redhat6.1. However after following step by step of the
procedures in the manual of PHP.
Note I config apache using: ./configure --prefix=/usr/local/apache1326
--enable-module=so
I config php using: ./configure --with-apxs=/usr/local/apache1326/bin/apxs
--with-mysql=/usr2/mysql --enable-track-vars
It DID NOT SUCCEED and always complained that:
---------------------------------
[root@broekhoven local]# ./apache1326/bin/apachectl start
Syntax error on line 205 of /usr/local/apache1326/conf/httpd.conf:
Cannot load /usr/local/apache1326/libexec/libphp4.so into server:
/usr/local/apache1326/libexec/libphp4.so: undefined symbol: pcre_malloc
./apache1326/bin/apachectl start: httpd could not be started.
-----------------------------------------------
I add the line "usr/local/apache1326/libexec/ " in /etc/ld.so.conf, save and
run lusing dconfig again. But it still did not work. Complaint still remains
same.
Any help will be greatly appreciated!
Frank
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
--- End Message ---
--- Begin Message ---
Jay Blanchard wrote:
> Howdy all!
>
> Just wanted to remind everyone that sign-up for the PHP Meetup is still in
> progress at http://php.meetup.com . At latest count there are 289 folks
> signed up world-wide with the top 10 cities being;
>
> Washington DC (9 members)
> Toronto (9 members)
> Leeds, UK (8 members)
> London, England (8 members)
> Amsterdam (7 members)
> Melbourne (6 members)
> Atlanta (5 members)
> Oakland-Alameda, CA (5 members)
> Manhattan (below 42nd St) (5 members)
> Montréal (4 members)
>
> Why do something like this? Meet other developers, networking (you can never
> tell when you're going to need another pair of hands for a project),
> networking (you can never tell when someone is going to need to hire extra
> hands for a project), and networking (you get the idea). Sign up soon! There
> are thousands of PHP folks out there, spread the word.
>
First of all, sorry for the additional cross post. MeetUp.com lacks the
ability to let you contact other folks who have signed up. In my general
area, Massachusetts, there are a bunch of tiny groups scattered about,
and I'd like a chance to get all of them to converge in one place to
make the meetup worth it for all of us. I know there's only a few days
before the meetup is to take place, but if folks from the following
areas could email me, then we can try and work out somewhere we can all
meet, instead of there being 5 groups of 2 or 3 people.
Boston, Ma
Hyannis, Ma
North Boston Suburbs
Springfield, Ma
Manchester, NH
(heck, even people in RI and CT who don't mind driving)
Meetup.com cancels meetups for groups less than 5 also, so I'd like to
see if we can just get one or two big groups.
Also, anyone else in this area... I've been looking for user groups in
the Massachusetts area, and the only one that did exist, was PHPUG New
England, which doesn't seem to exist anymore. Anyone interested in
getting one going around here?
Again, sorry for the cross post.
--
Gabriel Ricard
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Hi,
I am running Apache WebServer version 2.0.39 on Windows 2000.
I have install PHP 4.2.2 as a server module for Apache.
I have been using the install.txt that came with php-4.2.2-Win32.zip that refers to
Apache 1.3.x.
After stoping the Apache I did this...
The lines that I have inclued on httpd.conf were :
LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
and copy PHP.ini to WINNT folder. Also copy php4ts.dll to winnt/system32.
In the PHP instalation I have copied all php_*.* from the extensions directory to
c:\php\sapi, also made a change to PHP.ini extension_dir=c:\php\sapi
On starting the Apache web server I receive this msg :
"The request operation has failed".
Since this version are very recent is there any changes on the httpd.conf that I don't
know about ?
Thanks, FRR, Portugal.
F.R.(APK59/BKA608:11)
Lista de espécies/List of species -> http://www.geocities.com/apk59frr/
---------------------------------
Yahoo! PageBuilder - O super editor para criação de sites: é grátis, fácil e rápido.
--- End Message ---