What is phpIPAM?
phpIPAM is an open-source web IP address management application (IPAM). It's goal is to provide light, modern and useful IP address management. It is a php-based application with a MySQL database backend, using jQuery libraries, ajax and HTML5/CSS3 features. -https://phpipam.net/
Disclaimer
phpIPAM is not officially supported on Windows. Some features and functionality will not work, to include network scans. However, the tool can still be used to manually input and visualize network IP address layouts.
Installation
Download Install Microsoft Visual C++ Right click the downloaded XAMPP .zip file > Extract All... Right click the downloaded phpIPAM .zip file > Extract All... Cut the phpipam folder inside the XAMPP /htdocs directory Copy the extracted XAMPP directory to a safe location to run from, C:\Program Files for example Run XAMPP/setup_xampp.bat to update the configuration files with the new server location Navigate to the XAMPP/phpipam folder Create a copy of the config.dist.php file > Rename the copy config.php Edit config.php in a text editor Update the database connection details $db['host'] = '127.0.0.1';
$db['user'] = 'php_ipam_rw';
$db['pass'] = 'P4P1p@m!!';
$db['name'] = 'php_ipam';
$db['port'] = 3306;Below the database connection, add the following line to define the BASE variable define('BASE', "/phpipam/");
Save the changes to config.php Navigate to XAMPP/php and edit php.ini Find the following line and remove the ; to uncomment them extension=gmp
extension=ldap
extension=sockets
extension=xmlrpcSave the changes to php.ini Run XAMPP/xampp-control.exe Click the Start buttons next to Apache and MySQL Navigate to XAMPP/mysql/bin Hold the SHIFT key and right click in the white space > Open PowerShell window here... Run the following commands in the PowerShell window to setup the phpIPAM database .\mysql -u root
CREATE DATABASE php_ipam;
GRANT ALL ON php_ipam.* to 'php_ipam_rw'@'localhost' IDENTIFIED BY 'P4P1p@m!!';
FLUSH PRIVILEGES;
EXIT;
exit
phpIPAM Web Installer
Open a web browser and navigate to http://DNSorIP/phpipam The phpipam Installation web installer should be load Click the New phpipam installation button Click the Automatic database installation button Complete the database form as follows MySQL/MariaDB username: php_ipam_rw
MySQL/MariaDB password: P4P1p@m!!
MySQL/MariaDB database location: 127.0.0.1
MySQL/MariaDB database name: php_ipamClick the Show advanced options button Uncheck Create new database and Set permissions to tables > Click the Install phpipam database button Once the database is initialized, click the Continue button Enter and confirm an admin user password > Click Save settings Click the Proceed to login button Login with the username admin and the admin password set earlier Welcome to phpIPAM