phpmyadmin - PHP not working in OS X Server -
i have server running os x 10.8.2. wanted install phpmyadmin, have installed mysql , php (through macports) too. put phpmyadmin folder in root of webserver, when surf http://serveraddress/phpmyadmin
on web browser on device source code of index.php
file instead of page loaded (see screenshot). can me please?
first, open terminal. in it, write:
sudo nano /etc/apache2/httpd.conf
find row
#loadmodule php5_module libexec/apache2/libphp5.so
and remove comment beginning of line (remove #). hit ctrl+o , control+x save , quit.
then restart apache:
sudo apachectl restart
then try , reload phpmyadmin.
Comments
Post a Comment