akiratoya13 Posted October 20, 2007 Share Posted October 20, 2007 Hi all.. I'm learning php just a day, and when I'm going to run the file that I made with extension *.php it wouldn't show up anything that I wrote.. <?php echo "hello" ?> just only that code and it's can't be show in browser.. why? Quote Link to comment https://forums.phpfreaks.com/topic/74105-solved-have-problem-at-start-to-study-please-help-me/ Share on other sites More sharing options...
mattal999 Posted October 20, 2007 Share Posted October 20, 2007 well, it is a server-side code, which means it can only be run in a server-side enviroment. what i do is upload it to my domain and test it online... or you can download 2 programs and run it on http://localhost/ but i dont bother. search the forums for apache server Quote Link to comment https://forums.phpfreaks.com/topic/74105-solved-have-problem-at-start-to-study-please-help-me/#findComment-374151 Share on other sites More sharing options...
pocobueno1388 Posted October 20, 2007 Share Posted October 20, 2007 Are you sure your host supports PHP (if your using a host)? If you want to do it from your computer, you can download a package such as XAMPP or WAMP. Quote Link to comment https://forums.phpfreaks.com/topic/74105-solved-have-problem-at-start-to-study-please-help-me/#findComment-374152 Share on other sites More sharing options...
darkfreaks Posted October 20, 2007 Share Posted October 20, 2007 <?php echo "hello"; ?> first off your missing the terminating semicolon Quote Link to comment https://forums.phpfreaks.com/topic/74105-solved-have-problem-at-start-to-study-please-help-me/#findComment-374153 Share on other sites More sharing options...
akiratoya13 Posted October 20, 2007 Author Share Posted October 20, 2007 <?php echo "hello"; ?> first off your missing the terminating semicolon It's get me same problem.. but thanks, I forget that must use semicolon.. Are you sure your host supports PHP (if your using a host)? If you want to do it from your computer, you can download a package such as XAMPP or WAMP. yeah, I think I'm the host because I create it.. But I don't understand the package.. What's function of package? well, it is a server-side code, which means it can only be run in a server-side enviroment. what i do is upload it to my domain and test it online... or you can download 2 programs and run it on http://localhost/ but i dont bother. search the forums for apache server I already have apache server on my computer, but I don't understand how to make it server and how to upload my php files to that apache server.. I see my apache server just monitoring, but no option to upload my files.. please help about this, maybe this is the way.. Quote Link to comment https://forums.phpfreaks.com/topic/74105-solved-have-problem-at-start-to-study-please-help-me/#findComment-374155 Share on other sites More sharing options...
darkfreaks Posted October 20, 2007 Share Posted October 20, 2007 you wont be able to do anything if your apache server does not have PHP and MYSQL installed http://www.php-mysql-tutorial.com/install-apache-php-mysql.php Quote Link to comment https://forums.phpfreaks.com/topic/74105-solved-have-problem-at-start-to-study-please-help-me/#findComment-374159 Share on other sites More sharing options...
akiratoya13 Posted October 20, 2007 Author Share Posted October 20, 2007 you wont be able to do anything if your apache server does not have PHP and MYSQL installed http://www.php-mysql-tutorial.com/install-apache-php-mysql.php Yeah it works!! Thank you darkfreaks! Thank you very much! Quote Link to comment https://forums.phpfreaks.com/topic/74105-solved-have-problem-at-start-to-study-please-help-me/#findComment-374172 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.