just downloaded bitnami and executed install on my windows machine.
How do i open my php.info page? Localhost takes me to bitnami welcome page.(index.html)
Where is my Document root?
I am trying to follow along in Tuts Plus "Php Fundamentals" where Jeffrey Way is using MAMP. His htdocs file is empty after He downloaded MAMP and was setting it up. I understand Bitnami is not MAMP but they should be similar?
I love the frameworks you can Select to bitnami that come preinstalled which is why I went this route but something as simple as showing php.info should be a breeze but I need some guidance to opening php.info on my local machine in Bitnami.
thx
Bitnami developer here.
Your Document root is located at /apache2/htdocs. There you can place a simple php file called example.php with the following content
<?php phpinfo(); ?>
and then you'll find your phpinfo at http://yoursite.com/example.php
You may find this documentation page useful:
https://wiki.bitnami.com/Infrastructure_Stacks/BitNami_AMP_Stacks
Related
I installed apache2, mysql-server and also phpmyadmin in lamp on my Ubuntu OS.
I used the codebase from a project I did on windows using Xampp that has been working very well. Now, i tried to use those same codes on the lamp server. I've sent the file to my /var/www/ folders.
Initially, it was downloading the file and showing me the codes when I ran it, instead of running normally on my browser. I've tried using Google with many options but nothing seems to be working.
When the webserver send you the PHP code means that you didn't configure the apache to parse it by mod_php.
Please follows a guide to configure PHP with apache here the one from DO .
Start your reading from Step3
After studying html, css and Javascipt i have decided to study php.
But when i tried to do the first hello world example i found that its not working
<?php
echo "hello World";
?>
it shows like this:
After exploring a lot i found that i need to install php before studying it.
I explore a lot and couldn't find any sutable php for my windows 8.1 (64-bit).
I even installed xampp.
But failure
Please some one provide me link to download php for windows 8.1 (64-bit) and please guide me how can to install php and run it.
You should put your php files in c:/xampp/htdocs folder.
Then open your xampp control panel.
start apache and mysql application.
then open your browser goto http://localhost/yourphpfile.php.
Then you will get the output.
I think you should be following a good tutorial to learn php though.
Install Xampp on your windows
Open control panel of xampp
Run apache and Mysql
Inside the folder htdocs in C:\xampp create a new folder for your php work
Create Index.php file as the main file
Go to your favorite browser and search localhost/after the slash add your folders name so that you can go to that folder
HI I am trying to configure IIS7 to run PHP on a windows 2008 server machine.
I have followed this guide, php running on IIS7
Everything went well and I am sure it was working!!
However now when I try and run phpinfo.php the browser wants to download the page rather than running the script.
The handler mapper is configured the same as the the example. fastCGI/CGI is installed and enabled.
a normal index.html open no problem.
I have checked permissions, created a new empty site apart from phpinfo.php
I developed the site on my pc in a xampp environment where everything work great. First time I have tried to convert a site from xampp to IIS.
Their is no entry in the MIME Types, I am wondering if the WEB.CONFIG file is the issue but I don't know enough about what the file should/shouldn't contain.
thanks for any help
you can use http://php.iis.net/ to install php into your IIS setup. It comes with a manager to help you easily implement php in to your iis server and is way easier then trying to configure it manually. Hope this helps.
I need help with this issue. I'm trying to install php in my netbeans but i dont know exactly how to do it. The netbeans version i'v downloaded already have PHP installed (i can create a php project). But, for some reason when i run the project, nothing happens. I dont really think i have Apache Tomcat installed in my netbeans, that what i need help for. When adding the "tomcat 6.0" server, this information is needed:
server location (catalina home)
username
password
I have no idea what is that. I would apreciate help on this - How to install PHP + ApacheTomcat on neatbeans.
Apache Tomcat is for running Java apps. You'll be wanting Apache HTTP server instead.
I've always kept the installation of Apache and netbeans separate, I would:
Install Apache on your system - doesn't matter if Windows or Linux, just follow install instructions.
Find out the Apache directory that you will add your php files into. That's usually /var/www/ on Linux, don't know about Windows.
Create a new PHP project in Netbeans and configure it to use sources from the Apache directory in #2. Say for a project called teststuff I create a dir called /var/www/teststuff/ and create a Netbeans project inside there.
You should be able to browse to http://localhost to see your new server running.
I have installed PDT for Eclipse and WAMP server. I want to know how do i start writing code in PHP now? What should I do so that WAMP gets all my PHP files? Thanks!
WAMP works by reading the www directory, usually under C:\wamp\www. If you place your own index.php file there you will see it in the browser when you start WAMP and go to http://localhost
In terms of PDT for Eclipse you can simply create your project at C:\wamp\www. Now all your code will exist in the www directory thus giving WAMP access to your project code and allowing you to test your code.