Hey everybody I got a VPS and I'm a newbie in server management stuff I was compiling apache well when using version 1.3 but after deciding to change the apache to version 2.2 with cgi mode and php5 on cPanel I got a problem in some of my sites when I try to enable a function in some directory and put on the safe mode off in some directories as the master value for the safe mode on the server is on and some scripts have to work under safe mode off environment in the old apache version I use htaccess file while place the code in it but when I do this on apache 2.2 it give me internal server error page some friends suggest that I use php.ini in place of htaccess file and when I do it nothing changed so is there a way to change the value from the httpd.conf to an exact folders or do it by any other way? Thanks
Hello. You have cPanel make sure you are looking in the correct folder. It happened to me before. Also make sure you restart apache. Commands: Or you may use: But I don't prefer that method as it doesn't always work correctly.
you don't understand me well my server is work gr8 and my php script also but some of them are required to have special functions to be enabled or safe mode to be off while I disable some function that is required to scripts in the server and I have put safe mode on so I need to just enable it to some folders or to enable some functions that is already disabled by the server configuration it was okay to do this in apache 1.3 with php4 but in apache 2.2 in cgi mode with php5 it cannot be by .htaccess or php.ini files so is there a way to do so?
it doesn't work with my configuration I don't know why I put it in htaccess and it gave me Internal Server Error and when I place it in a custom php.ini it doesn't change the local value