Jump to content

php4 and php5 on the same server help


Recommended Posts

Okay....I have a shared hosting account.

My server is linux and is running php4. I upgraded my account and it is suppose to be running php5, but apparently I have the choice between 4 and 5.

 

I asked them about it and they told me both were on the server and if I wanted a program to be parsed in php5...I would have to add that to the file extensions. Okay....I tried and made an easy php hello thing and had the extension to php5 and it ran....I attempted to change a new program I wanted to install to be in php5....but the install quits running. ( I guess it doesn't like the .php5 extensions)

 

I called my hosting company and they said I could but a file on my server to have everything parsed in php5.....I assume it must be the ini file, but I have no ideal how to write php yet. ( I am still a fledgling with html and css sheets)

 

How would I write that? My current php_ini is simple

rg_emulation=off

 

Would it be like

.php=php5

  or am I paddling up a wrong creek?

My host will not change my account to all php5.

 

My current php programs I know will have to be reinstalled, but I rather have php5 on my host server.

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.