{"id":626,"date":"2006-07-31T00:03:40","date_gmt":"2006-07-30T22:03:40","guid":{"rendered":"http:\/\/www.rare-it.com\/blog\/index.php\/2006\/07\/31\/windows-path\/"},"modified":"2006-07-31T00:03:40","modified_gmt":"2006-07-30T22:03:40","slug":"windows-path","status":"publish","type":"post","link":"https:\/\/www.switchbl8.nl\/blog\/2006\/07\/windows-path\/","title":{"rendered":"Windows PATH"},"content":{"rendered":"<p>Since I hate it when I can&#8217;t get things done when everybody else seems to get it done, I&#8217;m still fiddling with the new versions of Apache, PHP and MySQL. On my laptop I decided to give Apache 2.0.59 (the latest 2.0.x) a try, to see if I could make the PHP-module work on that version. To my surpise, this version also gave me the error &#8220;No MySQL support&#8221;. Starting PHP from the commandline (PHP.EXE or PHP-CGI.EXE) with the -m option still revealed that the MySQL (or MySQLi) extension was loaded properly.<\/p>\n<p>When running PHPINFO.PHP from the newly installed server I noticed one small thing. The PHP directory was not included in the path. Did I in all horror remove it again from the PATH? A quickly opened command-prompt learned I did not: it was still on the path. So&#8230;.how come the stupid webserver can&#8217;t find it. Should it be that I need to restart Windows. Noooooo. Of course not. But since it&#8217;s only my laptop, why not give it a try.<\/p>\n<p>I guess you can see where this story is heading. After a restart, PHPINFO.PHP showed the correct PATH and magically also MySQL information. And yes, PHP works as a module.<\/p>\n<p>Geez&#8230;.how stupid is that? Restart Windows because some process that starts services does not recognize the new path yet. Even more stupid: Windows does not warn you about that. There are a lot of warnings in Windows to which I say: get lost and never come back. But here one would be in place.<\/p>\n<p>Back to the original testbed. I&#8217;ll let you know.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since I hate it when I can&#8217;t get things done when everybody else seems to get it done, I&#8217;m still fiddling with the new versions of Apache, PHP and MySQL. On my laptop I decided to give Apache 2.0.59 (the latest 2.0.x) a try, to see if I could make the PHP-module work on that <a href='https:\/\/www.switchbl8.nl\/blog\/2006\/07\/windows-path\/' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36,8,14,27,30,31,32],"tags":[],"class_list":["post-626","post","type-post","status-publish","format-standard","hentry","category-apache","category-development","category-internet","category-software","category-tips-tricks","category-websites","category-windows-xp","category-36-id","category-8-id","category-14-id","category-27-id","category-30-id","category-31-id","category-32-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts\/626","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/comments?post=626"}],"version-history":[{"count":0,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts\/626\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/media?parent=626"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/categories?post=626"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/tags?post=626"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}