php-install Digest 24 May 2001 06:44:10 -0000 Issue 323 Topics (messages 3265 through 3284): oracle8-functions and freebsd 4.3 3265 by: mac Installation Errors... 3266 by: Chorley, Kevin redhat 7.0 + php4.0.4pl1 = BUG ? any fix ? 3267 by: Vincent Tan Teck How 3268 by: Yasuo Ohgaki 3269 by: Vincent Tan Teck How 3273 by: Yasuo Ohgaki Re: Apache 2.0 & PHP 4.0.5 configure problem. 3270 by: Yasuo Ohgaki Re: php4.05, apache 1.3.19, apxs 3271 by: Unknown007 php4.0.6 with apache 2.0.1.5? 3272 by: Unknown007 Re: PLEASE HELP !!! 3274 by: Yasuo Ohgaki Re: php GET and POST failures on Solaris 2.6 3275 by: Yasuo Ohgaki compiling problem 3276 by: John Morine 3279 by: Smirnov 3281 by: John Morine /usr/lib/apache or /usr/local/apache which one is right ? 3277 by: Smirnov 3283 by: John Morine "php4_module is garbled" <== What does this mean ?? 3278 by: Smirnov Upgrading & fixing PHP/mysql... 3280 by: Andrew Rowe 3282 by: John Morine PHP+Sybase+iPlanet Problem 3284 by: chenfou 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] ----------------------------------------------------------------------
hi, i know about the oracle-client that is needed to activate the oci8-functions. but what i dont know: is this possible on a freebsd-box ? (i've read a few strange messages about this in the archive). i may need to do this with php 3.0.18 (customer-choice). are there any howto's out there? thanks in advance mac --
We're attempting to load apache/mysql/php on a linux box and got the following error log during the install <<debug.log>> What do we need to do next? Kevin S. Chorley Carolina Holdings Information Technology voice 919/431-1088 email [EMAIL PROTECTED]
When i read through the php manual online today .. i realise there's a bug with the File upload function ... when php4.0.4.pl1 runs on redhat 7.0 .. i was wondering whether is there any patch for it ?? ... coz i really dont wanna recode the scripts ... thanks.. :)
php 4.0.5 is released. If you are used to Linux, I suggest to build php from source. Vincent Tan Teck How wrote: > When i read through the php manual online today .. i realise there's a bug > with the File upload function ... when php4.0.4.pl1 runs on redhat 7.0 .. > > i was wondering whether is there any patch for it ?? ... coz i really dont > wanna recode the scripts ... > > thanks.. :) -- Yasuo Ohgaki
yea... but the problem is i dont see anywhere in the CHANGELOG saying that the upload function was fixed... so i m not sure wut to do now.. sigh.. i can't do anything to my redhat cause its a virtual hosting server..and i have 70 over accounts hosted on it already .. damm.. and my previous php was installed from RPM ... if now i build from source.. i m not sure what will happen in future.. in future can i upgrade the php using RPM way if i use build from source method now ?? ... and stuff like that ... sigh.. pls help.. and i can't find the RPM for php 4.0.5 for redhat 7.0... arghh.. "Yasuo Ohgaki" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > php 4.0.5 is released. > > If you are used to Linux, I suggest to build php from source. > > Vincent Tan Teck How wrote: > > > When i read through the php manual online today .. i realise there's a bug > > with the File upload function ... when php4.0.4.pl1 runs on redhat 7.0 .. > > > > i was wondering whether is there any patch for it ?? ... coz i really dont > > wanna recode the scripts ... > > > > thanks.. :) > > > -- > Yasuo Ohgaki > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] >
Vincent Tan Teck How wrote: > yea... but the problem is i dont see anywhere in the CHANGELOG saying that > the upload function was fixed... so i m not sure wut to do now.. sigh.. i > can't do anything to my redhat cause its a virtual hosting server..and i > have 70 over accounts hosted on it already .. damm.. If you know bug ID, how about take a look at current status? 4.0.5 fixes a lots of problems in 4.0.4pl1. Many bug fixes are not listed in CHNAGELOG or NEWS. > and my previous php was installed from RPM ... > if now i build from source.. i m not sure what will happen in future.. How about uninstall php rpm? rpm -e php-xxxxx.rpm It supposed to uninstall all files except files changed by users. > in future can i upgrade the php using RPM way if i use build from source > method now ?? ... and stuff like that ... Building from source is not time consuming most of the time. Just keep your configure line. And take a look at configure script option changes for new versions. If you would like to use RPM in the future. You can do that if you know file layout. Regards, -- Yasuo Ohgaki
[EMAIL PROTECTED] wrote: > Hello All, > > I've seen a few questions the same as mine, but no answers. Here is the > situation. > > I'm configuring & installing Apache 2.0, configured with: > --enable-module=so --enable-rule=SHARED_CORE > --prefix=/usr/local/apache > > I'm configuring PHP 4.0.5 with: > --with-apxs=/usr/local/apache/bin/apxs --enable-short-tags > --with-mysql=no --with-pgsql If you are using Apache 2.0, you need to use apxs2 (ie. --with-apxs2) ./configure --help for detail. Make sure to use PHP that supports Apache 2.0.x API. I heard some combinations will not work due to API differences. -- Yasuo Ohgaki
hi... i came accross the same problem,... here.. u need to configure ur apache with the option --enable-module=so but some how, apache version 2.0.1.5 still faces the same problem... althou --enable-module=so is enabled... hope someone could help out.. thank you "Michael Dickson" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi. I'm trying to install PHP4.05 with apache 1.3.19 as a dynamic module. > I'm running Red Hat linux 7.0. > > When I run ./configure it tells me that it cannot find apxs. So I added the > path to apxs (--with-apxs=/usr/local/..../apxs). The path is correct---apxs > is definitely sitting there, with apparently the correct permission (I > double-checked by saying chmod 755 apxs). I still get the error. Any > ideas? > > Thanks, > > Michael Dickson > email: [EMAIL PROTECTED] > web: http://epimorphic.com > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] >
hi, I've been trying to install php4.0.6 on apache 2.0.1.5 and the problem of detecting apxs persist... when i tried using apache 1.3.2.0, the problem did not occur.. is it becox php is currently not tested on apache 2.0++ yet? thank you regards, James
I guess you are using ISAPI version, right? I suggest to use CGI version for IIS. PHPFAN wrote: > I am running PHP 4.0.5 on Windows 2000 with SQL server databases. > If there is an error with my PHP code, my computer becomes very very slow > and nothing works. The PHP > process is using 99 % of the CPU. So I have to restart the computer. This > happens everytime there is an error in > my PHP code. For the work I am doing, I have to use PHP with backend SQL > Server on Windows Platform. > > Any suggestions will be greatly appreciated. > > Thank you > PHPFAN -- Yasuo Ohgaki
What php.ini are you using? Try to use php.ini-dist. (i.e. cp php.ini-dist php.ini in php source root) Then it should work. The cause is probably register_globals=off in your php.ini. David Wight wrote: > I have compiled php on Solaris 2.6 with Mysql 3.22 using gcc 2.95.2 > configured with the following: > configure --with-nsapi=/opt/netscapeSvr/ns-home > --with-mysql=/opt/mysql-3.22 --enable-track-vars --enable-libgcc > > When testing using: ./php -q run-tests.php tests > I get the following failures: > > Running tests in /home/dwight/php/php-4.0.4pl1/tests/basic > ========================================================== > Trivial "Hello World" > test ... passed > Simple POST Method test (002.phpt) ... > failed > GET and POST Method combined (003.phpt) ... failed > Two variables in POST data (004.phpt) ... > failed > Three variables in POST data (005.phpt) ... > failed > Add 3 variables together and print result > .... passed > > All other tests are passing..... > > Any ideas on where to look to find out why the GET and POST methods are > failing? > Thanx in advance... > [EMAIL PROTECTED] -- Yasuo Ohgaki
I am compiling PHP4 with MYSQL and Apache (on Linix Mandrake 7.2) when I do I get the following error: (everything is fine until) checking for flex... lex checking for yywrap in -ll... no checking lex output file root... ./configure: lex: command not found configure: error: cannot find output from lex; giving up So am I right in thinking it can't find Bison? I couldn't find it so I downloaded the latest version and installed it and tried again and get the same result... Of course when I try to compile flex it can't find yacc. Any suggestions? Thanks, John
In article <[EMAIL PROTECTED]>, "John Morine" <[EMAIL PROTECTED]> wrote: > I am compiling PHP4 with MYSQL and Apache (on Linix Mandrake 7.2) when > I do I get the following error: > > (everything is fine until) > checking for flex... lex checking for yywrap in -ll... no checking lex > output file root... ./configure: lex: command not found configure: > error: cannot find output from lex; giving up > > So am I right in thinking it can't find Bison? I couldn't find it so I > downloaded the latest version and installed it and tried again and get > the same result... Of course when I try to compile flex it can't find > yacc. > > Any suggestions? > > Thanks, John > I had the same problem. I downloaded and installed the "flex" RPM from http://www.rpmfind.net and after that compiling php worked fine.
Thanks, worked great! > > I had the same problem. > I downloaded and installed the "flex" RPM from > http://www.rpmfind.net and after that compiling php worked fine.
Hello all, I have a Mandrake 7.2 pc with Apache running fine. When I install php, it doesn't place the "libphp4.so" file right. Apache is located in /usr/local/apache. libphp4.so is in : /usr/bin/apache Does this make sense ? Can I get a working php4 configuration like this? Should I manually copy my libphp40.so file to /usr/local/apache/libexec ? Thanks in advance for your help....
DId you try the ./configure --with-apache=/usr/local/apache --enable-track-vars (if you are using mysql you would include --with-mysql=/pathc_to_mysql) On Wednesday 23 May 2001 22:51, Smirnov wrote: > Hello all, > > I have a Mandrake 7.2 pc with Apache running fine. > When I install php, it doesn't place the "libphp4.so" file right. > > Apache is located in /usr/local/apache. > libphp4.so is in : /usr/bin/apache > > Does this make sense ? > Can I get a working php4 configuration like this? > > Should I manually copy my libphp40.so file to > /usr/local/apache/libexec ? > > Thanks in advance for your help....
I have tried two ways of installing php4 on my Mandrake 7.2 Linux box: from an RPM and from the source code at php.net. In both cases ,when I start Apache, I get this error: <quote> API Module structure 'php4_module' in file /usr/lib/apache/libphp4.so is garbled - perhaps this is not an Apache module DSO? </quote> Anybody knows what this means ???
Hi all, this is my first post to this group... I'm working on an intranet, (rewriting an old unusable one) and I'm having problems with PHP using mysql. I get an "undefined function mysql_connect()" error when trying to use phpmyadmin. PHP's configure option says: "--with-mysql=shared", "--with-apxs" The system admin just reinstalled mysql, I realise I need to reinstall PHP again (would be good to upgrade). Can I get away with just upgrading PHP, without recompiling apache? I need some basic help because the sysadmin and I are not particularly strong in LINUX, also I want to be able to do this myself oneday... Thanks for any help Andrew "My ass may be dumb, but I ain't no dumbass" - Someone (I forget).
A great step-by-step tutorial is at: http://www.phpdeveloper.org/install1.php On Wednesday 23 May 2001 21:53, Andrew Rowe wrote: > Hi all, this is my first post to this group... > > I'm working on an intranet, (rewriting an old unusable one) and I'm > having > problems with PHP using mysql. I get an "undefined function > mysql_connect()" > error when trying to use phpmyadmin. > > PHP's configure option says: "--with-mysql=shared", "--with-apxs" > > The system admin just reinstalled mysql, I realise I need to > reinstall PHP > again (would be good to upgrade). Can I get away with just > upgrading PHP, > without recompiling apache? > > I need some basic help because the sysadmin and I are not > particularly strong > in LINUX, also I want to be able to do this myself oneday... > > Thanks for any help > > Andrew > > "My ass may be dumb, but I ain't no dumbass" - Someone (I forget).
When I use PHP(4.0.4pl1)+Sybase ASE(11.9.2)+Apache(1.3.17) on SUN Solaris(2.6) is very perfect. Recently I must replace Apache by iPlanet(4.1).It is no error when i config this setup, but when I make this,I get some error message. (I have installed package:gcc(2.95.2),perl(5.005.03),bison(1.25),authconf(2.13),automake(1.4) in my system) configure: ./configure \ --with-nsapi=/user1/web1/server-home \ --with-sybase=/opt/sybase \ --prefix=/usr/local/bin \ --with-config-file-path=/usr/local/bin \ --exec-prefix=/usr/local/bin \ --enable-memory-limit=yes \ --enable-debug=no \ --enable-trans-sid \ --enable-track-vars \ --enable-magic-quotes \ --enable-libgcc \ if PHP and iPlanet Compiled together,have no problem,but add --with-sybase argument then have error message. if PHP and Sybase Compiled together,have no problem,but add --with-nsapi argument then have error message. error message: Making all in sybase make[2]: Entering directory `/user1/php-4.0.4pl1/ext/sybase' make[3]: Entering directory `/user1/php-4.0.4pl1/ext/sybase' /bin/sh /user1/php-4.0.4pl1/libtool --silent --mode=compile gcc -I. -I/user1/ph p-4.0.4pl1/ext/sybase -I/user1/php-4.0.4pl1/main -I/user1/php-4.0.4pl1 -I/user1/ web1/server-home/plugins/include -I/user1/php-4.0.4pl1/Zend -I/user1/php-4.0.4pl 1/ext/mysql/libmysql -I/opt/sybase/include -I/user1/php-4.0.4pl1/ext/xml/expat/x mltok -I/user1/php-4.0.4pl1/ext/xml/expat/xmlparse -I/user1/php-4.0.4pl1/TSRM - D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DXML_BYTE_ORD ER=21 -I../TSRM -DTHREAD=1 -g -O2 -pthreads -c php_sybase_db.c php_sybase_db.c: In function `php_if_sybase_query': php_sybase_db.c:781: `core_globals' undeclared (first use in this function) php_sybase_db.c:781: (Each undeclared identifier is reported only once php_sybase_db.c:781: for each function it appears in.) make[3]: *** [php_sybase_db.lo] Error 1 make[3]: Leaving directory `/user1/php-4.0.4pl1/ext/sybase' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/user1/php-4.0.4pl1/ext/sybase' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/user1/php-4.0.4pl1/ext' make: *** [all-recursive] Error 1 Thanks