View previous topic :: View next topic |
Author |
Message |
SouthOfHeaven Tux's lil' helper
Joined: 05 Apr 2003 Posts: 128
|
Posted: Wed Apr 09, 2003 9:02 am Post subject: mod_php probllem |
|
|
ive searched the forum on errors with mod_php and i did a bunch of stuff to try to get it working but nothing works.
in apache.conf i have
Code: |
LoadModule php4_module extramodules/libphp4.so
AddModule mod_php4.c
Include conf/addon-modules/mod_php.conf
|
i start apache with
then i have this little test script in one of my vhost directories the test file looks like this
test.php
Code: |
<html>
<head><title>PHP Info</title></head>
<body>
<?
php phpinfo();
echo "this is a test<p>";
?>
test
</body>
</html>
|
and well if i try to access the page nothing shows up, but the page gets the title, there is also nothing useful in my apache error_log. Id appreciiate any help please. |
|
Back to top |
|
|
Woland Apprentice
Joined: 02 Aug 2002 Posts: 248 Location: Russian Jack, Alaska
|
Posted: Wed Apr 09, 2003 9:08 am Post subject: |
|
|
Create a file called phpinfo.php where your browser can get to it. The file only needs one line:
Try opening that with your browser, and see what you get. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Thu Apr 10, 2003 3:33 pm Post subject: |
|
|
Wody's issue has been split off to apache / php and PHP4 option. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
ozt Apprentice
Joined: 13 Dec 2002 Posts: 212 Location: Stockholm
|
Posted: Thu Apr 10, 2003 7:16 pm Post subject: |
|
|
apachectl stop
/etc/init.d/apache start
..once again: IT WORKED FOR ME |
|
Back to top |
|
|
|