Re: [PHP-INST] configure doesn't find libjpeg
hi the lib has to be in ur php folder if it aint ..it cant be found good luck toby . _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] Re: Don't know how to parse *.html with PHP
> Whenever I configure Apache for PHP-parsing of .html-files, all HTML-files > don't get parsed, instead the dialog "open/save" are shown when I try to > view any .html-page. > At the same time all .php files works correct. This problem occured only > when I add .html files parsing to httpd.conf. > > In httpd.conf: > > AddType application/x-httpd-php .php - this works correct > AddType application/x-httpd-php .php .html - the dialog "open/save" shown > only with .html, .php still working Mmmm.. I think this trouble arise from mime types (application/x-httpd-php), but I don't know how to correct it. -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] PHP4.3.0 + AIX4.3.3 compile problems
Hi, i have big problems compiling and installing php4.3.0 on our AIX4.3.3 System. I have compiled and installed apache-1.3.27 with the following options ./configure \ "--with-layout=GNU" \ "--with-perl=/usr/local/bin/perl" \ "--prefix=/usr/local/apache" \ "--enable-module=most" \ "--enable-shared=max" \ make make install All works fine until this point. Then i try to compile php4.3.0 ./configure --with-apxs=/usr/local/apache/sbin/apxs - -with-config-file-path=/usr/local/apache --enable-track-vars --with-ingres=$II_SYSTEM/ingres Works fine. Then. make ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_unlock ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_destroy ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_init ld: 0711-317 ERROR: Undefined symbol: .pthread_key_create ld: 0711-317 ERROR: Undefined symbol: .pthread_setspecific ld: 0711-317 ERROR: Undefined symbol: .pthread_getspecific ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_trylock ld: 0711-317 ERROR: Undefined symbol: .pthread_self ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status make: *** [sapi/cli/php] Error 1 So, what happens here? Please help me. Thanks. Thomas -- [EMAIL PROTECTED] -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-INST] configure doesn't find libjpeg
> hi > the lib has to be in ur php folder > if it aint ..it cant be found > > good luck > > toby . > > Hi! How do you know ? ;-) Where can I find information like this for other libs? Which important libs have the same "problem"? If I put libjpeg into my php directory (/usr/local/php-4.3.0), must I spezify this path again or just --with-jpeg? Which file has to be copied into my php-dir? libjpeg.so.62? Thank you! regards Andreas -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] Re: phpPgAdmin - Safari bug
Here, on Darwin 6.3, X 10.2.3, Safari b5, php 4.3.0, postgres 7.3.1, phpPgAdmin 2.4.2, the login form is submitted successfully, and the parent frame page is returned, but in each of the two frames (i.e. the 2 urls below) there is again the login page, as if there was a redirect in each. But, in IE using same user/pass, this redirect does not happen. http://ruggier.dyndns.org/phpPgAdmin/left.php?server=1 http://ruggier.dyndns.org/phpPgAdmin/main.php?server=1 mario On mardi, jan 21, 2003, at 22:12 Europe/Amsterdam, John Moore wrote: No -- everything looks OK on my install using phpPgAdmin 2.3.1 and Safari v51. John Pikes Peak Technology and Computer Services http://www.pikespeaktech.com/ On Tuesday, January 21, 2003, at 01:24 PM, Mario Ruggier wrote: Following the instructions on http://developer.apple.com/internet/macosx/postgres.html, i have successfully installed postgres + php access + phpPgAdmin. However, logging in (name/password are accepted) to phpPgAdmin with Safari b51, the resulting page is a bizarre double frames of the same login page. On IE 5.2, the resulting page is what you would expect. Anyone has an installation of phpPgAdmin that can check this behaviour? mario ___ web-development mailing list | [EMAIL PROTECTED] Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/web-development Do not post admin requests to the list. They will be ignored. Pikes Peak Technology and Computer Services http://www.pikespeaktech.com/ -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] php doesn't work with variables like a.php?v=100
Hello, I have installed php 4.2.3 for Windows, in a Apache server ( 1.3.27 ). I think I have missed some step during the installation of php. Everything is all right, and php executes correctly things like but if I want to pass a variable to other php, in this way, www.localhost.com/testing.php?test=ok and the code inside testing.php is: I obtain the wrong message ( oopps, ok=-- ). , so ok is null. I think I need to put something more in my httpd.conf file, what I don't know what. Any idea? Abel.
Re: [PHP-INST] PHP4.3.0 + AIX4.3.3 compile problems
What c compiler do you use ? You must compile apache with --enable-module=so because you are compiling php like module. I have working that configuration apache1.3.27 and php 4.2.3 without problems on aix 4.3.3.10 and using gcc.3.2.1 Tu portal de Aix en Español http://aixpanish.com - Original Message - From: "Thomas Goebel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 22, 2003 10:19 AM Subject: [PHP-INST] PHP4.3.0 + AIX4.3.3 compile problems > Hi, > > i have big problems compiling and installing php4.3.0 on our AIX4.3.3 > System. > I have compiled and installed apache-1.3.27 with the following options > ./configure \ > "--with-layout=GNU" \ > "--with-perl=/usr/local/bin/perl" \ > "--prefix=/usr/local/apache" \ > "--enable-module=most" \ > "--enable-shared=max" \ > > make > make install > > All works fine until this point. > > Then i try to compile php4.3.0 > ./configure --with-apxs=/usr/local/apache/sbin/apxs - > -with-config-file-path=/usr/local/apache --enable-track-vars > --with-ingres=$II_SYSTEM/ingres > Works fine. > > Then. > > make > > ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_unlock > ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock > ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_destroy > ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_init > ld: 0711-317 ERROR: Undefined symbol: .pthread_key_create > ld: 0711-317 ERROR: Undefined symbol: .pthread_setspecific > ld: 0711-317 ERROR: Undefined symbol: .pthread_getspecific > ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_trylock > ld: 0711-317 ERROR: Undefined symbol: .pthread_self > ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more > information. > collect2: ld returned 8 exit status > make: *** [sapi/cli/php] Error 1 > > So, what happens here? > > Please help me. > > Thanks. > Thomas > -- > > > [EMAIL PROTECTED] > > > > -- > 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] PHP4.3.0 + AIX4.3.3 compile problems
I thougth, that the configure options --enable-module=most --enable-shared=max includes the --enable-module=so option. I`m wrong? I use gcc version 2.95.2 19991024 (release). Because i had not found a newer one on Bull or other AIX software sites. Can you please tell me your steps/options to compile. BTW: Apache works fine. Regards, Thomas Jose wrote: What c compiler do you use ? You must compile apache with --enable-module=so because you are compiling php like module. I have working that configuration apache1.3.27 and php 4.2.3 without problems on aix 4.3.3.10 and using gcc.3.2.1 Tu portal de Aix en Español http://aixpanish.com - Original Message - From: "Thomas Goebel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 22, 2003 10:19 AM Subject: [PHP-INST] PHP4.3.0 + AIX4.3.3 compile problems Hi, i have big problems compiling and installing php4.3.0 on our AIX4.3.3 System. I have compiled and installed apache-1.3.27 with the following options ./configure \ "--with-layout=GNU" \ "--with-perl=/usr/local/bin/perl" \ "--prefix=/usr/local/apache" \ "--enable-module=most" \ "--enable-shared=max" \ make make install All works fine until this point. Then i try to compile php4.3.0 ./configure --with-apxs=/usr/local/apache/sbin/apxs - -with-config-file-path=/usr/local/apache --enable-track-vars --with-ingres=$II_SYSTEM/ingres Works fine. Then. make ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_unlock ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_destroy ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_init ld: 0711-317 ERROR: Undefined symbol: .pthread_key_create ld: 0711-317 ERROR: Undefined symbol: .pthread_setspecific ld: 0711-317 ERROR: Undefined symbol: .pthread_getspecific ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_trylock ld: 0711-317 ERROR: Undefined symbol: .pthread_self ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status make: *** [sapi/cli/php] Error 1 So, what happens here? Please help me. Thanks. Thomas -- [EMAIL PROTECTED] -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- [EMAIL PROTECTED] _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ We ARE as gods and might as well get good at it. -- Whole Earth Catalog _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-INST] PHP4.3.0 + AIX4.3.3 compile problems
On bull, you can find gcc-3.0.1, but it doesn't works fine to me(in some cases), so after i can compile 3.2.1 with gcc-3.0.1, then remove 3.0.1. Download sources of apache and php from http://aixpdslib.seas.ucla.edu I don't know exactly what is the meaning of --enable-module=most --enable-shared=max , but you don't have anything to lose if you recompiled with --enable-module=so I don't remember exactly my configure options, but they are more or less so: ./configure --enable-module=so --with-layout=GNU --prefix=/usr/local/apache1 3 Regards. -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-INST] configure doesn't find libjpeg
hi Thank you! ur welcum :) How do you know ? ;-) tell me 1st if it fixed ur probelm up well it takes a bit of hard learing to know it all . every time u see an error like that know that the path is messed up or move ur folders and files around in php folder and apache folder .. silly. but it works . Where can I find information like this for other libs? Which important >libs have the same "problem"? well all the libriez have to be in ur php folder all the ones u want to configure that iz If I put libjpeg into my php directory (/usr/local/php-4.3.0), must I spezify this path again or just --with->jpeg? --with-gd --with-jpeg-dir=C:\WINNT\system32\inetsrv\php\libjpeg --with-tiff-dir=C:\WINNT\system32\inetsrv\php\tiff these lines cum stright from ny php.ini i guess ur workin with redhat/linux so work ur way around with the path . i ve no clue how paths go there .. sorry :$ Which file has to be copied into my php-dir? libjpeg.so.62? the folder libjpeg has to be inside ur php folder hope i ve helped good luck toby .. _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-INST] php doesn't work with variables like a.php?v=100
Abel Monroy wrote: Hello, I have installed php 4.2.3 for Windows, in a Apache server ( 1.3.27 ). I think I have missed some step during the installation of php. Everything is all right, and php executes correctly things like echo "Hello world"; ?> but if I want to pass a variable to other php, in this way, www.localhost.com/testing.php?test=ok and the code inside testing.php is: if ($test=="ok") { // I have tried as well to put strcmp (($test, "ok") == 0) echo "it works"; } else echo "oopps, ok=$ok--"; ?> I obtain the wrong message ( oopps, ok=-- ). , so ok is null. I think I need to put something more in my httpd.conf file, what I don't know what. The default setting for register_globals in php.ini has changed from "on" to "off" for security reasons. Use the superglobals $_GET['ok'] and $_POST['ok'] depending upon GET or POST data. Its in the release notes. Regards Chris -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-INST] php doesn't work with variables like a.php?v=100
thanks, this was fixed the problem. - Original Message - From: "Chris Hewitt" <[EMAIL PROTECTED]> To: "Abel Monroy" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, January 22, 2003 1:11 PM Subject: Re: [PHP-INST] php doesn't work with variables like a.php?v=100 > Abel Monroy wrote: > > >Hello, > > > >I have installed php 4.2.3 for Windows, in a Apache server ( 1.3.27 ). I think I have missed some step during the installation of php. > > > >Everything is all right, and php executes correctly things like > > > > >echo "Hello world"; > >?> > > > >but if I want to pass a variable to other php, in this way, > > > >www.localhost.com/testing.php?test=ok > > > >and the code inside testing.php is: > > > > >if ($test=="ok") { // I have tried as well to put strcmp (($test, "ok") == 0) > >echo "it works"; > >} > >else > >echo "oopps, ok=$ok--"; > >?> > > > >I obtain the wrong message ( oopps, ok=-- ). , so ok is null. > > > >I think I need to put something more in my httpd.conf file, what I don't know what. > > > The default setting for register_globals in php.ini has changed from > "on" to "off" for security reasons. Use the superglobals $_GET['ok'] and > $_POST['ok'] depending upon GET or POST data. Its in the release notes. > > Regards > > Chris > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-INST] PHP4.3.0 + AIX4.3.3 compile problems
Dear all, I am new to php, postgresql and apache. I intend to run them together on RH Linux 7.2 . The installation of RH Linux 7.2 is a complete one on the PC. So here are the list of the packages: Apache 1.3.20-16 postgresql 7.1.3-2 php 4.0.6-7 php-pgsql 4.0.6-7. Now I have tested Apache, and postgreSQL and they seem to work fine. I add a few lines in /etc/httpd/conf/httpd.conf: loadModule php4_module modules/libphp4.so AddModule mod_php4.c AddType application/x-httpd-php .php4 .php3 .phtml .php AddType application/x-httpd-php-source .phps However, when I try to load a php file it displays nothing. Here is the file: # /usr/local/php4/bin/php I assume the php is installed as a CGI interpreter because I can only start httpd and could not find the command 'apachectl' on my pc. I also tried to load the file: It displays nothing either. I suppose that I must miss something. Can anyone help? Zhiqiang
Re: [PHP-INST] PHP4.3.0 + AIX4.3.3 compile problems
Do you think my problem with php is the result of a wrong apache compilation? Will try to compile apache with --enable-module=so . !!! BTW: If i configure php without ingres support, the "make works fine" ./configure --with-apxs=/usr/local/apache/sbin/apxs --with-config-file-path=/usr/local/apache --enable-track-vars Regards, Thomas Jose wrote: On bull, you can find gcc-3.0.1, but it doesn't works fine to me(in some cases), so after i can compile 3.2.1 with gcc-3.0.1, then remove 3.0.1. Download sources of apache and php from http://aixpdslib.seas.ucla.edu I don't know exactly what is the meaning of --enable-module=most --enable-shared=max , but you don't have anything to lose if you recompiled with --enable-module=so I don't remember exactly my configure options, but they are more or less so: ./configure --enable-module=so --with-layout=GNU --prefix=/usr/local/apache1 3 Regards. -- [EMAIL PROTECTED] -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] Call to undefined function: mysql_connect
Hi list , I have set up PHP4 on a open bsd box with mysql I was able to connect, create a database and create a new user, etc. Another problem has come up. Now, trying to connect to the database I have created, am using the standard PHP function: mysql_connect, and am getting the error: Fatal error: Call to undefined function: mysql_connect() in /var/www/htdocs/southwest/php/procQuery.php on line 8. Would any one know how to fix this problem or why I am getting it? Thanx Michael -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] php + apache
Dear all, I am new to php, postgresql and apache. I intend to run them together on RH Linux 7.2 . The installation of RH Linux 7.2 is a complete one on the PC. So here are the list of the packages: Apache 1.3.20-16 postgresql 7.1.3-2 php 4.0.6-7 php-pgsql 4.0.6-7. Now I have tested Apache, and postgreSQL and they seem to work fine. I add a few lines in /etc/httpd/conf/httpd.conf: loadModule php4_module modules/libphp4.so AddModule mod_php4.c AddType application/x-httpd-php .php4 .php3 .phtml .php AddType application/x-httpd-php-source .phps However, when I try to load a php file it displays nothing. Here is the file: # /usr/bin/php Testing php I assume the php is installed as a CGI interpreter because I can only start httpd and could not find the command 'apachectl' on my pc. I also tried to load the file: Testing php It displays nothing either. I suppose that I must miss something. Can anyonehelp? Thanks, Zhiqiang Dr. Zhiqiang Feng School of Geography & Geosciences Irving Building University of St Andrews St Andrews Fife KY16 9AL tel: 01334 463951 [EMAIL PROTECTED] -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-INST] php doesn't work with variables like a.php?v=100
www.localhost.com/testing.php?test=ok I obtain the wrong message ( oopps, ok=-- ). , so ok is null. thats coz regiser globals are off in ur php.ini do this if($_GET['test']=="ok") (($test, "ok") == 0) echo "it works"; } elseecho "oopps, ok=$ok--"; ?> hope this helps . goodluck toby . _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-INST] PHP4.3.0 + AIX4.3.3 compile problems
Do you have in your path /usr/local/php4/bin ? Do you have rename php.ini-dist to php.ini and copy it in /usr/local/php4 Do you have read your access_log and error_log of apache ? - Tu portal de Aix en Español http://aixpanish.com - Singer KeyID: 0xC38C7298 - Original Message - From: "Zhiqiang Feng" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 22, 2003 12:59 PM Subject: Re: [PHP-INST] PHP4.3.0 + AIX4.3.3 compile problems > Dear all, I am new to php, postgresql and apache. I intend to run them together > on RH Linux 7.2 . The installation of RH Linux 7.2 is a complete one on the PC. > So here are the list of the packages: Apache 1.3.20-16 postgresql 7.1.3-2 php > 4.0.6-7 php-pgsql 4.0.6-7. Now I have tested Apache, and postgreSQL and they > seem to work fine. I add a few lines in /etc/httpd/conf/httpd.conf: loadModule > php4_module modules/libphp4.so AddModule mod_php4.c AddType > application/x-httpd-php .php4 .php3 .phtml .php AddType > application/x-httpd-php-source .phps However, when I try to load a php file it > displays nothing. Here is the file: # /usr/local/php4/bin/php I > assume the > php is installed as a CGI interpreter because I can only start httpd and could > not find the command 'apachectl' on my pc. I also tried to load the file: > It displays nothing either. I suppose that I must miss something. Can anyone > help? Zhiqiang -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
php-install Digest 22 Jan 2003 14:34:38 -0000 Issue 1213
php-install Digest 22 Jan 2003 14:34:38 - Issue 1213 Topics (messages 9769 through 9790): Re: SQL 9769 by: Timothy Hitchens \(HiTCHO\) 9770 by: Luke Woollard Re: Problem compiling PHP 4.3.0 with GD 9771 by: toby - Re: GD configure error. 9772 by: toby - Re: configure doesn't find libjpeg 9773 by: toby - 9776 by: akorthaus.web.de 9782 by: toby - Re: Don't know how to parse *.html with PHP 9774 by: Vitaly Voropinov PHP4.3.0 + AIX4.3.3 compile problems 9775 by: Thomas Goebel 9779 by: Jose 9780 by: Thomas Goebel 9781 by: Jose 9785 by: Zhiqiang Feng 9786 by: Thomas Goebel 9790 by: Jose Re: phpPgAdmin - Safari bug 9777 by: Mario Ruggier php doesn't work with variables like a.php?v=100 9778 by: Abel Monroy 9783 by: Chris Hewitt 9784 by: Abel Monroy 9789 by: toby - Call to undefined function: mysql_connect 9787 by: Michael Christie php + apache 9788 by: Zhiqiang Feng 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 --- Please clarify your request you have MySQL and don't know how to use it or you can't get it to work with Apache2/PHP4?? Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 22 January 2003 12:27 PM > To: [EMAIL PROTECTED] > Subject: [PHP-INST] SQL > > > hi > > sorry for bothering you again. > > where can i get a suitable MySQL sever so i can download it > in my PC, ive got mysql-31.23.54-win but i dont know how to > use it with apache2 and PHP4 > > any ideas. > > thanks > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > --- End Message --- --- Begin Message --- try mysql.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 22 January 2003 1:27 PM To: Subject: [PHP-INST] SQL hi sorry for bothering you again. where can i get a suitable MySQL sever so i can download it in my PC, ive got mysql-31.23.54-win but i dont know how to use it with apache2 and PHP4 any ideas. thanks -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php --- End Message --- --- Begin Message --- hi you need tow extra libraries for gd support tiff and jpeg you will hae to down load these, put them in ur php folder and configure php.ini to work --with both hope dis helps . good luck toby . _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail --- End Message --- --- Begin Message --- jose are ur jpeg and other libries in php folder ? try moving them round . good luck toby . _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 --- End Message --- --- Begin Message --- hi the lib has to be in ur php folder if it aint ..it cant be found good luck toby . _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail --- End Message --- --- Begin Message --- > hi > the lib has to be in ur php folder > if it aint ..it cant be found > > good luck > > toby . > > Hi! How do you know ? ;-) Where can I find information like this for other libs? Which important libs have the same "problem"? If I put libjpeg into my php directory (/usr/local/php-4.3.0), must I spezify this path again or just --with-jpeg? Which file has to be copied into my php-dir? libjpeg.so.62? Thank you! regards Andreas --- End Message --- --- Begin Message --- hi Thank you! ur welcum :) How do you know ? ;-) tell me 1st if it fixed ur probelm up well it takes a bit of hard learing to know it all . every time u see an error like that know that the path is messed up or move ur folders and files around in php folder and apache folder .. silly. but it works . Where can I find information like this for other libs? Which important >libs have the same "problem"? well all the libriez have to be in ur php folder all the ones u want to configure that iz If I put libjpeg into my php directory (/usr/local/php-4.3.0), must I spezify this path again or just --with->jpeg? --with-gd --with-jpeg-dir=C:\WINNT\system32\inetsrv\php\libjpeg --with-tiff-dir=C:\WINNT\system32\inetsrv\php\
Re: [PHP-INST] PHP4.3.0 + AIX4.3.3 compile problems
I'm not sure, because i don't know what is the use of "ingres" support. But, is clear that if you compile without that module and apache works and can read php web pages there is your problem and not in php compilation. - Tu portal de Aix en Español http://aixpanish.com - Singer KeyID: 0xC38C7298 - Original Message - From: "Thomas Goebel" <[EMAIL PROTECTED]> To: "Jose" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, January 22, 2003 1:00 PM Subject: Re: [PHP-INST] PHP4.3.0 + AIX4.3.3 compile problems > Do you think my problem with php is the result of a wrong apache > compilation? > > Will try to compile apache with --enable-module=so . > > !!! > BTW: If i configure php without ingres support, the "make works fine" > ./configure --with-apxs=/usr/local/apache/sbin/apxs > --with-config-file-path=/usr/local/apache --enable-track-vars > > Regards, > Thomas > > Jose wrote: > > On bull, you can find gcc-3.0.1, but it doesn't works fine to me(in some > > cases), so after i can compile 3.2.1 with gcc-3.0.1, then remove 3.0.1. > > Download sources of apache and php from http://aixpdslib.seas.ucla.edu > > I don't know exactly what is the meaning > > of --enable-module=most --enable-shared=max , but you don't have anything to > > lose if you recompiled with --enable-module=so > > I don't remember exactly my configure options, but they are more or less so: > > ./configure --enable-module=so --with-layout=GNU --prefix=/usr/local/apache1 > > 3 > > > > > > Regards. > > > > > > > > -- > > > [EMAIL PROTECTED] > > > > > > -- > 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] PHP4.3.0 + AIX4.3.3 compile problems !!!
Hi, Ingres is a database! And the function is included in the php distribution. http://www.php.net/manual/en/ref.ingres.php So it is not my Problem. Or do you think if you have problem compiling php with DB2 or mysql support it is your problem? Regards, Thomas Jose Perez wrote: I'm not sure, because i don't know what is the use of "ingres" support. But, is clear that if you compile without that module and apache works and can read php web pages there is your problem and not in php compilation. - Tu portal de Aix en Español http://aixpanish.com - Singer KeyID: 0xC38C7298 - Original Message - From: "Thomas Goebel" <[EMAIL PROTECTED]> To: "Jose" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, January 22, 2003 1:00 PM Subject: Re: [PHP-INST] PHP4.3.0 + AIX4.3.3 compile problems Do you think my problem with php is the result of a wrong apache compilation? Will try to compile apache with --enable-module=so . !!! BTW: If i configure php without ingres support, the "make works fine" ./configure --with-apxs=/usr/local/apache/sbin/apxs --with-config-file-path=/usr/local/apache --enable-track-vars Regards, Thomas Jose wrote: On bull, you can find gcc-3.0.1, but it doesn't works fine to me(in some cases), so after i can compile 3.2.1 with gcc-3.0.1, then remove 3.0.1. Download sources of apache and php from http://aixpdslib.seas.ucla.edu I don't know exactly what is the meaning of --enable-module=most --enable-shared=max , but you don't have anything to lose if you recompiled with --enable-module=so I don't remember exactly my configure options, but they are more or less so: ./configure --enable-module=so --with-layout=GNU --prefix=/usr/local/apache1 3 Regards. -- [EMAIL PROTECTED] -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- [EMAIL PROTECTED] _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ According to my best recollection, I don't remember. -- Vincent "Jimmy Blue Eyes" Alo _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-INST] PHP4.3.0 + AIX4.3.3 compile problems !!!
My php configuration was more easy : ./configure --with-mysql --with-apxs=/usr/local/apache13/sbin/apxs It is the only i can tell you. Try apache with --enable-module=so and then tell me what happen. Ahh!!. I forgott on apache 2 is very important before execute ./configure , execute ./buildconf , you can do the probe. Regards. - Tu portal de Aix en Español http://aixpanish.com - Singer KeyID: 0xC38C7298 - Original Message - From: "Thomas Goebel" <[EMAIL PROTECTED]> To: "Jose Perez" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, January 22, 2003 4:03 PM Subject: Re: [PHP-INST] PHP4.3.0 + AIX4.3.3 compile problems !!! Hi, Ingres is a database! And the function is included in the php distribution. http://www.php.net/manual/en/ref.ingres.php So it is not my Problem. Or do you think if you have problem compiling php with DB2 or mysql support it is your problem? Regards, Thomas Jose Perez wrote: > I'm not sure, because i don't know what is the use of "ingres" support. > But, is clear that if you compile without that module and apache works and > can read php web pages there is your problem and not in php compilation. > > -- -- > - > Tu portal de Aix en Español > http://aixpanish.com > -- -- > - > Singer KeyID: 0xC38C7298 > - Original Message - > From: "Thomas Goebel" <[EMAIL PROTECTED]> > To: "Jose" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Wednesday, January 22, 2003 1:00 PM > Subject: Re: [PHP-INST] PHP4.3.0 + AIX4.3.3 compile problems > > > >>Do you think my problem with php is the result of a wrong apache >>compilation? >> >>Will try to compile apache with --enable-module=so . >> >>!!! >>BTW: If i configure php without ingres support, the "make works fine" >>./configure --with-apxs=/usr/local/apache/sbin/apxs >>--with-config-file-path=/usr/local/apache --enable-track-vars >> >>Regards, >>Thomas >> >>Jose wrote: >> >>>On bull, you can find gcc-3.0.1, but it doesn't works fine to me(in some >>>cases), so after i can compile 3.2.1 with gcc-3.0.1, then remove 3.0.1. >>>Download sources of apache and php from http://aixpdslib.seas.ucla.edu >>>I don't know exactly what is the meaning >>>of --enable-module=most --enable-shared=max , but you don't have > > anything to > >>>lose if you recompiled with --enable-module=so >>>I don't remember exactly my configure options, but they are more or less > > so: > > ./configure --enable-module=so --with-layout=GNU --prefix=/usr/local/apache1 > >>>3 >>> >>> >>>Regards. >>> >>> >>> >> >>-- >> >> >>[EMAIL PROTECTED] >> >> >> >> >> >>-- >>PHP Install Mailing List (http://www.php.net/) >>To unsubscribe, visit: http://www.php.net/unsub.php >> > > > > -- [EMAIL PROTECTED] _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ According to my best recollection, I don't remember. -- Vincent "Jimmy Blue Eyes" Alo _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ -- 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] PHP4.3.0 + AIX4.3.3 compile problems
thanks, Jose. It works now. zhiqiang At 15:34 22/01/03 +0100, Jose Perez wrote: >Do you have in your path /usr/local/php4/bin ? >Do you have rename php.ini-dist to php.ini and copy it in /usr/local/php4 > >Do you have read your access_log and error_log of apache ? > > >- >Tu portal de Aix en Español >http://aixpanish.com > >- >Singer KeyID: 0xC38C7298 >- Original Message - >From: "Zhiqiang Feng" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Wednesday, January 22, 2003 12:59 PM >Subject: Re: [PHP-INST] PHP4.3.0 + AIX4.3.3 compile problems > > >> Dear all, I am new to php, postgresql and apache. I intend to run them >together >> on RH Linux 7.2 . The installation of RH Linux 7.2 is a complete one on >the PC. >> So here are the list of the packages: Apache 1.3.20-16 postgresql 7.1.3-2 >php >> 4.0.6-7 php-pgsql 4.0.6-7. Now I have tested Apache, and postgreSQL and >they >> seem to work fine. I add a few lines in /etc/httpd/conf/httpd.conf: >loadModule >> php4_module modules/libphp4.so AddModule mod_php4.c AddType >> application/x-httpd-php .php4 .php3 .phtml .php AddType >> application/x-httpd-php-source .phps However, when I try to load a php >file it >> displays nothing. Here is the file: # /usr/local/php4/bin/php I >> assume the >> php is installed as a CGI interpreter because I can only start httpd and >could >> not find the command 'apachectl' on my pc. I also tried to load the file: >> It displays nothing either. I suppose that I must miss something. Can >anyone >> help? Zhiqiang > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-INST] Call to undefined function: mysql_connect
Michael Christie wrote: Hi list , I have set up PHP4 on a open bsd box with mysql I was able to connect, create a database and create a new user, etc. Another problem has come up. Now, trying to connect to the database I have created, am using the standard PHP function: mysql_connect, and am getting the error: Fatal error: Call to undefined function: mysql_connect() in /var/www/htdocs/southwest/php/procQuery.php on line 8. I suspect it is because you did not compile php --with-mysql. Does a phpinfo() show mysql compiled in? HTH Chris PS Your compute clock is set at 2001. -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-INST] Call to undefined function: mysql_connect
MySQL support is bundled with PHP 4.x, you don't have to enable it. You can disable it (--with-mysql=no) or point it to your mysql client libraries (--with-mysql=/path/to/mysql) What is your configure line, OS, and PHP version? -- Jim >>> Chris Hewitt <[EMAIL PROTECTED]> 01/22/03 09:35AM >>> Michael Christie wrote: > Hi list , > I have set up PHP4 on a open bsd box with mysql I was able to > connect, create a database and create a new user, etc. > Another problem has come up. Now, trying to connect to the database I > have created, am using the standard PHP function: mysql_connect, and > am getting the error: > > Fatal error: Call to undefined function: mysql_connect() in > /var/www/htdocs/southwest/php/procQuery.php on line 8. I suspect it is because you did not compile php --with-mysql. Does a phpinfo() show mysql compiled in? HTH Chris PS Your compute clock is set at 2001. -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] PHP on iPlanet
Hi all- I'm running an iPlanet Enterprise web server ver 6.0 sp2 on Windows 2000 and we've had several request for PHP. How do I go about this? All the documentation I've found on php.net talks about very old versions of the Netscape Web Server, which is quite different from the iWS we're running. Which PHP installer do I need to download? How do I get around the cgi.force_redirect issue? We've already got 1 shell cgi directory defined on our web server for housing our PERL cgi. How does that factor into our config? etc. Does anyone have first hand experience with this or know where I can find reasonably current documentation? Thanks in advance! -- Mike Garner Western State College Email: [EMAIL PROTECTED] Voice: 970-943-3123 Fax: 970-943-7069 -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] Trouble Compiling 4.3.0 on Solaris 7
I have been having a very hard time compiling PHP 4.3.0 on Solaris 7 with Apache 2.0.44 . First I ran into the 'Output line too long' error, and fixed it by installing and using gnu sed. Using gcc 3.0.4 I get the following error: >gcc: sapi/cli/php_cli.o: No such file or directory >gcc: sapi/cli/getopt.o: No such file or directory >*** Error code 1 >make: Fatal error: Command failed for target `sapi/cli/php' I have tried the --disable-cli option, and get the same error. Using Sun's pro compiler, I get the following error: >ild: (bad file) the file ext/ctype/ctype.o is not in a known format >*** Error code 1 >make: Fatal error: Command failed for target `sapi/cli/php' adding the -xildoff compiler flag I get the following error: >ld: elf error: file ext/ctype/ctype.o: unknown type, unable to process >using elf(3E) libraries >ld: elf error: file ext/mysql/php_mysql.o: unknown type, unable to >process >using elf(3E) libraries >. >. 100 or so more >. >. >ld: elf error: file Zend/zend_execute.o: unknown type, unable to process >using elf(3E) libraries >ld: fatal: file sapi/cli/php_cli.o: cannot open file: No such file or >directory >ld: fatal: file sapi/cli/getopt.o: cannot open file: No such file or >directory >ld: fatal: File processing errors. No output written to sapi/cli/php >*** Error code 1 >make: Fatal error: Command failed for target `sapi/cli/php' What is going on? I had no problems installing php 4.2.3 with Apache 2.0.39 Any help is Greatly appreciated!! Thanks! Andy -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] How to use COM
I could use COM() to start up word application. How could I start up outlook using COM() and also populate the "TO" and "FROM" email addresses? William Cheung, B.Sc. MCSE MCDBA Databyte Corp.
[PHP-INST] solution to AIX "file *.lo contains an incorrect file suffix" error
Our PHP 4.3.0 build failed to compile sapi/cli/php on our AIX machine, with over one hundred error messages like: cc: 1501-218 file ext/ctype/ctype.lo contains an incorrect file suffix The causes of this are rather subtle: 1. GNU libtool will usually not create static objects under AIX. 2. But the PHP developers want libtool to create static objects. 3. So the PHP developers provide their own ./libtool in the source tree which will create them, which they run with "/bin/sh libtool". 4. Unfortunately, while "/bin/sh " usually looks for in the current directory before searching through $PATH, on AIX it looks through $PATH first; thus the PHP Makefile winds up running /usr/local/bin/libtool (or wherever you have it installed) instead. Thus the solution is to modify the PHP Makefile so that the line LIBTOOL = $(SHELL) libtool --silent instead reads LIBTOOL = $(SHELL) ./libtool --silent Technical notes: When you compile and install libtool, it runs a script called libtool.m4 which, around line 2363 in the libtool-1.4.3 source, disables AIX static linking with the explanation that: "On AIX, shared libraries and static libraries use the same namespace, and are all built from PIC." It disables static linking by setting enable_static=no when it writes your libtool script; the ./libtool script in the PHP build directory works precisely because this variable is set to "yes" instead. -- Brandon Craig Rhodes [EMAIL PROTECTED] http://rhodesmill.org/brandon -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] PHP Install Problem with Oracle 9 and Java
I am trying to compile PHP 4.2.3 with Apache 1.3.27, Oracle 9.0.1, and Java 1.4.1. I am doing this on Solaris 2.8. My call to "configure" is: ./configure --prefix=/home/export/brayton/php --with-apache=../apache_1.3.27 --with-oracle=/opt/oracle/product/9.0.1 --with-java=/opt/j2sdk1.4.1 The output of "configure" gives me the following: | *** ATTENTION ***| || | Something is likely to be messed up here, because the configure| | script was not able to detect a simple feature on your platform. | | This is often caused by incorrect configuration parameters. Please | | see the file debug.log for error messages. | || | If you are unable to fix this, send the file debug.log to the | | [EMAIL PROTECTED] mailing list and include appropiate | | information about your setup. | The contents of "debug.log" are: CONFIGURE: './configure' '--prefix=/home/export/brayton/php' '--with-apache=../apache_1.3.27' '--with-oracle =/opt/oracle/product/9.0.1' '--with-java=/opt/j2sdk1.4.1' CC: gcc CFLAGS: -g -O2 CPPFLAGS:-D_POSIX_PTHREAD_SEMANTICS CXX: CXXFLAGS: INCLUDES:-I/export/home/brayton/apache_1.3.27/src/include -I/export/home/brayton/apache_1.3.27/src/os/unix -I$(top_builddir)/Zend -I/export/home/brayton/php-4.2.3/ext/mysql/libmysql -I/opt/oracle/product/9.0.1/rdbms /public -I/opt/oracle/product/9.0.1/rdbms/demo -I/opt/oracle/product/9.0.1/plsql/public LDFLAGS: -R/usr/ucblib -L/usr/ucblib -R/usr/local/gcc-3.2.1/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1 -L/usr/ local/gcc-3.2.1/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1 -R/opt/j2sdk1.4.1/./jre/lib/sparc/server -L/opt/j2sdk1. 4.1/./jre/lib/sparc/server -R/opt/j2sdk1.4.1/./jre/lib/sparc/native_threads -L/opt/j2sdk1.4.1/./jre/lib/sparc/ native_threads -R/opt/j2sdk1.4.1/./jre/lib/sparc -L/opt/j2sdk1.4.1/./jre/lib/sparc -R/opt/oracle/product/9.0.1 /lib -L/opt/oracle/product/9.0.1/lib LIBS: -lcrypt -lresolv -lresolv -lm -ldl -lnsl -lsocket -lsocket -lgcc -lcrypt -lnsl -lsocket -lgen -ld l -lclntsh DLIBS: SAPI: apache PHP_RPATHS: /usr/ucblib /usr/local/gcc-3.2.1/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1 /opt/j2sdk1.4.1/./jre/lib /sparc/server /opt/j2sdk1.4.1/./jre/lib/sparc/native_threads /opt/j2sdk1.4.1/./jre/lib/sparc /opt/oracle/produ ct/9.0.1/lib uname -a: SunOS hera.eng.clearway.com 5.8 Generic sun4u sparc SUNW,Ultra-60 gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib -R/usr/local/gcc-3.2.1/lib/gcc -lib/sparc-sun-solaris2.8/3.2.1 -L/usr/local/gcc-3.2.1/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1 -R/opt/j2sdk1.4. 1/./jre/lib/sparc/server -L/opt/j2sdk1.4.1/./jre/lib/sparc/server -R/opt/j2sdk1.4.1/./jre/lib/sparc/native_thr eads -L/opt/j2sdk1.4.1/./jre/lib/sparc/native_threads -R/opt/j2sdk1.4.1/./jre/lib/sparc -L/opt/j2sdk1.4.1/./jr e/lib/sparc -R/opt/oracle/product/9.0.1/lib -L/opt/oracle/product/9.0.1/lib conftest.c -lcrypt -lresolv -lreso lv -lm -ldl -lnsl -lsocket -lsocket -lgcc -lcrypt -lnsl -lsocket -lgen -ldl -lclntsh 1>&5 ld: fatal: library -lclntsh: not found ld: fatal: File processing errors. No output written to conftest collect2: ld returned 1 exit status My LD_LIBRARY_PATH variable is "/opt/oracle/product/9.0.1/lib:/opt/oracle/product/9.0.1/rdbms/lib". The Oracle home directory is "/opt/oracle/product/9.0.1". An "ls -l" on the "/opt/oracle/product/9.0.1/lib" directory gives output that includes the following files: lrwxrwxrwx 1 oracle dba 16 Jan 21 18:31 libclntsh.so -> libclntsh.so.9.0 -rwxr-xr-x 1 oracle dba 15185920 Dec 4 12:33 libclntsh.so.9.0 -rw-r--r-- 1 oracle dba 22884596 Dec 4 12:36 libclntst9.a I believe the "lclntsh" that the debug.log says is missing is these files above. Can someone give me some hint as to what I might be doing wrong? Thanks you!!! John -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-INST] PHP Install Problem with Oracle 9 and Java
Try it again using --with-oci8=/opt/oracle/product/9.0.1 , instead of Oracle. (if you have already defined ORACLE_HOME, just use --with-oci8.) Also, check your apxs script against this page. http://us2.php.net/manual/en/faq.build.php#faq.build.apxs -- Jim >>> John Brayton <[EMAIL PROTECTED]> 01/22/03 04:27PM >>> I am trying to compile PHP 4.2.3 with Apache 1.3.27, Oracle 9.0.1, and Java 1.4.1. I am doing this on Solaris 2.8. My call to "configure" is: ./configure --prefix=/home/export/brayton/php --with-apache=../apache_1.3.27 --with-oracle=/opt/oracle/product/9.0.1 --with-java=/opt/j2sdk1.4.1 The output of "configure" gives me the following: | *** ATTENTION ***| || | Something is likely to be messed up here, because the configure| | script was not able to detect a simple feature on your platform. | | This is often caused by incorrect configuration parameters. Please | | see the file debug.log for error messages. | || | If you are unable to fix this, send the file debug.log to the | | [EMAIL PROTECTED] mailing list and include appropiate | | information about your setup. | The contents of "debug.log" are: CONFIGURE: './configure' '--prefix=/home/export/brayton/php' '--with-apache=../apache_1.3.27' '--with-oracle =/opt/oracle/product/9.0.1' '--with-java=/opt/j2sdk1.4.1' CC: gcc CFLAGS: -g -O2 CPPFLAGS:-D_POSIX_PTHREAD_SEMANTICS CXX: CXXFLAGS: INCLUDES:-I/export/home/brayton/apache_1.3.27/src/include -I/export/home/brayton/apache_1.3.27/src/os/unix -I$(top_builddir)/Zend -I/export/home/brayton/php-4.2.3/ext/mysql/libmysql -I/opt/oracle/product/9.0.1/rdbms /public -I/opt/oracle/product/9.0.1/rdbms/demo -I/opt/oracle/product/9.0.1/plsql/public LDFLAGS: -R/usr/ucblib -L/usr/ucblib -R/usr/local/gcc-3.2.1/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1 -L/usr/ local/gcc-3.2.1/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1 -R/opt/j2sdk1.4.1/./jre/lib/sparc/server -L/opt/j2sdk1. 4.1/./jre/lib/sparc/server -R/opt/j2sdk1.4.1/./jre/lib/sparc/native_threads -L/opt/j2sdk1.4.1/./jre/lib/sparc/ native_threads -R/opt/j2sdk1.4.1/./jre/lib/sparc -L/opt/j2sdk1.4.1/./jre/lib/sparc -R/opt/oracle/product/9.0.1 /lib -L/opt/oracle/product/9.0.1/lib LIBS: -lcrypt -lresolv -lresolv -lm -ldl -lnsl -lsocket -lsocket -lgcc -lcrypt -lnsl -lsocket -lgen -ld l -lclntsh DLIBS: SAPI: apache PHP_RPATHS: /usr/ucblib /usr/local/gcc-3.2.1/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1 /opt/j2sdk1.4.1/./jre/lib /sparc/server /opt/j2sdk1.4.1/./jre/lib/sparc/native_threads /opt/j2sdk1.4.1/./jre/lib/sparc /opt/oracle/produ ct/9.0.1/lib uname -a: SunOS hera.eng.clearway.com 5.8 Generic sun4u sparc SUNW,Ultra-60 gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib -R/usr/local/gcc-3.2.1/lib/gcc -lib/sparc-sun-solaris2.8/3.2.1 -L/usr/local/gcc-3.2.1/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1 -R/opt/j2sdk1.4. 1/./jre/lib/sparc/server -L/opt/j2sdk1.4.1/./jre/lib/sparc/server -R/opt/j2sdk1.4.1/./jre/lib/sparc/native_thr eads -L/opt/j2sdk1.4.1/./jre/lib/sparc/native_threads -R/opt/j2sdk1.4.1/./jre/lib/sparc -L/opt/j2sdk1.4.1/./jr e/lib/sparc -R/opt/oracle/product/9.0.1/lib -L/opt/oracle/product/9.0.1/lib conftest.c -lcrypt -lresolv -lreso lv -lm -ldl -lnsl -lsocket -lsocket -lgcc -lcrypt -lnsl -lsocket -lgen -ldl -lclntsh 1>&5 ld: fatal: library -lclntsh: not found ld: fatal: File processing errors. No output written to conftest collect2: ld returned 1 exit status My LD_LIBRARY_PATH variable is "/opt/oracle/product/9.0.1/lib:/opt/oracle/product/9.0.1/rdbms/lib". The Oracle home directory is "/opt/oracle/product/9.0.1". An "ls -l" on the "/opt/oracle/product/9.0.1/lib" directory gives output that includes the following files: lrwxrwxrwx 1 oracle dba 16 Jan 21 18:31 libclntsh.so -> libclntsh.so.9.0 -rwxr-xr-x 1 oracle dba 15185920 Dec 4 12:33 libclntsh.so.9.0 -rw-r--r-- 1 oracle dba 22884596 Dec 4 12:36 libclntst9.a I believe the "lclntsh" that the debug.log says is missing is these files above. Can someone give me some hint as to what I might be doing wrong? Thanks you!!! John -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-INST] PHP Install Problem with Oracle 9 and Java
Try it again using --with-oci8=/opt/oracle/product/9.0.1 , instead of Oracle. I get the same error. Also, check your apxs script against this page. http://us2.php.net/manual/en/faq.build.php#faq.build.apxs I had been building PHP as a static module, so I did not have an apxs script. But just to try something, I tried building PHP as a DSO, and got the exact same error. Before building PHP, I opened the APXS file and verified that it did not have the problems described on that page. Any other ideas? Thank you. John -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] CGI application misbehaved .... (win):
One solution for this error: you proably have bad version of msvcrt.dll. Try run servicepack or replace old file vith new one. J.S. -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
php-install Digest 23 Jan 2003 03:57:05 -0000 Issue 1214
php-install Digest 23 Jan 2003 03:57:05 - Issue 1214 Topics (messages 9791 through 9804): Re: PHP4.3.0 + AIX4.3.3 compile problems 9791 by: Jose Perez 9794 by: Zhiqiang Feng Re: PHP4.3.0 + AIX4.3.3 compile problems !!! 9792 by: Thomas Goebel 9793 by: Jose Perez Re: Call to undefined function: mysql_connect 9795 by: Chris Hewitt 9796 by: Jim Thome PHP on iPlanet 9797 by: Mike Garner Trouble Compiling 4.3.0 on Solaris 7 9798 by: Andrew Sanderson How to use COM 9799 by: William Cheung solution to AIX "file *.lo contains an incorrect file suffix" error 9800 by: Brandon Craig Rhodes PHP Install Problem with Oracle 9 and Java 9801 by: John Brayton 9802 by: Jim Thome 9803 by: John Brayton CGI application misbehaved (win): 9804 by: J.S. 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 --- I'm not sure, because i don't know what is the use of "ingres" support. But, is clear that if you compile without that module and apache works and can read php web pages there is your problem and not in php compilation. - Tu portal de Aix en Español http://aixpanish.com - Singer KeyID: 0xC38C7298 - Original Message - From: "Thomas Goebel" <[EMAIL PROTECTED]> To: "Jose" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, January 22, 2003 1:00 PM Subject: Re: [PHP-INST] PHP4.3.0 + AIX4.3.3 compile problems > Do you think my problem with php is the result of a wrong apache > compilation? > > Will try to compile apache with --enable-module=so . > > !!! > BTW: If i configure php without ingres support, the "make works fine" > ./configure --with-apxs=/usr/local/apache/sbin/apxs > --with-config-file-path=/usr/local/apache --enable-track-vars > > Regards, > Thomas > > Jose wrote: > > On bull, you can find gcc-3.0.1, but it doesn't works fine to me(in some > > cases), so after i can compile 3.2.1 with gcc-3.0.1, then remove 3.0.1. > > Download sources of apache and php from http://aixpdslib.seas.ucla.edu > > I don't know exactly what is the meaning > > of --enable-module=most --enable-shared=max , but you don't have anything to > > lose if you recompiled with --enable-module=so > > I don't remember exactly my configure options, but they are more or less so: > > ./configure --enable-module=so --with-layout=GNU --prefix=/usr/local/apache1 > > 3 > > > > > > Regards. > > > > > > > > -- > > > [EMAIL PROTECTED] > > > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > --- End Message --- --- Begin Message --- thanks, Jose. It works now. zhiqiang At 15:34 22/01/03 +0100, Jose Perez wrote: >Do you have in your path /usr/local/php4/bin ? >Do you have rename php.ini-dist to php.ini and copy it in /usr/local/php4 > >Do you have read your access_log and error_log of apache ? > > >- >Tu portal de Aix en Español >http://aixpanish.com > >- >Singer KeyID: 0xC38C7298 >- Original Message - >From: "Zhiqiang Feng" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Wednesday, January 22, 2003 12:59 PM >Subject: Re: [PHP-INST] PHP4.3.0 + AIX4.3.3 compile problems > > >> Dear all, I am new to php, postgresql and apache. I intend to run them >together >> on RH Linux 7.2 . The installation of RH Linux 7.2 is a complete one on >the PC. >> So here are the list of the packages: Apache 1.3.20-16 postgresql 7.1.3-2 >php >> 4.0.6-7 php-pgsql 4.0.6-7. Now I have tested Apache, and postgreSQL and >they >> seem to work fine. I add a few lines in /etc/httpd/conf/httpd.conf: >loadModule >> php4_module modules/libphp4.so AddModule mod_php4.c AddType >> application/x-httpd-php .php4 .php3 .phtml .php AddType >> application/x-httpd-php-source .phps However, when I try to load a php >file it >> displays nothing. Here is the file: # /usr/local/php4/bin/php I >> assume the >> php is installed as a CGI interpreter because I can only start httpd and >could >> not find the command 'apachectl' on my pc. I also tried to load the file: >> It displays nothing either. I suppose that I must miss something. Can >anyone >> help? Zhiqiang > --- End Message --- --- Begin Message --- Hi, Ingres is a database! And the function is included in the php distribution. http://www.php.net/manual/en/ref.ingres.p
Re: [PHP-INST] Problem compiling PHP 4.3.0 with GD
Hi Thank you But, the problem was solved updating SED version on Solaris 8 !!! Best regards, On Wed, 22 Jan 2003 11:35:25 +0500 "toby -" wrote: > > hi > > you need tow extra libraries for gd support > > tiff and jpeg > > you will hae to down load these, put them in ur php folder and configure > php.ini to work > --with both > > > hope dis helps . > > good luck > > toby . > > _ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] sql database
hi i got mysql-31.23.54-win with apache2 and php4. the problem im having is to create the databases and tables one by one in MS-DOS and i cant work it out. i'va got databases (.sql files) that i want to upload in MySQL, but i have to wirtte them again and it takes too much time. is there any quicker way of doing this (uploading *.sql files into MySQL) -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php