[PHP] configure problem on solaris 2
Hello, I'm having trouble installing php.4.3.11 ub Solaris8: ./configure and it is this promt infinitely: checking host system type...sparc-sun-solaris2.8 I see in on ather window the following processes: 25263 pts/10 S 0:00 /bin/sh ./configure 25323 pts/10 S 0:00 /bin/sh ./build/shtool echo -n -e %B 25330 pts/10 S 0:00 sed -e s/\([a-zA-Z0-9]\):\([^,]*\),*/opt_ALIAS_\2=\1;/g 25332 pts/10 R 0:21 tr x- x_ Any ideas ? thanks! -- Dipl.-Ing. Stefan Heim University of Ulm Sektion Informatik i.d. Psychotherapie Tel: +4973150025702 Fax: +4973150025662 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] configure problem?
hi, got a question on the usage of include: when i do something like this: ? include('http://www.myurl.com'); ? where my php file is located under the same directory structure of www.my.url.com, the browse seems keep on loading until it returns a blank page. does this mean that php can't include any file located in the same directory structure of itself? or is it more like a configuration problem? here's my configure command from phpinfo(), if this helps: './configure' '--prefix=/opt/third-party/depot/Linux-2.2c2.1-i686/php-4.0.5' '--with-apache=/workplace/dpd/btp/apache_1.3.20' '--enable-bcmath' '--with-config-file-path=/opt/third-party/depot/Linux-2.2c2.1-i686/php-4.0.5 /lib' '--enable-exif' '--enable-track-vars' '--with-calendar=shared' '--enable-safe-mode' '--enable-magic-quotes' '--enable-trans-sid' '--enable-wddx' '--enable-ftp' '--with-ldap' thank you! /bw -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] configure problem?
On Thu, 4 Apr 2002, Boris Wong wrote: got a question on the usage of include: when i do something like this: ? include('http://www.myurl.com'); ? where my php file is located under the same directory structure of www.my.url.com, the browse seems keep on loading until it returns a blank page. does this mean that php can't include any file located in the same directory structure of itself? or is it more like a configuration problem? Um, does the page at http://www.myurl.com/ by any chance execute that include statement? Because then you have an infinite recursion. I of course can't really figure out what you're talking about because you have made up domains like www.myurl.com and www.my.url.com and I don't know whether they're different because you weren't paying attention or because you meant them to be different. Use real data. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] configure problem?
sorry, my bad. i meant the two urls are the same. they're intranet pages so giving out real data won't be useful. Um, does the page at http://www.myurl.com/ by any chance execute that include statement? Because then you have an infinite recursion. that's not likely the case. i also noticed that the 'Virtual Directory Support' is disabled. thought this could be the root of the problem? /bw -Original Message- From: Miguel Cruz [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 10:10 AM To: Boris Wong Cc: [EMAIL PROTECTED] Subject: Re: [PHP] configure problem? On Thu, 4 Apr 2002, Boris Wong wrote: got a question on the usage of include: when i do something like this: ? include('http://www.myurl.com'); ? where my php file is located under the same directory structure of www.my.url.com, the browse seems keep on loading until it returns a blank page. does this mean that php can't include any file located in the same directory structure of itself? or is it more like a configuration problem? Um, does the page at http://www.myurl.com/ by any chance execute that include statement? Because then you have an infinite recursion. I of course can't really figure out what you're talking about because you have made up domains like www.myurl.com and www.my.url.com and I don't know whether they're different because you weren't paying attention or because you meant them to be different. Use real data. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] configure problem?
On Thu, 4 Apr 2002, Boris Wong wrote: sorry, my bad. i meant the two urls are the same. they're intranet pages so giving out real data won't be useful. Yeah, it's not so much that I have any interest in visiting that page, as that the process of making stuff up always introduces extra confusion. Um, does the page at http://www.myurl.com/ by any chance execute that include statement? Because then you have an infinite recursion. that's not likely the case. I'd check your server's error log just to be sure. Also, try including that same address from a test page outside its directory structure, just to see what happens. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] configure problem: --with-mysql=/what exactly?
Hi, Do you have msyql-dev (or similar) package installed? Arpi I have tried the following, each time removing config.cache beforehand: --with-mysql=/usr --with-mysql=/usr/include --with-mysql=/usr/include/mysql --with-mysql=/usr/lib According to a friend with mysql Debs installed it should be the first, yet PHP tells me each time it's using the bundled MySQL version and to be careful of running it with other mysql-using modules. -- PHP General 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] configure problem
I am setting up a new system for a friend and am getting the following error when running ./configure - /usr/libexec/elf/ld: cannot find -lgd. error code 1 This machine is a default install of FreeBSD4.4, Apache-1.3.22, MySQL-3.23.44 and PHP-4.0.6. I have set this same system up on several other machines and have never come across this error. What am I missing that is causing this problem? -- Chip W. -- PHP General 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] configure problem: --with-mysql=/what exactly?
Hi all, I have Debian Sid, I have Apache installed by source, and am trying to install the source of PHP4.0.6. For reasons I won't go into, I cannot use the Debian packages of Apache or PHP. The problem is when I come to configure PHP with mysql support. I have MySQL debs installed: mysql-server, mysql-client, libmysqlclient10-dev. I can see the mysql libs in /usr/lib/, and the headers in /usr/include/mysql/. I have tried the following, each time removing config.cache beforehand: --with-mysql=/usr --with-mysql=/usr/include --with-mysql=/usr/include/mysql --with-mysql=/usr/lib According to a friend with mysql Debs installed it should be the first, yet PHP tells me each time it's using the bundled MySQL version and to be careful of running it with other mysql-using modules. Any ideas why configure doesn't pick up my local MySQL installation? It certainly picks up the currect socket path. Many thanks, James Green -- PHP General 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] configure problem
On Tue, 20 Nov 2001 01:11, Chip wrote: I am setting up a new system for a friend and am getting the following error when running ./configure - /usr/libexec/elf/ld: cannot find -lgd. error code 1 This machine is a default install of FreeBSD4.4, Apache-1.3.22, MySQL-3.23.44 and PHP-4.0.6. I have set this same system up on several other machines and have never come across this error. What am I missing that is causing this problem? -- Chip W. It would appear that you don't have gd on that machine, or it is not where the config is expecting to find it. -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA Someone removed all the twos from this deck, Tom deduced. -- PHP General 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] configure problem
On Monday 19 November 2001 15:54, David Robley wrote: On Tue, 20 Nov 2001 01:11, Chip wrote: I am setting up a new system for a friend and am getting the following error when running ./configure - /usr/libexec/elf/ld: cannot find -lgd. error code 1 This machine is a default install of FreeBSD4.4, Apache-1.3.22, MySQL-3.23.44 and PHP-4.0.6. I have set this same system up on several other machines and have never come across this error. What am I missing that is causing this problem? -- Chip W. It would appear that you don't have gd on that machine, or it is not where the config is expecting to find it. Well it's working now, and not because I didn't have gd installed, I did, do. I downloaded php-4.0.5 and ran the exact same ./configure line as in 4.0.6 and it installed just fine, had no problem finding everything. Could there be a problem in 4.0.6 I wonder? -- Chip W. -- PHP General 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] configure problem
On Tue, 20 Nov 2001 13:39, Chip wrote: On Monday 19 November 2001 15:54, David Robley wrote: On Tue, 20 Nov 2001 01:11, Chip wrote: I am setting up a new system for a friend and am getting the following error when running ./configure - /usr/libexec/elf/ld: cannot find -lgd. error code 1 This machine is a default install of FreeBSD4.4, Apache-1.3.22, MySQL-3.23.44 and PHP-4.0.6. I have set this same system up on several other machines and have never come across this error. What am I missing that is causing this problem? -- Chip W. It would appear that you don't have gd on that machine, or it is not where the config is expecting to find it. Well it's working now, and not because I didn't have gd installed, I did, do. I downloaded php-4.0.5 and ran the exact same ./configure line as in 4.0.6 and it installed just fine, had no problem finding everything. Could there be a problem in 4.0.6 I wonder? -- Chip W. FWIW Rasmus posted this about gd 2.01 and 4.0.6 a while back: Build gd-2.0.1 with these two lines in your GD2 Makefile: CFLAGS=-g -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE LIBS=libgd.a -lpng -lz -ljpeg -lfreetype -lm Don't install the lib anywhere, just leave them in the gd-2.0.1 directory. Then build PHP using: --with-gd=/home/your_dir/gd-2.0.1 --with-freetype-dir=/usr --enable-gd-native-ttf (note there was a typo in 4.0.6 on this one) use: --enable-gd-native-tt if you are using 4.0.6 --enable-gd-imgstrttf --with-jpeg-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 This assumes that you have freetype2 installed along with the libjpeg and libpng libs under /usr -Rasmus -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA Dinna wave that axe aboot, Jimmy! said Tom heedlessly. -- PHP General 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]