How to configure windows hosting manually for PHP, MySQL developer?
Apache
Step 1 Go to apache>conf>extra
Create a file there named httpd-vhosts-round62.conf and write on it as follows:
httpd-vhosts-round62.conf
<VirtualHost *:80>
ServerAdmin intels.co@gmail.com
DocumentRoot "${WWWROOT}/student/round62/masum"
ServerName masum.intels.co
php_admin_value open_basedir "${WWWROOT}/student/round62/masum;${TMP_PATH}"
php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec"
<Directory "${WWWROOT}/student/round62/masum">
Options FollowSymLinks Indexes
AllowOverride All
Require all granted
</Directory>
AddType application/x-httpd-php .php3 .php
ScriptAlias /cgi-bin/ "/_cgi-bin/"
<location /cgi-bin>
AddHandler cgi-script .cgi .pl
Options +ExecCGI -Indexes
</location>
</VirtualHost>
Step 2 Include this above file to httpd.conf located at apache>conf as follows:
httpd.conf
# IsDB-BISEW
Include conf/extra/httpd-vhosts-round36.conf
Include conf/extra/httpd-vhosts-round40.conf
Include conf/extra/httpd-vhosts-round45.conf
Include conf/extra/httpd-vhosts-round46.conf
Include conf/extra/httpd-vhosts-round48.conf
Include conf/extra/httpd-vhosts-round52.conf
Include conf/extra/httpd-vhosts-round56.conf
Include conf/extra/httpd-vhosts-pwad2024.conf
Include conf/extra/httpd-vhosts-round62.conf
Step 3 Start ApacheMonitor.exe program at apache/bin
then it will be showed at system tray in the windows
then click on green arrow icon and restart.
FTP
Step 1 : Create FTP account at www/student using FileZilla server as follows
MySQL
Execute the following script to mysql server.
create database if not exists wdpf62_masum;
drop user if exists masum@localhost;
flush privileges;
create user masum@localhost identified with mysql_native_password by 'masum123;';
GRANT ALL ON wdpf62_akram.* TO masum@localhost;
flush privileges;
Comments 0