LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 10-01-2005, 05:14 AM   #1
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Distribution: Ubuntu LTS
Posts: 425

Rep: Reputation: 34
PHP & Apache Issue? Plz help!


hey guys. something really strange is happening on my lil webserver I just set up.

I set up php, apache, mysql the way I always do. The server is just a lil p3-450 with windows xp on it. yeah i know its windows... but meh. it was already working so I used it lol.

Anyways, i've made a phpinfo.php page which I always do just to test to make sure its working and it brings me back all of the variables and everything. So assumed all was good. So I wrote a little template for a page that includes 3 other php pages and I noticed it wasn't including them.

To make a long story short, my phpinfo page works, but not really. All that is in the my phpinfo.php page is this

Code:
<?

phpinfo();

?>
And that works. And when I make it like this:

Code:
<?

phpinfo();

asdfasdfasdfasdfsadfsdf

?>
It still runs fine... So what the hell is going on? Its like its running the php, but not finding the error message. So clearly php isn't working quite as it should. Any suggestions would be great while I continue to search around to find some help. Thanks guys.
 
Old 10-01-2005, 05:17 AM   #2
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Distribution: Ubuntu LTS
Posts: 425

Original Poster
Rep: Reputation: 34
oops. I figured it out. I just had some weird network thing going on, where it was remotely viewing the file from the location instead of running the page. My bad. Any moderators feel free to delete this post.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware guide for AMP Apache MySQL & PHP xushi Slackware 35 05-11-2006 11:18 AM
ISS & ASP/.NET or Apache & PHP fuelinjection General 3 12-06-2005 07:41 AM
Odd PHP & issue. rtaft Programming 1 05-06-2005 10:24 AM
pear issue with Apache 2 and PHP Jediman Mandriva 0 04-19-2005 12:31 PM
From RedHat9 to FreeBSD (Apache 2 & Mysql & PHP 4) guardian653 *BSD 5 12-11-2003 05:31 PM


All times are GMT -5. The time now is 04:25 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration