cd /nobackup/username/ pwd cp /l/www/classes/a348/sum2006/software/php-5.1.4.tar.gz . ls -ld php* gunzip php*.gz ls -ld php* tar xvf php*.tar rm php*.tar cd php-* pwd pico try #--------(with the content: ./configure \ --with-mysql=/nobackup/[username]/mysql \ --with-apxs2=/u/[username]/apache/bin/apxs \ --with-config-file-path=/u/[username]/apache/conf \ --with-xml --enable-track-vars \ --prefix=/u/[username]/apache make make install # end of content comment)----------- chmod u+x try ./try # and that takes about 10-12 minutes # you are in /nobackup/username/php-5.1.4 cp php.ini-dist ~/apache/conf/php.ini cd ~/apache/conf pico php.ini #----(and make two changes: # around line 891 the line should look: session.save_path = "/u/dgerman/apache/phpsessions" # the line above was ;session_save_path = "/tmp" before # you remove the ; and point it to the phpsessions folder. # around line 400 you should have register_globals = On # it used to be Off. On gives us the shortcut. Save and exit.)---- #create your phpsessions folder: mkdir ~/apache/phpsessions # and now for the last setting open httpd.conf and add two lines pico ~/conf/httpd.conf #---(around line 319 or after these two lines AddType application/x-compress .Z AddType application/x-gzip .gz .tgz # add these other two lines: AddType application/x-httpd-php .php .phtml AddType application/x-httpd-php-source .phps # then save and exit. Now stop then start the server and you're done)--