Forum OpenACS Development: Re: How to use PHP(libphp4.so)

Collapse
Posted by Nima Mazloumi on
Sorry! There must be a misunderstanding.

I wrote a simple php document:

<html>
<head>
  <title>PHP-Test</title>
</head>
<body>
Test:<?php echo "<p>Hallo Welt</p>"; ?>
</body>
</html>

Calling this page w/o .php returns:

Test:

Calling this page with .php returns:

Warning: Unknown(/www/unima0/www/servicecontractor/helloworld.php): failed to create stream: No such file or directory in Unknown on line 0

Warning: Unknown(): Failed opening '/www/unima0/www/servicecontractor/helloworld.php' for inclusion (include_path='.:/usr/share/php') in Unknown on line 0

I will check /usr/share/php