Im using PHP 7 for a small project, also using same configs in my local and production server. all works on my local server but on production server after doing the set up for LAMP i was unable to find the apache folder under /etc/php/7.0/apache, so what i was getting an internal server error so i added the in apache.conf
<VirtualHost 127.0.0.1:80>
PHPINIDir /path/to/new/php_ini
</VirtualHost>
Then the internal server error disappeared and now im getting this:
Warning: Unsupported declare 'strict_types' in /var/www/html/index.php on line 2
Any idea why!! Thanks in advance
in laravel 5.8 i install PHP version 7.2 and worked
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With