![]() |
apache not working
I posted this someware else and I do not know if it was suppose to post it in this area. Anyhow. I changed the file /home/admispconfig/ispconfig/lib/config.inc.php. because I was getting errors on the php log
HTML Code:
an unknown filter was not added: PHPHTML Code:
This has already been fixed many releases ago. You will just have to change the line from:HTML Code:
syntac error on line 185 of/etc/apache2/apache2.config could not open configuration file /etc/apache2/mods-enable/php4.load no such file or directoryP.S. new info. I went to the files that had the red marks and tried to open them with winSCP and it is telling me. can't open remote file.then it has the path to the files (php4.config php4.load) I hope this helps. thanks |
Have you tried powering down the server after first re-storing original files, then re-powering it?
|
yes I tried that 4 times. I found this when I tried to open the files I mentioned.
Cannot open remote file '/etc/apache2/mods-enabled/php4.conf'. No such file or directory. Error code: 2 Error message from server: No such file Request code: 3 It seems the files are gone. |
How can I reload these directory's? They are gone. or can I? Thanks for the help
|
Hmm, have you tried to re-install PHP5?
When you say you are able to get to ISPConfig- are you accessing it VIA IP or domain? When you are logged into ISPConfig and select the Services tab what does ISPConfig report there? |
I can login to ispconfig, but the when I click on servic, the web-sever is offline. I can see php5.config and php5.load. I open them up and they are small text code. I am getting the error from the php4, not 5. I don;t understand half this stuff. If I can replace the two files, I think it will work, but I do not know what code to put in them.
|
what does the server return when you run 'php -v' ?
Try to restart ISPConfig '/etc/init.d/ispconfig_server restart' |
php -v command
take a look at this.
HTML Code:
server1:~# php -vHTML Code:
server1:~# /etc/init.d/ispconfig_server restart |
I have been Googling the PHP module 'json', this module is used by a variety of differing applications.
Here's what I Googled for you: Quote:
'/etc/init.d/apache2 restart' Please view the source of the above: http://agaricdesign.com/projects/sites/wsf2008 Google Search Term: php -v command shows module json loaded |
this is what i get
I folowed everything and when I restarted apache, this is the error message I got.
HTML Code:
server1:~# /etc/init.d/apache2 restart |
| All times are GMT +2. The time now is 21:28. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.