Trying to implement some php into my school's website assignment. unfortunately i do not know how to enable php in my vscode. i installed xampp n am running the apache module. php.exe is accessible but the setting.json is rejecting it. ive googled for some remedies but they havent worked out or my search wasn't through enough.
currently disabled my php extentions which include the intelephase, intellisense n debug as i thought they were causing some issues. but the error still persists. appreciate it.
sorry if my terminology is not accurate.
Related
I don't get anything in any log that I can find. The extension simply doesn't work on IIS 7. I setup apache2 on windows and the extension works as expected. I did get an error early on but it was related to curl not being loaded. I've tried to debug this but I just don't get any errors. If anyone can point me in the right direction I will gladly post back anything that works.
I have the same issue here, I think the main issue is the line-break style of the scripts, which is incompatible with Windows.
Maybe if you find some batch-editing script replacing it, it would be useful.
i transferred a website over to a new server. as far as i can tell, everything came with it. databases, SSL, everything. It was a cpanel package script:
/scripts/pkgacct fileserv
its Sugar CRM. it still works on the old server, but when i try to use it on the new server, it just downloads index.php
and leaves me at a blank screen. any ideas? i was thinking possibly a PHP or Apache module or something, but I've never set up sugar CRM myself, and in setup guides, i couldn't find any special modules or anything that I need.
this is a problem i've dealt with before, but all the typical fixes aren't working. there are other websites running, so PHP and apache are working just fine. I edited .htaccess and everything too. but any suggestions at all would be very helpful. assume i've done absolutely nothing so far, just in case I missed something obvious.
Yeah it's probably apache, either A) the new server does not have PHP installed and apache does not have the module installed either or B) apache does not have the module installed to execute php scripts.
I think the comment under your question is heading in the right direction:
PHP code is not being executed, instead code shows on the page
I'm having the same issue as this guy. I'm working on mac osx using netbeans 7.0. I will however add more in that when I click "run" I get a message that "copy support is still running" so I think maybe the issue is with this process. I have googled but there's nothing really concrete on the subject or issue.
I have also tried fumbling around netbeans to see if I can disable this process but found nothing so far.
I've found that restarting Net Beans will get rid of this bug.
Also if you're connecting the the same FTP server at the same time in a different program, you're gonna have a bad day.
I upgraded to 7.2 before this bug finally disappeared
so, i was building this website using cakePHP 1.2.1.8004 on my local and it was pre-developed until i got my hands on it, and yesterday i finally uploaded it so that it could go live, but apparently there's a lot of functions that were undefined and make my web goes all "white screen of death"
on my local i was using xampp 1.7.1 with php 5.2.9, and my online server is using php 5.2.17. i am thinking like the problems were coming from the php version difference, and i am trying to replicate it on my local by finding a xampp version which has the same php version, but apparently xampp doesn't have any bundle which includes php 5.2.17. now is there anyone who has had the same problem like i do, and confirm that the php version is really the source of the problem here so that i could reinstall the php on my server and downgraded it to pp 5.2.9? or should i look for another solution ?
thanks
This sounds suspiciously like a server rewrite issue. I would verify the URL rewrite is working correctly. Also, do you have debug turned on in core? It may shed some light on the issue as well.
I am running a PHP site that uses Ajax and jQuery as well. The site will run fine for quite some time, and suddently my pages (and ajax-retrieved sub-pages) comes back with the message
PHP has encountered an Access Violation at 77FCAFF8
It seems that rebooting the server corrects the issue. Running PHP Version 5.1.6 (Windows NT 5.0 build 2195). I did a some searching on here and some other sites, and there seems to be no fix..
URL REMOVED
UPDATE:
I think I'm on to something.. will get back to you.
UPDATE
After reviewing the IIS setup, i noticed there was no Handler Mapping setup for the website. This, of course begs the question - how did it ever work in the first place, when it was originally setup this way!? I added the handler mapping and it seems to be Okay so far.
UPDATE
The problem popped its heads out again this morning after 36 hours without encounering it. Back to the drawing board.
UPDATE
We ended up just moving the site to a secondary web server where we were able to upgrade PHP without an issue.
This is a PHP issue somewhere. You could spend some time narrowing down which function you're using that is causing the problem. I would instead upgrade to a newer version of PHP. If still no luck, try a slightly older version. There have been significant changes with version 5.3.2.
After some research I think this may be the solution (Taken from http://bugs.php.net/bug.php?id=28929 ):
[2010-06-11 15:12 UTC] in2ishun at yahoo dot com
***************** SOLUTION!!!!
I realize this issue is AGES old, but it still manages to be the top hit on Google searches as of now (6/2010).
I fixed my own instance of seeing this error. W2k3, IIS6, PHP 5.2.6, MySQL 5.1.
The problem is in the pathing. When I used the MSI installer for MySQL without doing an "advanced" installation (where I could manage the install details), it added a path to the system environment that contained spaces. Even after changing the path environment to use the Windows short-name location of the mysql bin directory, it still didn't work.
The solution was for me to reinstall mysql and set the default installation path to just off the root (e.g. C:\mysql). Once I did that the error went away and my app started working.
There are a number of sites with a variety of potential solutions to this issue and several of them mentioned paths and the "libmysql.dll" file (in the "bin" directory of your mysql installation).
If this helps you solve your problem, consider leaving a comment here so others can see that it works.