•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 426,800 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,918 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 939 | Replies: 3
![]() |
•
•
Join Date: Dec 2006
Posts: 5
Reputation:
Rep Power: 0
Solved Threads: 0
Hi,
I m trying to run my php script using the xampp on Fedora linux.
I ve sucessfully started xampp.And tested using
"http://localhost/"
It works well....
But when i try to run my file (php or html)it does nt work..
I put my file exp.html [or exp.php] in the "lampp/htdocs/" directory...
And give "http://localhost/exp.html"
It shows a message:::"File not found"....
One more ridiculous thing i observed....
If i change the name of some pre existing file of xampp
eg. "/htdocs/xampp/start.php" to "/htdocs/xampp/start1.php"
now i give "http://localhost/xampp/start1.php" in the browser it again gives the error message::File not found
Thanks in advance...
Seeking for a quick reply...
I m trying to run my php script using the xampp on Fedora linux.
I ve sucessfully started xampp.And tested using
"http://localhost/"
It works well....
But when i try to run my file (php or html)it does nt work..
I put my file exp.html [or exp.php] in the "lampp/htdocs/" directory...
And give "http://localhost/exp.html"
It shows a message:::"File not found"....
One more ridiculous thing i observed....
If i change the name of some pre existing file of xampp
eg. "/htdocs/xampp/start.php" to "/htdocs/xampp/start1.php"
now i give "http://localhost/xampp/start1.php" in the browser it again gives the error message::File not found
Thanks in advance...
Seeking for a quick reply...
•
•
Join Date: Nov 2007
Location: Bangalore, India
Posts: 3,098
Reputation:
Rep Power: 8
Solved Threads: 240
Well, check DocumentRoot in httpd.conf . Also check <Directory "path/of/your/files"> in the same file. I guess they aren't properly configured.
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
*PM asking for help will be ignored*
*PM asking for help will be ignored*
•
•
Join Date: Dec 2007
Posts: 16
Reputation:
Rep Power: 1
Solved Threads: 0
Open xampp control panel app, and check that the apache service has started (click start)
•
•
Join Date: Dec 2007
Location: Grand Junction, Colorado
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
Make sure XAMPP is running AND make sure you don't have another instance of httpd running. I think on Fedora you find this info under "Services." If you can't find it there try this at the command line:
Enter your password when prompted.
Your shell will let you know if Apache is running or not.
Then try this:
Again, enter your password.
Your shell will tell you what's up.
bash Syntax (Toggle Plain Text)
> sudo apache2ctl stop
Your shell will let you know if Apache is running or not.
Then try this:
bash Syntax (Toggle Plain Text)
> sudo /opt/lampp/lampp restart
Your shell will tell you what's up.
![]() |
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Previous Thread: How to Read PDf File Using php
- Next Thread: not response from responseXML..



Linear Mode