Jump to content

[SOLVED] Getting apache to see .php5 extension pages


Recommended Posts

Hi

 

I have a local installation of php 5.2.1 and Apache 2.2.1 running on XP Pro.  It works fine. I have developed some php pages and they work on my local server. When I try to upload it to my shared hosting package it does not work. The shared host uses php5 but they also have php4 running.

 

I was told to change the extension of my files to read .php5 instead of just .php.

 

Now the files dont run on my local server and I tried poiting the php.ini file to the folder where my dll files live. I also added the location of my php installation to my path environment variable in windows.

 

After I made these changes I restarted Apache and tried to view the .php5 files. I get no errors but only my source code shows up.

 

Can you please help me. I don't know which extensions I need to activate in order to let my local server see php and .php5 extensions.

 

Regards

Roger

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.