phpAdsNew | ![]() |
2.1 | Installation | |
You have downloaded phpAdsNew and want to give it a try. This chapter will tell you how to install phpAdsNew correctly and will help with the configuration of PHP and MySQL. | ||
2.1.2 | PHP configuration | |||||||
PHP needs to be configured in a certain way to get phpAdsNew working correctly. You can change the configuration of PHP by editing the php.ini/php3.ini file. If you are using PHP as an Apache module you need to restart the web server before the changes are in effect. PHP must be configured to have magic_quote_gpc=on and magic_quotes_runtime=off. If you need more information about the configuration of PHP, please read the PHP documentation.
| ||||||||
2.1.3 | Preparing the database | |||
The next step is to create all the tables. The table descriptions are location in the all.sql file. The easiest way to automatically create the tables is to use a tool like phpMyAdmin to upload the all.sql file to the database server. phpMyAdmin can be downloaded from www.phpwizard.net. If you want to manually upload the all.sql file to the database server you can use the command line MySQL client.
More information about MySQL privileges can be found in the MySQL manual. | ||||
2.1.4 | Automatic maintenance | |||
You can add the following line to your crontab. The example below is displayed as two lines, but must be added as one line! Instead of fetch, you can also use wget or lynx -dump to call the maintenance file.
For more information about scheduled task on Windows based servers, please read the documentation provided by Microsoft.
| ||||