Now with PHP 7.x on the cli, set max php version to composer file in project to not accidentally update libraries that need to run on PHP 5, to PHP 7.Ĭheck with composer outdated what needs to be updated. Set PATH to PHP 7.x to use latest PHP version on command line. Certificate information curl.cainfo="E:\xampp\cacert.pem".Enable dynamic extensions (sqlite, curl etc). HTTP_AUTHORIZATION=$0Īction application/x-httpd-php74-cgi "/php74/php-cgi.exe"Īction application/x-httpd-php73-cgi "/php73/php-cgi.exe" This is because Apache does not, by default, pass authorization headers to PHP. # If you are using Apache with CGI/FastCGI, then you might get an error message about missing authorization headers. # Put Authorization Header back to HTTP Headers Run PHP 5.6 as Apache Module and PHP 7.4 as CGI This is done by run PHP 5.6 as Apache module as indented and run all other versions in cgi mode. XAMPP is my choice for local development right now, because it runs flawless so far and just needed the option to run PHP 5.6 and any version of PHP 7 in parallel. WAMP Server is similar to XAMPP and comes with several PHP versions, but those cannot be run in parallel. I think this could be ok to start with a vanilla webproject, dev machine. Neard seems to be an all in one portable dev package with Apache, Node.js, versions of php and even browsers to test. Right now I don't have the mental capacity to mess with it, but if, then Devilbox would be the way to go. Certificates for localhost with mkcertĬreate certificates for local development domains with mkcert.exe This makes more clear what domain I'm developing for and it's easier to develop domain specific features like a redirect for or domains. Instead of using v or my-project.local to differentiate domain names, I prefer to use subdomains like.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |