PDA

View Full Version : Issues with configurations of php and mysql



harish
06-20-2007, 01:37 PM
Hi everyone,
I actually have two issues
1) I have a custom php extension installed. So to load it dynamically i have modified my php.ini file. Now for that to take into effect I need to restart my httpd. Is there a way I can restart my Apache? or Am i supposed to ask the admin guys of hostmonster to restart it?

The thing is the extension is not guaranteed to work in the first time. I may have to change the version and again restart it...so is it like everytime i change i have to ask the admin guys to restart apache?

2) Now this is a mysql problem.
I have to change a particular variable(ft_min_word_len) in my mysql confguration file.
I happen to see that i have not been given any my.cnf file . So is it possible to change this variable and restart mysql?

Rgds
Harish

sjlplat
06-20-2007, 02:01 PM
I don't think this is possible in a shared environment, but I may be wrong. One installation of Apache serves hundreds of customers. I doubt they're going to bring down hundreds of other accounts to restart Apache for one account.

charlesgan
06-20-2007, 02:05 PM
as i understand the apache will restart daily.
so have to wait for it.

hope someone can confirm on the restart time. :)

digiblur
06-20-2007, 04:50 PM
Hi everyone,
I actually have two issues
1) I have a custom php extension installed. So to load it dynamically i have modified my php.ini file. Now for that to take into effect I need to restart my httpd. Is there a way I can restart my Apache? or Am i supposed to ask the admin guys of hostmonster to restart it?

The thing is the extension is not guaranteed to work in the first time. I may have to change the version and again restart it...so is it like everytime i change i have to ask the admin guys to restart apache?

2) Now this is a mysql problem.
I have to change a particular variable(ft_min_word_len) in my mysql confguration file.
I happen to see that i have not been given any my.cnf file . So is it possible to change this variable and restart mysql?

Rgds
Harish

I installed ioncube php extension the other day and it worked instantly once I configured and set it up on my account.

sjlplat
06-21-2007, 08:51 AM
I installed ioncube php extension the other day and it worked instantly once I configured and set it up on my account.

X2 - ioncube works fine for me.