PHP and APACHE - Showing source text

Associate
Joined
3 Oct 2004
Posts
68
Location
Biggin Hill
I am quite new to linux, but last night decided to install MySql, Apache and PHP. I have installed all (after six hours) and can use mysql. However, when I run the php script in firefox and konqurer it shows only the source file text, it does not seem to show what it is supposed to. The php file is suppose to show some infor ( phpinfo(); ). Does anybody know what I may have done wrong. I am using Suse Linux 9.3. Any help would be gratefully recieved.
 
I will try this tonight, I did check the httpd.conf file and there was no mention of PHP. After six hours I had lost the will to be honest. I will search for a rpm of httpd2-php or apache2-php as you suggest and try this.

I installed PHP from the command line using a ./configure command, make and then make install.

All this is new to me but I do enjoy it and will continue until it is working.

Do you think something like this is trial and error, can I do any permament damage or corrupt anything on Linux?
 
I am now getting this error when trying to start apache:

linux:/home/Dean/webserver/conf # ../bin/./apachectl start
httpd: Syntax error on line 53 of /home/Dean/webserver/conf/httpd.conf: Cannot load /home/Dean/webserver/modules/libphp5.so into server: /home/Dean/webserver/modules/libphp5.so: undefined symbol: zend_parse_parameters

Any ideas what I have done now?
 
Back
Top Bottom