PHP/MySQL/Apache overwritten by ASTERISK
Hi All
I made the colossal mistake of going "install" in asterisk-0.6 source tree. Now my whole webserver is messed up and numerous of my settings have been overwritting ranging from my mailserver to my startup sequence. I have managed to sort most out - but I still can't get mysql + php working with my Suse 9.1 Apache server. Reinstalled both in Yast, and looked at every php and apache conf. No joy. phpinfo() tells me that php has been compiled --without-mysql. Could this be the problem? How on earth do I fix it?! I have downloaded source packages for mysql,apache,php and have it working in a separate directory, but this is not acceptable - I want the SuSe apache to work again. I've even traced what asterisk overwrote, took me a day, and still can't fix it. None of my PHP applications' sql functions work. PLEASE, anybody!??!? Where do I enable Mysql?! Any ideas what happened that I could miss it?! |
If you have mysql installed as a php extension then make sure you have a line in php.ini that loads mysql.so
|
There are a trillion mysql settings in php.ini.
I have added extension=mysql.so Starts up fine, but makes no difference. I am flabberghasted, baffled, annoyed,irritated. I would love to take a shotgun and blow the idiot who put together asterisk@home 0.6's idiot head off. And then his limbs. And set fire to his house. And spam his servers. |
I doubt if there are a trillion.
Did you restart apache? If you create a phpinfo() page does it show a mysql section? Are there any errors in your apache error_log file? |
You are my hero!
Thank you!!!
I just had to add the correct path to mysql.so... extension=/usr/lib/php/extensions/mysql.so Now I have other troubles, but this one is sorted. Thanks again. |
All times are GMT -5. The time now is 02:40 PM. |