-   Linux - Server (
-   -   Apache-php deploy issus (

Dinsceg 07-02-2010 02:36 AM

Apache-php deploy issus
i installed apache 2.2.15 in my system its working properly.... but i deployed some php files in /usr/local/apache2/htdocs ... i was not able to run that php files ..... if i run that php file in browser it shows content of that file...

for an example i created one test.php file(it contains <?php echo "hello world" ?>) and put it in /usr/local/apache2/htdocs... if i run in browser using this http://localhost/test.php its shows in browse like this <?php echo "hello world" ?>......

plz solve this problem....

bathory 07-02-2010 04:00 AM


You need to install php and configure apache to use it
Since you've compiled apache from source you can do the same for php. Just add "--with-apxs2=/usr/local/apache2/bin/apxs" among the other options you want in the php ./configure script


All times are GMT -5. The time now is 07:27 PM.