Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 10 months ago.
Improve this question
I'm really new to PHP so I was searching for answers to my question, but none of the source codes worked for me, however they seem right and they are approved codes.
I finally got to the point to build my program again from the absolute basics, but instead answers I got just more questions.
My PHP code is here: <?php echo "<p>WTF</p>"; ?>
And the result: image of the page
Please someone help me, I think I'm running insane...
Open your terminal in the folder where your php file is located.
Write
php -S localhost:8000
and open http://localhost:8000 in your webbrowser.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I recently noticed that in server a files is created by name bat.php, I downloaded the file and checked in local, it has some codes which i didnt understand and wondered what is this file and how it got generated in my server.
Can anyone tell me what is this? and why it is generated?
Looks like someone has compromised your security and installed a Web Shell script on your server. Here's the actual code! https://github.com/k4mpr3t/b4tm4n
Remove it NOW! This will allow the user to run CLI commands on your system!
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I downloaded apache solr-5.2.1.zip. They said In this zip folder containing example folder in that start.jar through that we install. but in my download folder there is no such files but it have log4j file.
I want to install this solr and work with php and mysql
If anybody have this experience share with me.
start.jar is the pre-5.x way of doing things.
See Running Solr in the Solr Reference Guide.
The reference guide is a good place to start before asking very, very general questions on SO.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I bought space from dropbox for personal use, and I found out they have a public folder where I can share my files like a website. I wanted to learn PHP save saving my files into my dropbox folder, and this will not require me any FTP.
I don't know much about website programming. I have some background in technical programming for work. But that's it. I tried to follow this page, but I really don't understand them. I have also viewed this youtube page, but it's not window based, and I got stuck on using composer. I followed as best as I could, but all the samples in the SDK never shows up correctly. Anyone with any other sources to help me get started on setting up PHP through my dropbox? Thanks in advance.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Okay, I've looked around for the answer to this here, & on various forums, but my experience is a little different than what I'm seeing. My server is remote, and I have a PHPINFO file in my /var/www/ directory, however, its just showing a blank page, & the PHP code is all that shows in the page source.
<?php
echo phpinfo();
?>
I'm using PHP5 & Apache2.
I'm not sure what information to provide so if any more is needed, just let me know!
Reinstalled Apache2 then MySQL, then PHP5. This resolved the issue.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
So this is my path I have:
C:\wamp\bin\php\php5.4.3
And my php.exe file is in that folder...
I have tried to put:
C:\wamp\bin\php\php5.4.3;
C:\wamp\bin\php\php5.4.3\php.exe
C:\wamp\bin\php
C:\wamp\bin\php;
But none of is not working.
I have no idea why its not working...
Thanks
PHP is not included in your PATH.
Right click your My Computer, then Properties, Advanced System Settings, Environment Variables and then find PATH variable, add your PHP installation dir there. Close your previously launched CMDs, re-launch it, it should work now.