I submitted a question on Monday, September 01, 2003 2:45 PM, The title was " Novice needs help installing PHP on second computer" and it containd the following script with which i installed. The script is a result of two or more months of trying to install linux, mysql, php, and apache at the same time on a dell 4100. The script (after 2 months of problems) was created from many many samples found on various web sites. The script for the second PC was used (cut and paste one line at a time), and the system I need works the way I expect. Please be aware of the fact that I do not know much about Linux, and all the commands or whatever they are call were copied from the web. The specification and script follows: OS = Dell 4500, mem 1g, hd 45g, mhz 2g, Mysql-3.23.54a-linux-i686, PHP-4.30, httpd_2.0.44 **************************************************************** # # installed using root - # apache package is in file:/usr/local/httpd-2.0.44.tar.gz # php package is in file:/usr/local/php-4.3.0.tar.gz # 1. If successful, install, as root: Download/unpack # Apache2 source from the Apache httpd server website. # cd /usr/local/ # gunzip -dv httpd-2.0.44.tar.gz | tar xvf - # tar -xvf httpd-2.0.44.tar # # 2. In the Apache 2 source directory, type: # cd /usr/local/httpd-2.0.44 # ./configure --prefix=/usr/local/httpd\ --enable-so \ --enable-cgi \ --enable-info \ --enable-rewrite \ --enable-speling \ --enable-usertrack \ --enable-deflate \ --enable-ssl \ --enable-mime-magic # make # # 3. install # make install # # 4. Download/unpack PHP source from the PHP website # Pick one from the 4.3.x series (see note above). # cd /usr/local/ # # Unzip this file with a command like: gunzip php-4.x.y.tar.gz # gunzip php-4.3.0.tar.gz # # Next you have to untar it with: tar -xvf php-4.x.y.tar # tar xvf php-4.3.0.tar # # This will create a php-4.x.y directory. cd into this new directory. # cd /usr/local/php-4.3.0 # # 5. In the php source directory, type: # ./configure \ --with-apxs2=/usr/local/httpd/bin/apxs \ --with-mysql=/usr/local/mysql\ --prefix=/usr/local/php \ --with-config-file-path=/usr/local/php \ --enable-track-vars \ --enable-force-cgi-redirect \ --enable-debugger\ --enable-magic-quotes\ --disable-cgi \ --with-zlib \ --with-gettext \ --with-gdbm # # 6. # make # make install # # 7. If file /usr/local/httpd/modules/libphp4.so # does not exist or is an older version, type this: # cp -p .libs/libphp4.so /usr/local/httpd/modules # # 8. Install the php.ini file: # cp -p php.ini-recommended /usr/local/php/php.ini # # make changes to # # # # #/usr/local/httpd/conf/httpd.conf: #/usr/local/httpd/conf/httpd.conf: #/usr/local/httpd/conf/httpd.conf: # 9. Verify (and add if missing) these directives # in /usr/local/httpd/conf/httpd.conf: # Make sure there's only **1** line with this directive: LoadModule php4_module modules/libphp4.so # # Add index.php to your DirectoryIndex line: DirectoryIndex index.html index.php # AddType application/x-httpd-php php <Files *.php> SetOutputFilter PHP SetInputFilter PHP </Files> # # PHP Syntax Coloring (recommended): AddType application/x-httpd-php-source phps <Files *.phps> SetOutputFilter PHP SetInputFilter PHP </Files> # # *********************************************************** I hope this may give you some ideas on how_to for my specific system. dander@bestweb.net -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php