You are not logged in.
Pages: 1
I cant get my apache working with php .. I stuck to the howto,however, without success .. Here is my apache.conf http://pastebin.com/m17ef877 I've got both php and apache installed.Any ideas ?
Offline
Do you get any errors?
What happens when you run a php page?
The one thing i did notice on my lamp server is i cant just use
<? phpinfo(); ?>
but i needed to use php in-front of the code block
<?php phpinfo(); ?>
I also noticed you didnt add the following in the <IfModule mime_module> section of the httpd.conf but i don't know if that's required or not.
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Hope this helps, even a little bit to get you into the right direction.
..~::[ boondox ]::~..
Offline
I dont get any errors .. it just shows a blank page when I open a index.php file.I tried what you told but It still isn't working.I'm not sure whether the php is compiled with apache2 support because i've this problem everytime when i tried to run LAMP and the only decision that helped was to rebuilt php on my own with apache2 support..Any other ideas?
Offline
I didn't install LAMP. I just installed Apache2, PHP5 and Postgresql and everything worked almost immediately OOB.
Zl.
Offline
I dont get any errors .. it just shows a blank page when I open a index.php file.I tried what you told but It still isn't working.I'm not sure whether the php is compiled with apache2 support because i've this problem everytime when i tried to run LAMP and the only decision that helped was to rebuilt php on my own with apache2 support..Any other ideas?
What are your error log settings in /etc/php/php.ini?
Offline
Where could a php log file be seen ?
Offline
As reported here -> http://wiki.archlinux.org/index.php/LAMP
add
LoadModule php5_module /usr/lib/httpd/modules/libphp5.so
AddHandler php5-script php
to your httpd.conf
Offline
Still doesnt work..... when i open the page it shows only a blank page, nothing more :[
Offline
It all works now.. it wasn't a php problem, it was a permission problem.Thank you, all
Offline
It all works now.. it wasn't a php problem, it was a permission problem.Thank you, all
I'm having the same problem, where was the permission error?
Last edited by synthead (2008-09-13 18:18:18)
Offline
Pages: 1