Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 Start PHP for the first time
Google
Post new topic Reply to topic
Author Message
bengki
 
 


Joined: 12 Jan 2007
Posts: 4

PostPosted: Mon Jan 15, 2007 11:22 am Reply with quoteBack to top

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.
View user's profileSend private messageYahoo MessengerMSN Messenger
lku homer
 
 


Joined: 29 May 2006
Posts: 104

PostPosted: Mon Jan 15, 2007 2:34 pm Reply with quoteBack to top

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";
?>
View user's profileSend private messageAIM AddressYahoo MessengerMSN MessengerICQ Number
bengki
 
 


Joined: 12 Jan 2007
Posts: 4

PostPosted: Tue Jan 16, 2007 4:03 am Reply with quoteBack to top

Ok i see it now...your code worked thanks
View user's profileSend private messageYahoo MessengerMSN Messenger
invisible-root
 
 


Joined: 01 Jun 2007
Posts: 7

PostPosted: Fri Jun 01, 2007 8:33 am Reply with quoteBack to top

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!
View user's profileSend private message
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT