faqts : Computers : Programming : Languages : PHP : Installation and Setup

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

8 of 37 people (22%) answered Yes
Recently 2 of 10 people (20%) answered Yes

Entry

New PHP 4 install not working

Dec 3rd, 2000 00:24
Brian Santee,


The question did not allow me to futher explain, but here are the steps 
I followed:
gunzip -c php-4.0.x.tar.gz | tar xf -
cd php-4.0.x
./configure --with-mysql --with-apxs
make
make install
(This went fine)
I copied the php.ini file to /usr/lib/php.ini
I added to the httpd.conf file:
AddType application/x-httpd-php .php3
I ran chmod to execute the script
http://www.alliedmortgageok.com/test.php3
I did notice in the http.conf file the following line was wrong:
LoadModule php4_module        lib/apache/libphp4.so
and changed it to:
LoadModule php4_module        /usr/lib/apache/libphp4.so
I rebooted the server - the test script shows the code when the page is 
pulled up:
http://www.alliedmortgageok.com/test.php3
Where do I go from here? I know enough linux to be dangerous, but 
trying hard to learn. This is a Cobalt Raq3 server. Thanks in advance 
to anyone who can help.