php-install Digest 2 Apr 2001 06:02:45 -0000 Issue 243 Topics (messages 2643 through 2646): Re: PHP4.0.4pl1 + Apache1.3.19 + MySQL3.23.36 2643 by: Jani Taskinen 2644 by: Daniel Ouellet Re: Windows 2000-Apache PHP installation problems 2645 by: Alexandre Rocha Lima e Marcondes again:problem with configuring php with informix7.22 2646 by: cainnn 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] ----------------------------------------------------------------------
On Sun, 1 Apr 2001, Daniel Ouellet wrote: >Is anyone could tell me what I could do to fix this compilation problem. > >When I do the step for: > >./configure --activate-module=src/modules/php4/libphp4.a > >in the apache compilation part, I get the error message: Did you follow all the steps mentioned in the INSTALL file included in the PHP 4 package? --Jani
I did research on how to install it and here is what I did. 1. gunzip apache_1.3.x.tar.gz 2. tar xvf apache_1.3.x.tar 3. gunzip php-x.x.x.tar.gz 4. tar xvf php-x.x.x.tar 5. cd apache_1.3.x 6. ./configure --prefix=/www 7. cd ../php-x.x.x 8. ./configure --with-mysql --with-apache=../apache_1.3.x --enable-track-vars 9. make 10. make install 11. cd ../apache_1.3.x 12. for PHP 3: ./configure --activate-module=src/modules/php3/libphp3.a for PHP 4: ./configure --activate-module=src/modules/php4/libphp4.a 13. make 14. make install Instead of this step you may prefer to simply copy the httpd binary overtop of your existing binary. Make sure you shut down your server first though. 15. cd ../php-x.x.x 16. for PHP 3: cp php3.ini-dist /usr/local/lib/php3.ini for PHP 4: cp php.ini-dist /usr/local/lib/php.ini You can edit your .ini file to set PHP options. If you prefer this file in another location, use --with-config-file-path=/path in step 8. 17. Edit your httpd.conf or srm.conf file and add: For PHP 3: AddType application/x-httpd-php3 .php3 For PHP 4: AddType application/x-httpd-php .php You can choose any extension you wish here. .php is simply the one we suggest. You can even include .html . 18. Use your normal procedure for starting the Apache server. (You must stop and restart the server, not just cause the server to reload by use a HUP or USR1 signal.) "Jani Taskinen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Sun, 1 Apr 2001, Daniel Ouellet wrote: > > >Is anyone could tell me what I could do to fix this compilation problem. > > > >When I do the step for: > > > >./configure --activate-module=src/modules/php4/libphp4.a > > > >in the apache compilation part, I get the error message: > > Did you follow all the steps mentioned in the INSTALL file > included in the PHP 4 package? > > --Jani > > > > -- > 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] >
Which Apache version are you ruuning? I'm running 1.3.3 on Windows 98 SE and I have two problems that look like yours: 1st: when using php4apache.dll module I get a message saying it is not compatible with this version of Apache. 2nd: when using php as a CGI nothing happens ... nothing is parsed at all. perhaps we should try to recompile Apache or the php module to make it compatible.
I want to install php4.0.4pl1 with apache1.3.19,informix7.22,unix5.05, thanks to the help by Frank S. Bernhardt, i have download gcc-2.95.2,gmake3.78.1, and install some patch,but when i run configure: it show me some error message,the debug.log is like that: CONFIGUR E: './configure' '--with-apaache=/apache/apache_1.3.19' '--with-informix=/home/informix' CC: gcc CFLAGS: -g -O2 -I/home/informix/incl/esql CPPFLAGS: CXX: CXXFLAGS: INCLUDES: -I$(top_builddir)/Zend -I/home/informix/incl/esql -I/home/php -4.0.4pl1/ext/mysql/libmysql LDFLAGS: -L/home/informix/lib -L/home/informix/lib -L/home/informix/lib/ esql -L/home/informix/lib/esql LIBS: -lm -ldl -lcrypt -lsocket -lsocket -lixsql -lixasf -lixgen -lix os -lixgls -lnsl_s -lcrypt_i -lsocket -lsuds -lx DLIBS: SAPI: cgi PHP_RPATHS: /home/informix/lib /home/informix/lib/esql uname -a: SCO_SV cn 3.2 5.0.5 i386 gcc -o conftest -g -O2 -I/home/informix/incl/esql -L/home/informix/lib -L/home/in formix/lib -L/home/informix/lib/esql -L/home/informix/lib/esql conftest.c -lm -ldl -lcrypt -lsocket -lsocket -lixsql -lixasf -lixgen -lixo s -lixgls -lnsl_s -lcrypt_i -lsocket -lsuds -lx 1>&5 Undefined first referenced symbol in file fabs /home/informix/lib/esql/libixgen.so ifx_checkAPI /home/informix/lib/esql/libixsql.so conftest: fatal error: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status thanks