Need help with my.cnf running php4/mysql4

mazoo

New member
Joined
Nov 3, 2009
Messages
1
I have a dedi box running centos and directadmin
I wanted the server setup running php4 / mysql 4 so i can run some old oscommerce sites that wont work on php5 and with the default install of the server i was having problems with users not being able to connect to the databases, too many connections, i found out that a defualt install of php4 has no my.cnf setting so i copied the ones found here

this fixed the connections problem but i am finding that the server is starting to overload and shutting down the mail sever and then stopping httpd from running resulting in me having to restart the server on a daily basis

I am getting some support from the hosting company but nothing seems to be helping at the moment

can anyone recomend what the ideal set up for the my.cnf file should be, sever spec is below, if you need any other information post or PM me I'm online all day and will respond quickly

server spec is:
Processor Name Intel(R) Xeon(TM) CPU 3.06GHz
Vendor ID GenuineIntel
Processor Speed (MHz) 3066.085
Processor Name Intel(R) Xeon(TM) CPU 3.06GHz
Vendor ID GenuineIntel
Processor Speed (MHz) 3066.085
Processor Name Intel(R) Xeon(TM) CPU 3.06GHz
Vendor ID GenuineIntel
Processor Speed (MHz) 3066.085
Processor Name Intel(R) Xeon(TM) CPU 3.06GHz
Vendor ID GenuineIntel
Processor Speed (MHz) 3066.085
Total Memory 4155120 kB
Free Memory 2039696 kB
Total Swap Memory 6062072 kB
Free Swap Memory 6062072 kB
System Uptime 0 Days, 1 Hours and 48 Minutes
Apache 2.2.14 Running
DirectAdmin 1.34.1 Running
Exim 4.67 Running
MySQL 4.1.22 Running
Named 9.3.6 Running
ProFTPd 1.3.1 Running
sshd Running
dovecot 1.2.6 Running
 
Back
Top