Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > MySQL
|
MySQL General discussion about the MySQL database.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the MySQL section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 7th, 2004, 02:17 AM
tys tys is offline
Registered User
 
Join Date: Aug 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Php problem(Server does not transilate)

I wrote this program and it gives me as it is

<?php
phpinfo();
?>

the out come is still the same as

<?php
phpinfo();
?>

 
Old April 7th, 2004, 04:08 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts
Default

As you mentioned, this is a PHP problem, and doesn't belong in the MySQL forum.

The problem is that you haven't configured your web server to recognize your file as a PHP script. Your webserver needs to know what files should be sent through the PHP interpreter instead of being sent as plain text output.

Installation instructions for most servers are available at the language homepage:
  http://www.php.net/install


Take care,

Nik
http://www.bigaction.org/





Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with getting Tomcat to server php sazzie BOOK: Professional Apache Tomcat 0 March 16th, 2007 07:23 AM
MySQL Server 5.0 and PHP 5.1.4.4 surendran MySQL 1 May 26th, 2006 08:57 AM
PHP in one server, Database in another... Sho PHP Databases 1 August 14th, 2005 07:33 AM
PHP Error on Server snappy316 BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 0 August 22nd, 2004 07:36 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.