You are not logged in.

#1 2005-03-01 19:05:23

Blaster
Member
Registered: 2004-09-17
Posts: 49

php

I haved done
pacman -S apache
pacman -S php
pacman -S mysql
pacman -S phpmyadmin

i have also tried following wiki pages for howto setup apache i mangede
to get i up and running by copying http-std.conf to http.conf
and added line

LoadModule php5_module lib/apache/libphp5.so

i have then made a small test.php file writting out some simple html , and a simple php string
i can see the html string but not the php ,file do work on other server. so not the file.
i seems like apache is not executing the php files.
also trying to use phpmyadmin i just see the contes of folder

home/http/html/phpmyadmin

can someone plz help me solve this problem

Offline

#2 2005-03-01 19:24:46

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: php

make sure you have the following in the file as well.

<IfModule mod_php5.c>
  DirectoryIndex index.php index.html
  AddType application/x-httpd-php .php
  AddType application/x-httpd-php-source .phps
</IfModule>

also, make sure you restart apache after having installed php.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#3 2005-03-01 19:39:26

Blaster
Member
Registered: 2004-09-17
Posts: 49

Re: php

wee tnx alot working now

Offline

#4 2005-03-01 20:08:20

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: php

8)
no problem


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

Board footer

Powered by FluxBB