Sebagai admin yang menggunakan PHP-nuke dalam website, anda mungkin tidak dapat menggunakan fungsi penghantaran e-mel secara automatik oleh PHPnuke. Oleh dengan itu, akan ada masalah jika ada pengguna baru ingin mendaftar di website anda. Pendaftar baru tidak dapat menerima e-mel yang sepatutnya diterima mereka.
Sekiranya anda nak PHPnuke tidak mengantar e-mel pengesahan, dan nak permohonan pengguna dapat terus disahkan server, begini caranya
Wednesday, January 26, 2005
Monday, January 24, 2005
Error #2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'
I've just install Fedora Core 3, then, run http daemon (httpd) dan mysql daemon (mysqld). Walaubagaimanapun membuat fail php (seperti phpnuke atau phpmyadmin) saya dapat error ini
#2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'
---
In Fedora Core 3, SELinux is turned on by default. SELinux is the Secure Edition that has extra security features. I turned SELinux off and I stopped getting the error.
anda boleh memperbaiki keadaan ini dengan laraskan SELinux line di /etc/sysconfig/selinux kepada Disabled:
SELINUX=Disabled
Walaupun jalan di atas berguna, tapi lebih baik anda matikan sahaja perkara yang perlu. Jangan bagai marahkan nyamuk, habis kelambu dibakar.
this is the procedure I've followed to configure SELinux :
From Startmenu select
"System settings"
Then choose
"Security settings or security level"
A window appears with 2 tabs : "Firewall options" and "SELinux"
Choose SELinux.
At the bottom half of the window you have a lisbox, listing (at least on my PC)
HTTPD Service
Name Service
NIS
SELinux Service Protection
Open SELinux Service Protection
Select "Disable SELinux protection for mysqld daemon"
Click "OK"
Open HTTPD Service
Select "Disable SELinux protection for httpd daemon"
Click "OK"
you had to reboot to make it work
Bye.
Untuk pengetahuan lanjut, layari:
http://forums.devshed.com/t14130/s.html
#2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'
---
In Fedora Core 3, SELinux is turned on by default. SELinux is the Secure Edition that has extra security features. I turned SELinux off and I stopped getting the error.
anda boleh memperbaiki keadaan ini dengan laraskan SELinux line di /etc/sysconfig/selinux kepada Disabled:
SELINUX=Disabled
Walaupun jalan di atas berguna, tapi lebih baik anda matikan sahaja perkara yang perlu. Jangan bagai marahkan nyamuk, habis kelambu dibakar.
this is the procedure I've followed to configure SELinux :
From Startmenu select
"System settings"
Then choose
"Security settings or security level"
A window appears with 2 tabs : "Firewall options" and "SELinux"
Choose SELinux.
At the bottom half of the window you have a lisbox, listing (at least on my PC)
HTTPD Service
Name Service
NIS
SELinux Service Protection
Open SELinux Service Protection
Select "Disable SELinux protection for mysqld daemon"
Click "OK"
Open HTTPD Service
Select "Disable SELinux protection for httpd daemon"
Click "OK"
you had to reboot to make it work
Bye.
Untuk pengetahuan lanjut, layari:
http://forums.devshed.com/t14130/s.html
Subscribe to:
Posts (Atom)