Apache2Triad Help, Support and Development Forum Index Apache2Triad Help, Support and Development
The apache2triad help , support and development forums
 

Start PHP for the first time
Click here to go to the original topic

 
       Apache2Triad Help, Support and Development Forum Index -> Programming
View previous topic :: View next topic  
Author Message
bengki



Joined: 12 Jan 2007
Posts: 4

Posted: Mon Jan 15, 2007 11:22 am    Post subject: Start PHP for the first time  

Hi..I a newbie and I just install apache2triad and already finishing setting the apache server.. and is there anything should I do so I can make PHP works? Because when I tried to make small code and when I tested it did't worked. It just see blank page without any error confirmation.
Back to top  
lku homer



Joined: 29 May 2006
Posts: 104

Posted: Mon Jan 15, 2007 2:34 pm    Post subject:  

There shouldn't be anything you have to worry about in PHP 'starting'. PHP is an underlaying process. The fact that you get a blank screen means that PHP is working, there just something wrong with you code.

If you want to check whether or not it is working, just make something basic:
Code:
<?php
echo "Hello World";
?>
Back to top  
bengki



Joined: 12 Jan 2007
Posts: 4

Posted: Tue Jan 16, 2007 4:03 am    Post subject:  

Ok i see it now...your code worked thanks
Back to top  
invisible-root



Joined: 01 Jun 2007
Posts: 7

Posted: Fri Jun 01, 2007 8:33 am    Post subject:  

The following code will give you information about PHP compilation options and extensions, the PHP version, server information and environment (if compiled as a module), the PHP environment, OS version information, paths, master and local values of configuration options, HTTP headers, and the PHP License.

Code:
<?php

phpinfo();

?>


Happy PHP coding!
Back to top  
 
       Apache2Triad Help, Support and Development Forum Index -> Programming
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.13 © 2001, 2002 phpBB Group