dxer
06-11-2004, 09:43 AM
I change something in :
/usr/local/lib/php/DB.php
Is it Apache or something else?
/usr/local/lib/php/DB.php
Is it Apache or something else?
![]() | View Full Version : What service on server to restart if... dxer 06-11-2004, 09:43 AM I change something in : /usr/local/lib/php/DB.php Is it Apache or something else? w3needs 06-11-2004, 10:01 AM Did you try restarting it? IF not, then try, then post again if it did nothing. If that does not work, and you could afford to, let everyone know(if there is anyone on your server besides you), that you are scheduling a restart of the server, give 24hour notice, and then do it on non-peak time. If you restarting httpd, then restarting the whole server does not work, then I have no answer, because, from the include you mentioned, all you should have to do is restart httpd(you should even be able to just refresh your browser, depending on the implementation of your PHP.exe). Hope it helps, and post back what you did! Jim Burhan 06-12-2004, 03:05 AM Firstly -- you are changing a file that comes as part of PEAR. If you upgrade PEAR, your changes will be lost. Secondly, you do not need to restart any service for the changes to take effect. This is the same as opening any php file, making a change, saving it, and then browsing to the file's location. You don't need a server restart. dxer 06-12-2004, 03:16 AM Originally posted by fyrestrtr Firstly -- you are changing a file that comes as part of PEAR. If you upgrade PEAR, your changes will be lost. Iam aware of that but the problem is that value is default set to "1" so this is causing problems. So every time I upgrade PHP I need to change this value to "0" (in DB.php) Burhan 06-12-2004, 04:01 AM I think you need this (http://pear.php.net/manual/en/package.database.db.intro-portability.php), which is how you should be changing the value :) |