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
https://forums.phpfreaks.com/topic/50747-php4-and-php5-on-the-same-server-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.