ok i logged into whm for my server and it said You are running an insecure apache setup. You should run /scripts/easyapache and upgrade to a newer version as soon as possible to avoid your system being compromised. i upgraded it in putty, and now it says that i have php-cgi installed. and it says i dont have php 4.3.1 in whm. is this normal? and how can i change the 30-sec execution limit for uploading a mysql database? i know i have to do it in php.ini but what do i do? thanks for your help :):D
can somebody please tell me how to lift the mysql limit please :(
VNPIXEL
06-08-2003, 05:12 AM
what option did you pick when you run /scripts/easyapache?
sprintserve
06-08-2003, 08:14 AM
You have compiled phpsuexec when you run /scripts/easyapache. If you don't want that, do it again and pick an option without it or option 6 and manually enable/disable modules.
The 30 second is your script execution limit. It's really not a very good idea to try and increase it too much. You can have a spiralling script that takes down your server.
ok but how do i change the limit?
sprintserve
06-08-2003, 11:37 AM
edit your php.ini
change max_execution_time to whatever seconds you want.
i tried but i cant yank it with ftp and i am not sure how to do it without :(
sprintserve
06-08-2003, 11:49 AM
You have to do it in shell
and make sure you restart your Apache after
ok so in shell do i do edit php.ini or something?
in shell do:
locate php.ini
vi /[path to php.ini]/php.ini (or pico /[path to php.ini/php.ini )
change max_execution_time to whatever you wish, save and restart apache like sprintserve said and you should be golden :)
IGobyTerry
06-08-2003, 11:02 PM
I hate to throw this off-topic....
But does anyone know when cPanel plans on bring out an update for php 4.3.2?
Also, I'll warn you. If you're un-experienced doing editing the php.ini, especially in vi, the results may be drastic. So, only do if you're ready to take the risk, and face the consequences if you mess up.
Likewise, it's probably easier to just insert the database using SSH, instead of phpmyadmin. It takes like 5 seconds to insert a database with SSH, instead of the 5 minutes in phpmyadmin.
alapo
06-09-2003, 07:42 AM
4.3.2 is in the newest buildapache.sea.