Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
I tested the apache with http:/localhost and it works fine but I also created a document called test.php in /var/www/html with this code
Code:
<?php
phpinfo();
?>
just in case i know it is http:/ / but i can't post urls here, but i actually write it right in my browser
and when i go to the browser and write http:/localhost/test.php or http:/ip of the centos pc/test.php it just shows a blank page with no info of php.
to create the test.php file I made right click on html folder and selected Create Document and selected Empty File and then I changed the new file to test.php and the icon changed with an icon of a screwdriver and a .php little box, I donīt know if maybe that was wrong, but i want to make a web server but canīt make php to work right
Open Source Security Myths Dispelled Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization subscribe
InformationWeek InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology. subscribe