web stats OS X Client Server » 2007 » April



Archive for April, 2007

Enable PHP Includes on OS X

Monday, April 23rd, 2007

PHP

Im in the process of switching to a new server. Tonight I noticed in my error log:

/var/log/httpd/error_log

This error:

[Mon Apr 23 02:27:30 2007] [error] PHP Warning: include(/script.php) [function.include]: failed to open stream: no suitable wrapper could be found in /script.php on line 26

I search around a bit and found the problem. The default instalation turns Has includes set to off for sucrity reasons. If you want to enable includes open:
(more…)

Lost in transfer: Files going to wrong desktop.

Sunday, April 15th, 2007

Today I was backing up my servers mysql database remotely using:

/usr/local/mysql/bin/mysqldump -u username -ppassword –skip-lock-tables –add-drop-table –all-databases > remotebackup.sql

I was using the Command Shell in Webmin

Webmin
(more…)

Install Webmin server tools on OS X

Sunday, April 15th, 2007

Webmin is the best tool I have ever used for OS X server. Webmin allows you to configure and monitor all of your servers parameters remotely.

Webmin
Here is a list of some of Webmins features:

-Configure almost all Apache directives and features.
-Create and edit domains and DNS records.
-Perform manual or scheduled backups and restores of configuration files managed by Webmin modules.
-View reports on bandwidth usage by host, port, protocol and time on a Linux system
(more…)