Enable PHP error reporting at apache in ubuntu

Change / turn on the error_reporiing setting at /etc/php5/apache2/php.ini
to check the php.ini file path, you can search by phpinfo(); at a test php file and then check the php.ini file path

 

He are new values:
error_reporting = E_ALL & ~E_NOTICE
display_errors = On

 

After changing the setting at php.ini, restart the apache2 server
sudo service apache2 restart

===================================================================

How to Setup Virtual Host with XAMPP and LARAVEL at window OS

Step 1 – Add one virtual host at “httpd-vhosts.conf” at C:/xampp/apache/conf/extra/httpd-vhosts.conf

<VirtualHost *:8085>

DocumentRoot “D:/my_work_project_path/Project_Name/public”

ServerAdmin Project_Name@localhost

ServerName Project_Name

ServerAlias Project_Name

 

<Directory ” D:/my_work_project_path/Project_Name/public “>

AllowOverride All

Order Allow,Deny

Allow from all

Require all granted

</Directory>

</VirtualHost>

 

 

 

Step 2 – Add one host to C:/Windows/System32/drivers/etc/hosts

127.0.0.1             Project_Name

Step 3 – Add one Listen Port to “httpd.conf” at C:\xampp\apache\conf\httpd.conf

Listen 8085

 

Step 4 – Restart Apache server and browse from browser with “http://localhost:8085/”