Re: [SLE] how to test php script in 7.3
On Tuesday 26 March 2002 17:42, you wrote:
On Tuesday 26 March 2002 09:34 am, you wrote:
When I check a php script all I get is a listing of the script. I have the php stuff installed from 7.3 and tried it in the /usr/local/httpd/htdocs as localhost but still only text.
Exactly how are you running it. Are you running it thru your webserver? EG: http://locaclhost/path.to.phpfile?
Yes, exactly like that.
On Tue, 26 Mar 2002, steve wrote:
On Tuesday 26 March 2002 17:42, you wrote:
On Tuesday 26 March 2002 09:34 am, you wrote:
When I check a php script all I get is a listing of the script. I have the php stuff installed from 7.3 and tried it in the /usr/local/httpd/htdocs as localhost but still only text.
Exactly how are you running it. Are you running it thru your webserver? EG: http://locaclhost/path.to.phpfile?
Yes, exactly like that.
Hello Steve You Apache configuration file needs some tuning to process php scripts correctly. The file in question if /etc/httpd/httpd.conf and the you should look for row #AddType application/x-httpd-php .php Uncomment it by removing the # and then restart Apache. --Jyry C:-( C:-/ C========8-O C8-/ C:-( Kansainvälisten kisojen tulosteksteissä käytetään kilpailijoiden nimiin äänestoainetta.
participants (2)
-
Jyry Kuukkanen
-
steve