[Solved]: Importing huge DB

When importing a file using bigdump.php on my Ubuntu, I got this error : Can’t open table.sql for import Please, check that your dump file name contains only alphanumerical characters, and rename it accordingly, for example: table.sql. Or, specify $filename in bigdump.php with the full filename. Or, you have to upload the table.sql to the […]

PHP on Linux (Ubuntu 11.04 – Natty Narwhal)

These are some of the codes that helped me getting started in using Apache server on Ubuntu 11.04 (Natty Narwhal) Finding out the user group <?php // outputs the username that owns the running php/httpd process // (on a system with the “whoami” executable in the path) echo exec(‘whoami’); ?> (often it is www-data ) source : http://php.net/manual/en/function.exec.php Check you have the permission. If not change the pormissions for the var/www folder on Linux (in […]