PHP Scripts not working after ip address change
Ok Here is my problem:
I had to move my server after loosing the internet so when i got it to its destination i had to set it up for a new ip address.
not knowing how to do so i just went throught most of the config files and changed the ip address manually for example in vhosts and so on.
Ever since the server has run fine except for PHP.
So i looked in the vhosts and changed a line that had Addtype to add Handler
And Wow the PHP would work!
But the next day It had stopped! so i checked the vhosts and my altered file and been and a new one put in its place with Addtype ?
now after changing the file daily! enough is enough so any one know what may be going on?
Please help me!
this would be due to the ISPConfig updating/rewriting those config files I think.
Have you put the new IP into the control panel Management > Server > Settings ??
What does it read there right now?
Hi as soon as the server was back online after changing the ip address in the files i went to the gui and changed the ip in all the menus and it has not changed.
and just to confirm The ip address Is correct and dose not change it self its just the vhosts file changes the AddHandler to AddType
You must modify the function make_vhost() in /root/ispconfig/scripts/lib/config.lib.php.
Hi falco thanks for your reply
Im a nooob as far as linux is concerned
so what to i need to change?
Replace the Addtype lines with your Addhandler code.
|All times are GMT +2. The time now is 14:29.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.