PHP not parsing with LAMP on Debian 7 [closed] - php

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.

Related

I don't really understand PHP [closed]

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.

What is B4TM4N SH3LL PHP WEBSHELL in linux server [closed]

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!

How to instal and run Apache solr in windows10 [closed]

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.

how to install mysql/phpmyadmin into pendrive [closed]

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 have a requirement.how can i do it.i have to keep my php files in wamp server but phpMyadmin in penDrive.is is possible.if possible how can i do this.how about database configurations.
thank u.
You could try uWamp . Its a Zip archive, just unpack it and you can run the wamp server.
An alternative is XAMPP Lite.
Here is tutorial on how to use it.

Web development in LAMP VM WARE [closed]

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 9 years ago.
Improve this question
I have a LAMP configuration set up in a VM WARE. I am going to transfer files via FTP using transmit client.
Currently I have my files in the following directory
192.133.323.122/website/project/home.php
Do I create a folder in a specific directory?
Usually it'll go in your
your_user_here/var/www
but it doesn't matter really, as long as you know where it is and you know how to reach it.
I would suggest creating a folder with the name of the site, so you can find it easily, so it'll be something:
your_user_root/var/www/project_name

Categories