473,385 Members | 1,384 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

PHP does not work after XAMPP installation

I have just installed the XAMPP package using all the defaults. After the installation I started all the services. There are two file in the htdocs directory; 1) index.html and index.php. When I run the .html file it produces "It Works!' When I run the .php file I get "Something is wrong with the XAMPP installation :-( ". I tried re-installing XAMPP with the same result.

Any suggestions?

Thanks,

Bob
Jan 11 '11 #1
2 5964
Hi Bob,

Check your ServerRoot and DocumentRoot path in apache/conf/http.conf file.
Jan 12 '11 #2
JKing
1,206 Expert 1GB
Are you using http://localhost/index.php or are you trying to run it directly from the file?
Jan 12 '11 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: cv | last post by:
Hello All, I have used MultipartRequest like the following to upload images. MultipartRequest multi = new MultipartRequest(request, "../webapps/coreprogram/dealerlogos", 1024 * 1024); It...
1
by: Agent 007 | last post by:
I tried to install Visual Basic .NET 2003 on Windows XP home edition. The Pre Requires CD works fine, and then I clicked the option 2, which is to start the installation of the software, but...
4
by: Field | last post by:
Hi, the following snippet shows once executed this output: 2 2 I'd have rather expected this output: 2 10
4
by: Das | last post by:
Hi, I have made an application in ASP.net with C#. The application works fine with localhost. I have uploaded the site. I'm using web user controls in the form. but some of the button do not work...
10
deephill
by: deephill | last post by:
hi... i have one big doubt. XAMPP installation is better or Manual install is better for PHP, MySQL & Apache??? May i know benefits and faults of both type of installation. XAMPP is secure or...
5
by: DavidNorep | last post by:
Hi, I installed basic xampp with the installer from http://www.apachefriends.org/en/xampp-windows.html#524. When I started Apache from the panel, I got a window with the error message: This...
1
by: Newbie in ChiTown | last post by:
Here's my code: I am using MS Access and I am trying to update a table (InvoiceDetails) with data input by the user on a form. However, it does not update nor does it give me an error message. ...
11
by: Jim | last post by:
Hi, I want to schedule a Python program that reads the command line for input. However, when adding an argument to the command line Python will not pick it up when using Windows scheduled...
1
by: vamsioracle | last post by:
Hi all I have Oracle 9i database. Now how to install Workflow on it. Does Workflow comes as a software or is it inbuilt with Oracle 10g. I have Oracle 9i database on my local machine running...
2
by: Tomm | last post by:
I have installed XAMPP on Windows XP SP2 and I have a lot of work done specifically for this XAMPP installation and configuration. How can I install runkit in PHP without having to reinstall Apache,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.