I use the advx server with Mandrake Linux 10.1 [it's apache]. I'm having problems with it recently:
1. The files i need to edit are located in /var/www/html, but i don't have the 'owner' permissions. I have to go to the control panel everytime for each and every folder within /var and so on... I know the 'root' password and am a member of the 'root' group. How do i gain permissions on ALL the folders/files within '/'. I don't care for security. My comp ain't on a network and i am the only user of it.
2. I use mysql_connect() function to connect to the MySQL server. Whenver i do so, the following error is returned:
Fatal error: Call to undefined function mysql_connect() at line#3
whereas, phpMyAdmin works just fine. Please help.
1. The files i need to edit are located in /var/www/html, but i don't have the 'owner' permissions. I have to go to the control panel everytime for each and every folder within /var and so on... I know the 'root' password and am a member of the 'root' group. How do i gain permissions on ALL the folders/files within '/'. I don't care for security. My comp ain't on a network and i am the only user of it.
2. I use mysql_connect() function to connect to the MySQL server. Whenver i do so, the following error is returned:
Fatal error: Call to undefined function mysql_connect() at line#3
whereas, phpMyAdmin works just fine. Please help.
