Already am, didn't do anything new that I noticed with the xdebug in quick actions. I can disable it with the php extension menu but that isn't what we are talking about.
Posts made by danieliser
How does the xdebug quick tool option work?
Once I enabled xdebug per the tutorial here this option appeared checked. I assumed clicking it would disable it somehow but that doesn't seem to work.
Commenting out those lines works fine for now, but is there a way to make it so we can toggle without editing the ini fies? Maybe a comment block we can add above & below that you can just comment everything in between?
RE: [Tutorial] How to auto change Apache version after changing PHP version
I don't quite understand this setup.
I get that
/usr/bin/trigger-php.batwhen run will call a new PHP process of
/usr/bin/trigger.phpand will have the current PHP & Apache versions available.
But like @pfaciana I don't see how we use this to change the active version of Apache based on the selected version of PHP.
Based on the title of this page I would have thought when I install multiple PHP versions and change from one to another that also required a change in Apache version it would auto install and tell Laragon to switch then restart Apache.
Currently, we have to stop Apache, change PHP version which gives warning, then change apache version to match, then restart apache. I thought this would have fixed that so we could just change PHP versions and Laragon would switch to the correct Apache version.
Or are we supposed to use the trigger.php file to browse up one directory and fopen frwite the laragon.ini file directly?
Could you provide us a complete sample of how you are envisioning it being used, or at least a complete conceptual map so we can write the rest ourselves?
PHP 5.2 Support
I thought It was gonna be simple, but not so easy after all.
Have the /bin/php/php-5.2.17-Win32-VC6-x86 added.
Found that there are no viable VC6 Apache builds around that I could download, but found that with the solution here it should be possible to run the VC6 version of PHP using a VC10 version of Apache with a modified php5_module.
Installed all vcdist that would be required and tried to follow the directions they gave, but it fails with httpd: Syntax errors both on my lines added to link that module and from mod_php.conf.
I feel like I'm super close, could you point me in the right direction?
PS we develop & maintain WP plugins, though we don't build for PHP 5.2, we have some users on it so we occasionally need to do testing.
RE: Integration with Windows Subsystem for Linux (WSL)
The one thing I would like here is simply passing linux commands for php/wp/mysql to the host cmd prompt with appropriate pathing.
I'm not sure if this would be as simple as exporting the path in bash .bashrc file or if you would need to do it on the windows WSL side where commands are mapped from Linux to Windows.
Currently we have to install a basic PHP stack on the WSL ubuntu as well as Laragon so that we can use wp-cli and composer inside of bash. Since we do 90% of our work in IDE and IDE is pointed to bash anyways this isn't a problem, but would be nice to eliminate that part.