php-install Digest 6 Jun 2002 05:56:07 -0000 Issue 870
Topics (messages 7227 through 7233):
Re: Compiling PHP4.1.2 with GD - possible or not? Need help!
7227 by: andy
Re: Can't make PHP 4.2.1 with Apache2
7228 by: andy
Re: PHP and pdflib
7229 by: andy
problems with function pow()
7230 by: a3
PHP not working - below my settings - please help
7231 by: GMC Administrator
PHP Compile Problems with 4.2.1 and OpenUnix8
7232 by: Samantha Savvakis
Problem with opening a file
7233 by: Fahad Javed
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 ---
first of all untar a new tarball and go into the new phpdir.
Then run your configure command and pipe it into a textfile :
> ./configure --with-mysql=/usr/local/mysql
> --with-apxs=/usr/local/apache/bin/apxs --with-jpeg-dir=/usr/local/lib
> --with-zlib-dir=/usr/local/lib --with-gd=/usr/local > mathias.txt
open the text file and do a search on gd to figure out whats going on.
If everything is ok. do a make and check if it still throuws an error.
Hope this helps,
Andy
----------------------------------------------
http://www.globosapiens.net
Global Travellers Network
"Mathias Haas" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
000701c20bed$32b8ed10$f7ffa8c0@p42k">news:000701c20bed$32b8ed10$f7ffa8c0@p42k...
> I can't seem to install PHP v4.1.2 and GD v.1.8.4 *or* v2.0.1. I keep
> getting the same Make error all the time. I'm completely out of ideas,
> and the only answer I could find searching the web was that it is a
> bug...
>
> I run FreeBSD 4.5 and I've installed GD through the ports (and by hand)
> with all the libraries that it needs. Then I want to re-compile PHP4.1.2
> with the following compile string:
>
> ./configure --with-mysql=/usr/local/mysql
> --with-apxs=/usr/local/apache/bin/apxs --with-jpeg-dir=/usr/local/lib
> --with-zlib-dir=/usr/local/lib --with-gd=/usr/local
>
> That works really fine, and then I run make, which runs for a while and
> then I get this error:
>
> In file included from gd.c:36:
> php_gd.h:69: warning: static declaration for `gdImageColorResolve'
> follows non-static
> gd.c:92: conflicting types for `gdIOCtx'
> /usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
>
> What am I supposed to do?
>
> I'd *really* appreciate any help. Thanks in advance.
>
> /mathias
>
>
--- End Message ---
--- Begin Message ---
check if ./configure did successfully find the apache apxs module and the
mysql module.
Hope this helps,
Andy
----------------------------------------------
http://www.globosapiens.net
Global Travellers Network
"Jon Armitage" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am trying to compile PHP 4.2.1 with mysql and Apache 2 using gcc on
> Solaris 2.7.
>
> After $ ./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs
> and $ make
>
> I get:
>
> Making all in Zend
> make[1]: Entering directory `/home/jon/php-4.2.1/Zend'
> /bin/sh ../libtool --silent --mode=compile
>
gcc -DHAVE_CONFIG_H -I. -I. -I../main -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_
>
PTHREAD_SEMANTICS -D_REENTRANT -I../TSRM -DTHREAD=1 -g -O2 -pthreads -DZTS
> -prefer-pic -c -o zend_language_parser.lo `test -f zend_language_parser.c
||
> echo './'`zend_language_parser.c
> In file included from zend_compile.h:24,
> from zend_language_parser.c:147:
> zend.h:55: unix.h: No such file or directory
> make[1]: *** [zend_language_parser.lo] Error 1
> make[1]: Leaving directory `/home/jon/php-4.2.1/Zend'
> make: *** [all-recursive] Error 1
>
> It is certainly true that the file "unix.h" is nowhere on the system.
Should
> it be? I would be grateful if anyone who knows what's going on could help
> me.
>
> Jon
>
>
>
--- End Message ---
--- Begin Message ---
maybe ./configure did not find your pndflib
Pipe the ./configure into a text file and check the text file for pdflib.
Andy
----------------------------------------------
http://www.globosapiens.net
Global Travellers Network
"Brian Vogt" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
089401c208ec$6059d800$0bc65f80@vogtbrian3">news:089401c208ec$6059d800$0bc65f80@vogtbrian3...
I'm trying to get odflib and php speaking to each other happily. I've run
configure with these options:
./configure
--prefix=/rc48/d38/pubsdev
--enable-force-cgi-redirect
--without-gd
--without-pear
--with-mysql=/rc48/d38/pubsdev/mysql
--with-pdflib=/rc48/d38/pubsdev/pdflib-4.0.2-AIX/bind/c
--with-zlib-dir=/rc48/d38/pubsdev
configure executes without errors, but make dies:
Making all in .
/bin/sh /rc48/d38/pubsdev/php-4.1.1/libtool --silent --mode=link
gcc -I.
-I/rc48/d38/pubsdev/php-4.1.1/ -I/rc48/d38/pubsdev/php-4.1.1/main -I/rc48/d
38/p
ubsdev/php-4.1.1 -I/rc48/d38/pubsdev/php-4.1.1/Zend -I/rc48/d38/pubsdev/incl
ude
-I/rc48/d38/pubsdev/mysql/include -I/rc48/d38/pubsdev/pdflib-4.0.2-AIX/bind/
c/in
clude -I/rc48/d38/pubsdev/php-4.1.1/ext/xml/expat -I/rc48/d38/pubsdev/php-4
.1.1
/TSRM -O2 -o php -export-dynamic stub.lo libphp4.la
ld: 0711-317 ERROR: Undefined symbol: pdf_module_entry
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
make: The error code from the last command is 1.
Stop.
make: The error code from the last command is 1.
Any ideas why?
Thanks!
--Brian
--- End Message ---
--- Begin Message ---
I have a page created to do some calculating with the function pow.
When I use it on the site from my employer it works fine.
http://www.denb.nl/raster.php3 , when I use it on my local Linux Suse
8.0 or Windows it also works fine. When I use it at my provider
http://www.adrieg.nl//files/puntverbreding/raster.php3 I get the
following error messages.
Warning: Invalid argument(s) passed to pow() in
/usr/local/slash/apache/vhosts/adrieg.nl/httpdocs/files/puntverbreding/raster.php3
on line 13
Warning: Division by zero in
/usr/local/slash/apache/vhosts/adrieg.nl/httpdocs/files/puntverbreding/raster.php3
on line 13
Warning: Invalid argument(s) passed to pow() in
/usr/local/slash/apache/vhosts/adrieg.nl/httpdocs/files/puntverbreding/raster.php3
on line 13
Warning: Division by zero in
/usr/local/slash/apache/vhosts/adrieg.nl/httpdocs/files/puntverbreding/raster.php3
on line 13
What can I do or is there a problem at my provider, he is using php 4.2.1
Thanks for advise ...!
--- End Message ---
--- Begin Message ---
We are running win2k server edition with iis (4 i believe)
Installed php 4.2.1
Tried to install both the cgi and ISAPI module - could not get either to work
I get an ocx error when installing it on the standard option
I then gave all folders the iusr security rights, added the .php in the app mappings
under the configuration tab and specified to location of the php4isapi.dll as the
executable
Stopped and restarted iis admin service...php still doesnt work.
Typed in php -i under the command promt within the php directory - and php seems to be
running
Placed the hello.php in my published directory and tried to access it - browser error:
---------------------------------
The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be
displayed.
HTTP 500 - Internal server error
Internet Explorer
--------------------------------
I dont know what to do anymore - any help will be greatly appreciated...
Thanks much!
George
--- End Message ---
--- Begin Message ---
HI,
I have posted this question before and had no response.
I cannot compile PHP on OpenUnix 8. Have successfully installed on
OpenServer 5.0.x but can't get OpenUnix to work.
My configure line is this:
./configure --with-mysql=/usr/local/mysql --with-xml --with-dom --enable-tra
ck-vars --with-zlib-dir=/usr/local/lib
This is the error I'm receiving when I try to make the library:
/bin/sh /home/samsa/archives/php-4.2.1/libtool --silent --mode=link
gcc -I. -I/home/samsa/archives/php-4.2.1/ -I/home/samsa/archives
/php-4.2.1/main -I/home/samsa/archives/php-4.2.1 -I/home/samsa/archives/php-
4.2.1/Zend -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/my
sql/include -I/home/samsa/archives/php-4.2.1/ext/xml/expat -I/home/samsa/ar
chives/php-4.2.1/TSRM -g -O2 -o php -export-dynamic stub.lo libphp4.la
Undefined first referenced
symbol in file
php_register_variable_ex libphp4.a(rfc1867.o)
php_std_post_handler libphp4.a(php_content_types.o)
php_treat_data libphp4.a(main.o)
tsrm_strtok_r libphp4.a(tsrm_virtual_cwd.o)
__builtin_generic libphp4.a(formatted_print.o)
php_register_variable libphp4.a(cgi_main.o)
php_import_environment_variables libphp4.a(cgi_main.o)
UX:ld: ERROR: Symbol referencing errors. No output written to php
collect2: ld returned 1 exit status
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
Here are my environment variables:
LD_RUN_PATH=/usr/lib:/usr/local/lib:/usr/ccs/lib:/usr/local/mysql/lib/mysql:
PWD=/home/samsa/archives/php-4.2.1
TZ=:Australia/Queensland
MAPCHAN=/usr/lib/mapchan/88591.dk
HZ=100
HOSTNAME=uw8
LD_LIBRARY_PATH=;/lib:/usr/lib:/usr/local/lib:/usr/ccs/lib:/usr/local/mysql/
lib/mysql:/usr/local/bdb:/usr/gnu/lib:
SHIFTDOWN=yes
KEYBOARD=C/US
TIMEOUT=0
MANPATH=scohelp:/usr/man:/usr/local/man:
NUMLOCK=no
MACHTYPE=i486-pc-sysv5
TFADMIN=
OLDPWD=/
XMODIFIERS=@im=Local
TERMCAP=/etc/termcap
LANG=en_AU
DISPLAY=swift:0.0
LOGNAME=root
SHLVL=1
XKEYBOARD=C/US
SHELL=/sbin/sh
HOSTTYPE=i486
OSTYPE=sysv5
HOME=/
TERM=scoansi
XNLSPATH=/usr/X/lib/Xsi/C/US
PATH=:/sbin:/usr/sbin:/usr/bin:/etc:/usr/ccs/bin:/usr/local/bin:/usr/gnu/bin
:
_=/usr/bin/env
System = OpenUNIX
Node = uw8
Release = 5
KernelID = 01/06/09
Machine = Pentium III
BusType = ISA
Serial = 3IF048974
Users = 5
OEM# = 0
Origin# = 1
NumCPU = 1
I must be missing a library, or something isn't getting compiled in.
Any help would be much appreciated.
Thanks,
Sam
--- End Message ---
--- Begin Message ---
Hi,
I am using PHP as a Apache module using linux. When I try to open a file it gives me
the following warning in the browser
Warning: fopen("/var/www/html/fjaved/temp/proxydemo.c", "r+") -
Permission denied in /var/www/html/fjaved/foo.php on line 14
Any ideas suggestions etc are welcome
Thanks
Fahad
--- End Message ---