Re: Unable To Rendor PHP Pages in Apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 03/23/2010 11:12 PM, Carlos Mennens wrote:
I today installed Apache on my Arch Linux server. I did the following:

# pacman -S php apache php-apache mcrypt pcre

Then I edited the /etc/php/php.ini file&  un-commented the following:

[...]
extension=mcrypt.so
extension=mysql.so
extension=mysqli.so
;extension=odbc.so
;extension=openssl.so
;extension=pdo.so
;extension=pdo_mysql.so
[...]

I then restarted the 'httpd' service and when I try to render a HTML
page with PHP code, it wont rendor the code properly and just looks
like a script / code. I don't understand why I can't get Apache to
render PHP pages. Does anyone know what I am missing? This is only a
problem for me on Arch. RHEL, Debian, Ubuntu. and Slackware all work
out of the box.

Any suggestions?

yes. read the wiki about LAMP. installing packages is not enough. you have to tell apache to use php and is described on the wiki.

--
Ionut


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux