Success compiling, running and parsing.
| From: | Sebastian Mantilla Beniers | Date: | Tue, 01 Jun 1999 18:05:24 +0000 |
| Subject: | Success compiling, running and parsing. | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-1233@lists.php.net to get a copy of this message | ||
Platform:
Redhat GNU/Linux 6.0
Kernel 2.2.9
PII 233/64Mb RAM
egcs-2.91.66
glibc 2.1.1
apache 1.3.6
mysql 3.22.22
GNU Bison version 1.27
flex version 2.5.4
Followed the instructions to download CVS and then did:
cd /usr/src/beta/php4
./buildconf
Configuration for php4:
./configure --with-apache=/usr/src/beta/apache_1.3.6/src --with-imap
--with-mysql --with-pgsql --enable-debug=no --enable-bcmath=yes
--enable-url-fopen-wrapper=yes --enable-track-vars=yes
--enable-debugger=yes --enable-magic-quotes=yes --enable-sysvshm
--enable-sysvsem --without-pcrelib
Configuration for apache:
./configure --enable-module=most --enable-shared=max
--add-module=src/modules/roaming/mod_roaming.c
--activate-module=src/modules/php4/libphp4.a --datadir=/home/httpd/html
Doing:
/usr/local/apache/bin/apachectl start
gets me to:
[Tue Jun 1 09:45:14 1999] [info] mod_unique_id: using ip addr
207.248.177.152
[Tue Jun 1 09:45:15 1999] [info] mod_unique_id: using ip addr
207.248.177.152
[Tue Jun 1 09:45:16 1999] [info] created shared memory segment #137600
[Tue Jun 1 09:45:16 1999] [notice] Apache/1.3.6 (Unix) PHP/4.0pa1
configured -- resuming normal operations
[Tue Jun 1 09:45:16 1999] [info] Server built: May 31 1999 23:27:25
What I'm using:
AddType application/x-httpd-php .php3
A simple:
<?php
print ("Hola k estas corriendo PHP 4.\n");
?>
Gives me:
Hola k estas corriendo PHP 4.
--
sebas
"Free software is a matter of freedom, not price -- the freedom to
modify the software,
redistribute the software and release improved versions of the
software." Richard Stallman
pasion, poder, amor, muerte, la vida...