Hi guys, i just want to thank all of the guys who put in their time to help me out with many solutions,on the php problem i posted in last week,
I finally made PHP 5.1.4 work with Apache 2.2.2, they were well compiled together and i was able to test out PHP and it worked out, these are the options i used when installing apache2; cd httpd-2.2.2, ./configure --prefix=/usr/local --enable-so make make install then i started apache2 using; /usr/local/apache2/bin/apachectl start compiling PHP; cd php-5.1.4, ./configure --prefix=/usr/local/php5 --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/usr/local/php5 --with-mysql this run well on the redhat box and didnt return any errors, i then typed; make it took several minutes compiling, and when i was through without any errors, i had to stop apache2, /usr/local/apache2/bin/apachectl stop then i typed; make install it finished without errors, and loaded a php module in my apache2 /usr/local/apache2/modules/libphp5.so this line was added to my apache2 conf file; LoadModule php5_module modules/libphp5.so i added another line to the httpd.conf, AddType application/x-httpd-php .php so that Apache invokes PHP parser whenever a file with extension php (.php) is accessed. I started apache2 at this point; /usr/local/apache2/bin/apachectl start; made a test page in my document root; test.php a simple file like this one; <?php phpinfo(); ?> saved it and when i went to the webbrowser, by typing in; http://localhost/test.php; i was able to see the php info abt what i had installed; it was so fast on the redhat box, and didnt give me much headache as it did on suse 9.3, so this is what i wanted from the list and i got it right here, thanx for all the urls, they were very helpful, am now working on a simple problem with mysqli, but i hope to get a solution to this one, am still looking around. nice tyme. Evelyn Namara Technical Support Engineer, Linux Solutions, Uganda Kagga House, Bugolobi P.O.BOX 26192, Kampala, Uganda. +256782795320 "Having little is not bad, and having big dreams is very good, because even the richest guys today, started it all with a DREAM". _______________________________________________ LUG mailing list [email protected] http://kym.net/mailman/listinfo/lug %LUG is generously hosted by INFOCOM http://www.infocom.co.ug/ The above comments and data are owned by whoever posted them (including attachments if any). The List's Host is not responsible for them in any way. ---------------------------------------
