ispCP - Board - Support
regenerate_config doesn't work - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: regenerate_config doesn't work (/thread-8268.html)

Pages: 1 2


regenerate_config doesn't work - ender049 - 10-29-2009 11:52 PM

I installed the eAccelerator follow the How to

on the last step:
2.3 embedding in ispCP
I have changed the /etc/ispcp/fcgi/parts/php5/php.ini

and regenerate_config by follow this how to

BUT,the regenerate_config seems doesn't work. the /var/www/fcgid/domain.tld/php5/php.ini doesn't changed!


RE: regenerate_config doesn't work - kilburn - 10-30-2009 12:32 AM

You're right, but it's an intentional issue. As modifying the php configuration is a quite common thing, php.ini files are never overwritten by the panel. Therefore, if you want them to be regenerated, you have to first delete them all and then regenerate configurations as per the howto that you mentioned.


RE: regenerate_config doesn't work - ender049 - 10-30-2009 12:59 AM

you mean that first I delete all the php.ini in domains.then regenerate the config. then the php.ini for each domain will be created as same as the /etc/ispcp/fcgi/parts/php5/php.ini
?


RE: regenerate_config doesn't work - kilburn - 10-30-2009 01:17 AM

Precisely


RE: regenerate_config doesn't work - ender049 - 10-30-2009 01:29 AM

OK,I will try it ~~thx
BTW,how can I translate ISPCP in a easy way? I don't know anything about po file.
is there any way I can just put the translated word match the English.


RE: regenerate_config doesn't work - kilburn - 10-30-2009 01:38 AM

There are multiple "po" editors out there, some of them open source. By the way, you can also just open it with your favourite text editor: the format is quite easy to pick up. Just write your localized message under each english message Smile


RE: regenerate_config doesn't work - ender049 - 10-30-2009 01:49 AM

thx again Big Grin
may I ask anather quetion? is there a option to aotu delete the log file ?
I am worry about the log file too large


RE: regenerate_config doesn't work - gOOvER - 10-30-2009 04:14 PM

You can use poEdit for translation. Smile


RE: regenerate_config doesn't work - ender049 - 11-01-2009 05:02 AM

how to generate /var/www/fcgi/master/php5/php.ini
I think I have delete it by delete all the php.ini.
because I want to change all the domain's php.ini
more information in this thread

now I find that the /var/www/fcgi/master/php5/php.ini has not been generated.

what should I do ?

and BTW, when I login ispcp, some times the index of admin is blank. how to fix it?


RE: regenerate_config doesn't work - kilburn - 11-01-2009 11:14 AM

Quote:now I find that the /var/www/fcgi/master/php5/php.ini has not been generated.

what should I do ?

My previous answer might have been misleading for someone not familiarized with the panel. As the "master" domain is not a "normal hosted domain", it's configuration is only (re)generated upon installation/upgrading of the panel. Your best option is to just restore it from the backup ('cause you make backups before trying dramatic changes, right?). If you don't have a backup, you can try with this one.

Quote:and BTW, when I login ispcp, some times the index of admin is blank. how to fix it?
If it only happens sometimes, it's probably a fcgid/fastcgi problem. Check your apache logs (/var/log/apache2/suexec.log and /var/log/apache2/users/default-error.log) to see which warnings/errors you get when this happens.